Scripting Object - VcCustomizationSpecManager

Scripting-object corresponding to
CustomizationSpecManager
Attribute of
VcSdkConnection, VcServiceContent

Scripting Object Description

The CustomizationSpecManager managed object is used to manage customization specifications stored on the VirtualCenter server.

Attributes

Name Type Description
encryptionKeyNumber []

@since VI API 2.5
idString

@since Unknown
infoVcCustomizationSpecInfo []

@since VI API 2.5
morefVcManagedObjectReference

returns the ManagedObjectReference of this ManagedObject @since Unknown
sdkConnectionVcSdkConnection

@since Unknown
sdkIdString

@since Unknown
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, checkCustomizationResources, createCustomizationSpec, createTrigger, customizationSpecItemToXml, deleteCustomizationSpec, doesCustomizationSpecExist, duplicateCustomizationSpec, getCustomizationSpec, overwriteCustomizationSpec, renameCustomizationSpec, xmlToCustomizationSpecItem

doesCustomizationSpecExist

Whether or not a specification exists. @since VI API 2.5

Parameters

NameTypeDescription
arg0String


Return Value

Type Description
Boolean

_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

deleteCustomizationSpec

Deletes a specification. @since VI API 2.5

Parameters

NameTypeDescription
arg0String


Return Value

Type Description
None

overwriteCustomizationSpec

Overwrites an existing specification, possibly after retrieving (by using 'get') and editing it. If, based on the item's changeVersion value, the overwrite process detects that the specification has changed since its retrieval, then the API uses the SpecModified exception to warn the client that he might overwrite another client's change. @since VI API 2.5

Parameters

NameTypeDescription
arg0VcCustomizationSpecItem


Return Value

Type Description
None

renameCustomizationSpec

Renames a specification. @since VI API 2.5

Parameters

NameTypeDescription
arg0String

arg1String


Return Value

Type Description
None

duplicateCustomizationSpec

Duplicates a specification. @since VI API 2.5

Parameters

NameTypeDescription
arg0String

arg1String


Return Value

Type Description
None

xmlToCustomizationSpecItem

Converts an XML string to a specification item @since VI API 2.5

Parameters

NameTypeDescription
arg0String


Return Value

Type Description
VcCustomizationSpecItem

customizationSpecItemToXml

Converts a specification item to XML text @since VI API 2.5

Parameters

NameTypeDescription
arg0VcCustomizationSpecItem


Return Value

Type Description
String

createCustomizationSpec

Creates a new specification. @since VI API 2.5

Parameters

NameTypeDescription
arg0VcCustomizationSpecItem


Return Value

Type Description
None

checkCustomizationResources

Validate that required resources are available on the server to customize a particular guest operating system. These would include sysprep for Windows and the debugfs and changefs volume editors for Linux guests. @since VI API 2.5

Parameters

NameTypeDescription
arg0String


Return Value

Type Description
None

getCustomizationSpec

Obtains a specification for the given name. @since VI API 2.5

Parameters

NameTypeDescription
arg0String


Return Value

Type Description
VcCustomizationSpecItem