Scripting Object - VcOptionManager

Scripting-object corresponding to
OptionManager
Attribute of
VcHostConfigManager, VcSdkConnection, VcServiceContent

Scripting Object Description

This managed object type is used for managing key/value pair options.

Attributes

Name Type Description
idString

@since Unknown
morefVcManagedObjectReference

returns the ManagedObjectReference of this ManagedObject @since Unknown
sdkConnectionVcSdkConnection

@since Unknown
sdkIdString

@since Unknown
settingVcOptionValue []

@since VI API 2.5
supportedOptionVcOptionDef []

@since VI API 2.5
typeStringDeprecated.

Returns the name for the this managed object's vim type @since Unknown
vimHostVcSdkConnection

@since Unknown
vimIdString

@since Unknown
vimTypeString

@since Unknown

Methods

Methods defined in this Scripting Object
_getRef, createTrigger, queryOptions, updateOptions

_getRef

@since Unknown

Parameters

NameTypeDescription
None

Return Value

Type Description
VcManagedObjectReference

createTrigger

@since Unknown

Parameters

NameTypeDescription
timeoutNumber

filterString

conditionString

filterToSyncString


Return Value

Type Description
Trigger

queryOptions

Returns a specific node or nodes in the option hierarchy.

This method might require any of the following privileges depending on where the property fits in the inventory tree.

@since VI API 2.5

Parameters

NameTypeDescription
arg0String


Return Value

Type Description
VcOptionValue []

updateOptions

Updates one or more options. The options are changed one by one, and the operation is not atomic. This means that on failure some of the options may not be changed.

A nested option setting can be named using a dot notation; for example, system.cacheSize.

This method might require any of the following privileges depending on where the property fits in the inventory tree.

@since VI API 2.5

Parameters

NameTypeDescription
arg0VcOptionValue []


Return Value

Type Description
None