Managed Object - DrConfigConfigPropertiesManager

Property of
DrConfigServiceInstanceContent
See also
DrConfigServiceConfigProperty, DrConfigServiceConfigPropertyId, DrConfigServiceRestartSpec
Since
DrConfig API 6.0


Managed Object Description

This managed object provides operations to control configuration properties.

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
GetContent, GetProperty, SetContent, SetProperty

GetContent

Get the whole content of the configuration file.
Required Privileges
DrConfig.Admin

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the DrConfigConfigPropertiesManager used to make the method call.
service Pxsd:string

Should correspond the one of the values specified in the Service Enum in ServiceRestartSpec.java

Since DrConfig API 6.0
P Required privilege: service

Return Value

Type Description
xsd:string

Faults

Type Description
vmodl.RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
vmodl.fault.InvalidArgumentThrown if the config file is not supported.
vmodl.fault.SystemErrorGeneral read error.

Events

Type
None



GetProperty

Retrieve properties.
Required Privileges
DrConfig.Admin

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the DrConfigConfigPropertiesManager used to make the method call.
retrieveSpec* PDrConfigServiceConfigPropertyId[]

ServiceConfigPropertyId Array with the data paths for the requested properties. If empty or unset no properties will be retrieved.

Since DrConfig API 6.0
*Need not be set P Required privilege: retrieveSpec

Return Value

Type Description
DrConfigServiceConfigProperty[]ServiceConfigProperty Array with the filtered properties.

Faults

Type Description
vmodl.RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
vmodl.fault.InvalidArgumentThrown if config file is not supported.
vmodl.fault.SystemErrorGeneral read error.

Events

Type
None



SetContent

Set the whole content of the configuration file.
Required Privileges
DrConfig.Admin

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the DrConfigConfigPropertiesManager used to make the method call.
content Pxsd:string

Content of the service configuration file.

Since DrConfig API 6.0
service PDrConfigServiceRestartSpec

ServiceRestartSpec specifing which service to be modified and whether or not to be restarted

Since DrConfig API 6.0
version Pxsd:string

sha256 hash of the contents of the service config file before write.

Since DrConfig API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
vmodl.RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
vmodl.fault.InvalidArgumentThrown if the config file is not supported.
vmodl.fault.SystemErrorGeneral write error.
DrConfigFaultConcurrentWriteFaultThrown if the config file has been modified since your last read from this file.

Events

Type
None



SetProperty

Set properties.
Required Privileges
DrConfig.Admin

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the DrConfigConfigPropertiesManager used to make the method call.
updateSpec* PDrConfigServiceConfigProperty[]

ServiceConfigProperty Array with the data paths for the requested properties with the corresponding values. If empty no update will be done.

Since DrConfig API 6.0
restartSpec* PDrConfigServiceRestartSpec[]

ServiceRestartSpec Array with the data specifing which service to be restarted. If empty or unset no restarts will be done.

Since DrConfig API 6.0
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
None

Faults

Type Description
vmodl.RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
vmodl.fault.InvalidArgumentThrown if the config file is not supported.
vmodl.fault.SystemErrorGeneral read/write error.
DrConfigFaultConcurrentWriteFaultThrown if the config file is out of sync. The contents of the config file has been changed since your last read from this file.

Events

Type
None