Virtual Storage Lifecycle Management API
| Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |
Managed Object - CustomizationSpecManager(vim.CustomizationSpecManager)
- Property of
- ServiceContent
- See also
- CustomizationSpecInfo, CustomizationSpecItem
- Since
- 2.0
Managed Object Description
The CustomizationSpecManager managed object is used to manage customization specifications stored on the VirtualCenter server.Properties
Name | Type | Description |
---|---|---|
encryptionKey* P | xsd:byte[] |
Gets a binary public encryption key that can be used to encrypt
passwords in stored specifications.
|
info* P | CustomizationSpecInfo[] |
Gets a list of information on available specifications.
|
Methods
CheckCustomizationResources(checkResources)
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.- Required Privileges
- System.View
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
guestOs | xsd:string |
Short name from the guest OS descriptor list describing the OS
we intend to customize.
Since 2.0 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
CustomizationFault | |
MissingLinuxCustResources | |
MissingWindowsCustResources | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
UncustomizableGuest |
Events
Type | |
---|---|
None |
Show WSDL type definition
CreateCustomizationSpec(create)
Creates a new specification.- Required Privileges
- VirtualMachine.Provisioning.ModifyCustSpecs
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
item | CustomizationSpecItem |
Since 2.0 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
AlreadyExists | |
CannotDecryptPasswords | |
CustomizationFault | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Show WSDL type definition
CustomizationSpecItemToXml(specItemToXml)
Converts a specification item to XML text- Required Privileges
- System.View
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
item | CustomizationSpecItem |
Since 2.0 |
Return Value
Type | Description |
---|---|
xsd:string |
Faults
Type | Description |
---|---|
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Show WSDL type definition
DeleteCustomizationSpec(delete)
Deletes a specification.- Required Privileges
- VirtualMachine.Provisioning.ModifyCustSpecs
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
name | xsd:string |
Since 2.0 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
NotFound | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Show WSDL type definition
DoesCustomizationSpecExist(exists)
Whether or not a specification exists.- Required Privileges
- VirtualMachine.Provisioning.ReadCustSpecs
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
name | xsd:string |
Since 2.0 |
Return Value
Type | Description |
---|---|
xsd:boolean |
Faults
Type | Description |
---|---|
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Show WSDL type definition
DuplicateCustomizationSpec(duplicate)
Duplicates a specification.- Required Privileges
- VirtualMachine.Provisioning.ModifyCustSpecs
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
name | xsd:string |
Since 2.0 |
newName | xsd:string |
Since 2.0 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
AlreadyExists | |
NotFound | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Show WSDL type definition
GetCustomizationSpec(get)
Obtains a specification for the given name.- Required Privileges
- VirtualMachine.Provisioning.ReadCustSpecs
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
name | xsd:string |
Unique name identifying the requested customization specification.
Since 2.0 |
Return Value
Type | Description |
---|---|
CustomizationSpecItem |
Faults
Type | Description |
---|---|
NotFound | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Show WSDL type definition
OverwriteCustomizationSpec(overwrite)
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 clients that they might overwrite another client's change.- Required Privileges
- VirtualMachine.Provisioning.ModifyCustSpecs
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
item | CustomizationSpecItem |
Since 2.0 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
CannotDecryptPasswords | |
ConcurrentAccess | |
CustomizationFault | |
NotFound | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Show WSDL type definition
RenameCustomizationSpec(rename)
Renames a specification.- Required Privileges
- VirtualMachine.Provisioning.ModifyCustSpecs
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
name | xsd:string |
Since 2.0 |
newName | xsd:string |
Since 2.0 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
AlreadyExists | |
NotFound | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Show WSDL type definition
XmlToCustomizationSpecItem(xmlToSpecItem)
Converts an XML string to a specification item- Required Privileges
- System.View
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the CustomizationSpecManager used to make the method call. |
specItemXml | xsd:string |
Since 2.0 |
Return Value
Type | Description |
---|---|
CustomizationSpecItem |
Faults
Type | Description |
---|---|
CustomizationFault | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Show WSDL type definition
Top of page | Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |