The com.vmware.vcenter.hvc_client module provides classes to manage hybrid links between a local and remote Platform Service Controller. Copyright 2017 VMware, Inc. All rights reserved. – VMware Confidential
Bases: vmware.vapi.bindings.stub.VapiInterface
The Links class provides methods to create, delete, get information, and list hybrid links between the local and foreign Platform Service Controller (PSC).
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The Links.CreateSpec class is the specification used for the hybrid link creation.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The Links.Summary class contains information about the hybrid link.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Creates a new hybrid link between the local and foreign PSC.
Parameters: | spec (Links.CreateSpec) – Specification for the new link to be created. |
---|---|
Return type: | str |
Returns: | The identifier of the newly linked domain. The return value will be an identifier for the resource type: com.vmware.vcenter.hvc.Links. |
Raise: | com.vmware.vapi.std.errors_client.AlreadyExists If the link already exists. |
Raise: | com.vmware.vapi.std.errors_client.InvalidArgument If the spec is not valid. |
Raise: | com.vmware.vapi.std.errors_client.Unsupported If the PSC or the VC version is not supported. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized If the user is not authorized. |
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Deletes an existing hybrid link.
Parameters: | link (str) – Identifier of the hybrid link. The parameter must be an identifier for the resource type: com.vmware.vcenter.hvc.Links. |
---|---|
Raise: | com.vmware.vapi.std.errors_client.NotFound If the hybrid link associated with link does not exist. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized If the user is not authorized. |
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Enumerates the list of registered hybrid links.
Return type: | list of Links.Summary |
---|---|
Returns: | The list of hybrid link information. |
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
The com.vmware.vcenter.inventory_client component provides methods and classes for retrieving vCenter datastore and network information for a given list of identifiers.
Bases: vmware.vapi.bindings.stub.VapiInterface
The Datastore class provides methods to retrieve information about datastores.
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The Datastore.Info class contains information about a datastore.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: | type (str) – Type of the datastore. When clients pass a value of this class as a parameter, the attribute must be one of Datastore or StoragePod. When methods return a value of this class as a return value, the attribute will be one of Datastore or StoragePod. |
---|
Returns datastore information for the specified datastores. The key in the return value dict is the datastore identifier and the value in the dict is the datastore information.
Parameters: | datastores (list of str) – Identifiers of the datastores for which information will be returned. The parameter must contain identifiers for the resource type: Datastore. |
---|---|
Return type: | dict of str and (Datastore.Info or None) |
Returns: | Datastore information for the specified datastores. The key in the return value dict is the datastore identifier and the value in the dict is the datastore information. The key in the return value dict will be an identifier for the resource type: Datastore. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if no datastore can be found for one or more of the datastore identifiers in datastores |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if you do not have all of the privileges described as follows:
|
Bases: vmware.vapi.bindings.stub.VapiInterface
The Network class provides methods to retrieve information about vCenter Server networks.
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The Network.Info class contains information about a vCenter Server network.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: | type (str) – Type of the vCenter Server network. When clients pass a value of this class as a parameter, the attribute must be one of Network, DistributedVirtualPortgroup, or OpaqueNetwork. When methods return a value of this class as a return value, the attribute will be one of Network, DistributedVirtualPortgroup, or OpaqueNetwork. |
---|
Returns network information for the specified vCenter Server networks. The key in the return value dict is the network identifier and the value in the dict is the network information.
Parameters: | networks (list of str) – Identifiers of the vCenter Server networks for which information will be returned. The parameter must contain identifiers for the resource type: Network. |
---|---|
Return type: | dict of str and (Network.Info or None) |
Returns: | Network information for the specified vCenter Server networks. The key in the return value dict is the network identifier and the value in the dict is the network information. The key in the return value dict will be an identifier for the resource type: Network. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if no datastore can be found for one or more of the vCenter Server network identifiers in networks |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if you do not have all of the privileges described as follows:
|
The com.vmware.vcenter.iso_client module provides classes and classes that will let its client mount or unmount an ISO image on a virtual machine as a CD-ROM.
Bases: vmware.vapi.bindings.stub.VapiInterface
Provides an interface to mount and unmount an ISO image on a virtual machine.
This is an API that will let its client mount or unmount an ISO image on a virtual machine as a CD-ROM.
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Mounts an ISO image from a content library on a virtual machine.
Parameters: |
|
---|---|
Return type: | str |
Returns: | The identifier of the newly created virtual CD-ROM backed by the specified ISO image. The return value will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Cdrom. |
Raise: | com.vmware.vapi.std.errors_client.NotFound If either vm or the library_item is not found. |
Raise: | com.vmware.vapi.std.errors_client.InvalidArgument If no .iso file is present on the library item. |
Raise: | com.vmware.vapi.std.errors_client.NotAllowedInCurrentState When the operation is not allowed on the virtual machine in its current state. |
Unmounts a previously mounted CD-ROM using an ISO image as a backing.
Parameters: |
|
---|---|
Raise: | com.vmware.vapi.std.errors_client.NotFound If the virtual machine identified by vm is not found or the cdrom does not identify a virtual CD-ROM in the virtual machine. |
Raise: | com.vmware.vapi.std.errors_client.NotAllowedInCurrentState When the operation is not allowed on the virtual machine in its current state. |
The com.vmware.vcenter.ovf_client module provides services to capture and deploy Open Virtualization Format (OVF) packages to and from the content library.
It provides the ability to deploy OVF packages from the content library with support for advanced network topologies, network services, creating virtual appliances and virtual machines in hosts, resource pools or clusters. It also provides the ability to export virtual appliances and virtual machines from hosts, resource pools or clusters as OVF packages to the content library.
Bases: vmware.vapi.bindings.struct.VapiStruct
The CertificateParams class contains information about the public key certificate used to sign the OVF package. This class will only be returned if the OVF package is signed.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The DeploymentOption class contains the information about a deployment option as defined in the OVF specification.
This corresponds to the ovf:Configuration element of the ovf:DeploymentOptionSection in the specification. The ovf:DeploymentOptionSection specifies a discrete set of intended resource allocation configurations. This class represents one item from that set.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The DeploymentOptionParams class describes the possible deployment options as well as the choice provided by the user.
This information based on the ovf:DeploymentOptionSection.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
The DiskProvisioningType class defines the virtual disk provisioning types that can be set for a disk on the target platform.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the DiskProvisioningType instance. |
---|
An eager zeroed thick provisioned virtual disk has all space allocated and wiped clean of any previous contents on the physical media at creation time.
Disks specified as eager zeroed thick may take longer time to create than disks specified with the other disk provisioning types.
A thick provisioned virtual disk has all space allocated at creation time and the space is zeroed on demand as the space is used.
A thin provisioned virtual disk has space allocated and zeroed on demand as the space is used.
Bases: vmware.vapi.bindings.stub.VapiInterface
The ExportFlag class provides methods for retrieving information about the export flags supported by the server. Export flags can be specified in a LibraryItem.CreateSpec to customize an OVF export.
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The ExportFlag.Info class describes an export flag supported by the server.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Returns information about the supported export flags by the server.
The supported flags are:
Include extra configuration in OVF export.
Future server versions might support additional flags.
Return type: | |
---|---|
Returns: | A list of supported export flags. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if you do not have all of the privileges described as follows:
|
Bases: vmware.vapi.bindings.struct.VapiStruct
The ExtraConfig class contains the information about a vmw:ExtraConfig element which can be used to specify configuration settings that are transferred directly to the .vmx file. The behavior of the vmw:ExtraConfig element is similar to the extraConfig property of the VirtualMachineConfigSpec object in the VMware vSphere API. Thus, the same restrictions apply, such as you cannot set values that could otherwise be set with other properties in the VirtualMachineConfigSpec object. See the VMware vSphere API reference for details on this.
vmw:ExtraConfig elements may occur as direct child elements of a VirtualHardwareSection, or as child elements of individual virtual hardware items.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The ExtraConfigParams class contains the parameters with information about the vmw:ExtraConfig elements in an OVF package.
vmw:ExtraConfig elements can be used to specify configuration settings that are transferred directly to the .vmx file.
The behavior of the vmw:ExtraConfig element is similar to the extraConfig property of the VirtualMachineConfigSpec object in the VMware vSphere API. Thus, the same restrictions apply, such as you cannot set values that could otherwise be set with other properties in the VirtualMachineConfigSpec object. See the VMware vSphere API reference for details on this.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.stub.VapiInterface
The ImportFlag class provides methods for retrieving information about the import flags supported by the deployment platform. Import flags can be specified in a LibraryItem.ResourcePoolDeploymentSpec to customize an OVF deployment.
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The ImportFlag.Info class describes an import flag supported by the deployment platform.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Returns information about the import flags supported by the deployment platform.
The supported flags are:
Lax mode parsing of the OVF descriptor.
Future server versions might support additional flags.
Parameters: | rp (str) – The identifier of resource pool target for retrieving the import flag(s). The parameter must be an identifier for the resource type: ResourcePool. |
---|---|
Return type: | |
Returns: | A list of supported import flags. |
Raise: | com.vmware.vapi.std.errors_client.NotFound If the resource pool associated with rp does not exist. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if you do not have all of the privileges described as follows:
|
Bases: vmware.vapi.bindings.struct.VapiStruct
The IpAllocationParams class specifies how IP addresses are allocated to OVF properties. In particular, it informs the deployment platform whether the guest supports IPv4, IPv6, or both. It also specifies whether the IP addresses can be obtained through DHCP or through the properties provided in the OVF environment.
Ovf Property elements are exposed to the guest software through the OVF environment. Each Property element exposed in the OVF environment shall be constructed from the value of the ovf:key attribute. A Property element contains a key/value pair, it may optionally specify type qualifiers using the ovf:qualifiers attribute with multiple qualifiers separated by commas.
The settings in IpAllocationParams class are global to a deployment. Thus, if a virtual machine is part of a virtual appliance, then its settings are ignored and the settings for the virtual appliance is used.
This information is based on the vmw:IpAssignmentSection in OVF package.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
The IpAllocationParams.IpAllocationPolicy class defines the possible IP allocation policy for a deployment.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the IpAllocationPolicy instance. |
---|
Specifies that DHCP will be used to allocate IP addresses.
Specifies that IP addresses are allocated from the range managed by an IP pool. The IP addresses are allocated at first power-on, and remain allocated at power-off. This ensures that a virtual appliance gets a consistent IP for its life-time.
Specifies that IP addresses are configured manually upon deployment, and will be kept until reconfigured or the virtual appliance destroyed. This ensures that a property gets a consistent IP for its lifetime.
Specifies that IP addresses are allocated from an IP pool. The IP addresses are allocated when needed, typically at power-on, and deallocated during power-off. There is no guarantee that a property will receive same IP address when restarted.
Bases: vmware.vapi.bindings.enum.Enum
The IpAllocationParams.IpAllocationScheme class defines the possible IP allocation schemes that can be supported by the guest software.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the IpAllocationScheme instance. |
---|
It supports DHCP to acquire IP configuration.
It supports setting the IP configuration through the properties provided in the OVF environment.
Bases: vmware.vapi.bindings.enum.Enum
The IpAllocationParams.IpProtocol class defines the IP protocols supported by the guest software.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the IpProtocol instance. |
---|
It supports the IPv4 protocol.
It supports the IPv6 protocol.
Bases: vmware.vapi.bindings.stub.VapiInterface
The LibraryItem class provides methods to deploy virtual machines and virtual appliances from library items containing Open Virtualization Format (OVF) packages in content library, as well as methods to create library items in content library from virtual machines and virtual appliances.
To deploy a virtual machine or a virtual appliance from a library item:
To create a library item in content library from a virtual machine or virtual appliance:
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.CreateResult class defines the result of the create method. See LibraryItem.create().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.CreateSpec class defines the information used to create or update a library item containing an OVF package.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.CreateTarget class specifies the target library item when capturing a virtual machine or virtual appliance as an OVF package in a library item in a content library. The target can be an existing library item, which will be updated, creating a new version, or it can be a newly created library item in a specified library. See LibraryItem.create().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
The types of resources that can be created by deploying an OVF package and can be captured to create a library item using the LibraryItem class.
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.DeployableIdentity class describes the resource created by a deployment, or the source resource from which library item can be created, by specifying its resource type and resource identifier.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.DeploymentResult class defines the result of the deploy method. See LibraryItem.deploy().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.DeploymentTarget class describes the location (target) where a virtual machine or virtual appliance should be deployed. It is used in the deploy and filter methods. See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.OvfSummary class defines the result of the filter method. See LibraryItem.filter(). The attributes in the class describe parameterizable information in the OVF descriptor, with respect to a deployment target, for the deploy method. See LibraryItem.deploy().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.ResourcePoolDeploymentSpec class defines the deployment parameters that can be specified for the deploy method where the deployment target is a resource pool. See LibraryItem.deploy().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.ResultInfo class defines the information returned along with the result of a create or deploy method to describe errors, warnings, and informational messages produced by the server.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The LibraryItem.StorageGroupMapping class defines the storage deployment target and storage provisioning type for a section of type vmw:StorageGroupSection in the OVF descriptor.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
The LibraryItem.StorageGroupMapping.Type class defines the supported types of storage targets for sections of type vmw:StroageGroupSection in the OVF descriptor.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the Type instance. |
---|
Storage deployment target is a datastore.
Storage deployment target is a storage profile.
Creates a library item in content library from a virtual machine or virtual appliance.
This method creates a library item in content library whose content is an OVF package derived from a source virtual machine or virtual appliance, using the supplied create specification. The OVF package may be stored as in a newly created library item or in an in an existing library item. For an existing library item whose content is updated by this method, the original content is overwritten.
Parameters: |
|
---|---|
Return type: | |
Returns: | Information about the success or failure of the method, along with the details of the result or failure. |
Raise: | com.vmware.vapi.std.errors_client.InvalidArgument if create_spec contains invalid arguments. |
Raise: | com.vmware.vapi.std.errors_client.InvalidArgument if source describes an unexpected resource type. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the virtual machine or virtual appliance specified by source does not exist. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the library or library item specified by target does not exist. |
Raise: | com.vmware.vapi.std.errors_client.NotAllowedInCurrentState if the operation cannot be performed because of the specified virtual machine or virtual appliance’s current state. For example, if the virtual machine configuration information is not available, or if the virtual appliance is running. |
Raise: | com.vmware.vapi.std.errors_client.ResourceInaccessible if there was an error accessing a file from the source virtual machine or virtual appliance. |
Raise: | com.vmware.vapi.std.errors_client.ResourceBusy if the specified virtual machine or virtual appliance is busy. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if you do not have all of the privileges described as follows:
|
Deploys an OVF package stored in content library to a newly created virtual machine or virtual appliance.
This method deploys an OVF package which is stored in the library item specified by ovf_library_item_id. It uses the deployment specification in deployment_spec to deploy the OVF package to the location specified by target.
Parameters: |
|
---|---|
Return type: | |
Returns: | Information about the success or failure of the method, along with the details of the result or failure. |
Raise: | com.vmware.vapi.std.errors_client.InvalidArgument if target contains invalid arguments. |
Raise: | com.vmware.vapi.std.errors_client.InvalidArgument if deployment_spec contains invalid arguments or has attributes that are inconsistent with target. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the library item specified by ovf_library_item_id does not exist. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if any resource specified by a attribute of the LibraryItem.DeploymentTarget class, specified by target, does not exist. |
Raise: | com.vmware.vapi.std.errors_client.ResourceInaccessible if there was an error accessing the OVF package stored in the library item specified by ovf_library_item_id. |
Raise: |
|
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if you do not have all of the privileges described as follows:
|
Queries an OVF package stored in content library to retrieve information to use when deploying the package. See LibraryItem.deploy().
This method retrieves information from the descriptor of the OVF package stored in the library item specified by ovf_library_item_id. The information returned by the method can be used to populate the deployment specification (see LibraryItem.ResourcePoolDeploymentSpec when deploying the OVF package to the deployment target specified by target.
Parameters: |
|
---|---|
Return type: | |
Returns: | Information that can be used to populate the deployment specification (see LibraryItem.ResourcePoolDeploymentSpec) when deploying the OVF package to the deployment target specified by target. |
Raise: | com.vmware.vapi.std.errors_client.InvalidArgument if target contains invalid arguments. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the library item specified by ovf_library_item_id does not exist. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if any resource specified by a attribute of the LibraryItem.DeploymentTarget class, specified by target, does not exist. |
Raise: | com.vmware.vapi.std.errors_client.ResourceInaccessible if there was an error accessing the OVF package at the specified ovf_library_item_id. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if you do not have all of the privileges described as follows:
|
Bases: vmware.vapi.bindings.struct.VapiStruct
The OvfError class describes an error related to accessing, validating, deploying, or exporting an OVF package.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The OvfInfo class contains informational messages related to accessing, validating, deploying, or exporting an OVF package.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: | messages (list of com.vmware.vapi.std_client.LocalizableMessage) – A list of localizable messages (see com.vmware.vapi.std_client.LocalizableMessage). |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The OvfMessage class describes a base OVF handling error message related to accessing, validating, deploying, or exporting an OVF package.
These messages fall into different categories defined in OvfMessage.Category:
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
The OvfMessage.Category class defines the categories of messages (see OvfMessage).
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the Category instance. |
---|
The user provided input parameters are invalid.
Server error.
The OVF descriptor is invalid, for example, syntax errors or schema errors.
Bases: vmware.vapi.bindings.struct.VapiStruct
The OvfParams class defines the common attributes for all OVF deployment parameters. OVF parameters serve several purposes:
Each OVF parameters class specifies a particular configurable aspect of OVF deployment. An aspect has both a query-model and a deploy-model. The query-model is used when the OVF package is queried, and the deploy-model is used when deploying an OVF package.
Most OVF parameter classes provide both informational and deployment parameters. However, some are purely informational (for example, download size) and some are purely deployment parameters (for example, the flag to indicate whether registration as a vCenter extension is accepted).
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: | type (str) – Unique identifier describing the type of the OVF parameters. The value is the name of the OVF parameters class. This attribute must be provided in the input parameters when deploying an OVF package. This attribute will always be present in the result when retrieving information about an OVF package. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The OvfWarning class describes a warning related to accessing, validating, deploying, or exporting an OVF package.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The ParseIssue class contains the information about the issue found when parsing an OVF package during deployment or exporting an OVF package including:
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
The ParseIssue.Category class defines the categories of issues that can be found when parsing files inside an OVF package (see ParseIssue) including OVF descriptor (which is an XML document), manifest and certificate files, or exporting an OVF package.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the Category instance. |
---|
Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue.
Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor.
Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor.
Required element error. It indicates that a required element is missing from the OVF descriptor.
Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor.
Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found.
OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions.
Server encountered an unexpected error which prevented it from fulfilling the request.
OVF package parsing error, including:
Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed.
Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor.
An issue with the manifest and signing.
Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on.
Bases: vmware.vapi.bindings.struct.VapiStruct
The Property class contains the information about a property in an OVF package.
A property is uniquely identified by its [classid.]id[.instanceid] fully-qualified name (see Property.class_id, Property.id, and Property.instance_id). If multiple properties in an OVF package have the same fully-qualified name, then the property is excluded and cannot be set. We do warn about this during import.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The PropertyParams class contains a list of OVF properties that can be configured when the OVF package is deployed.
This is based on the ovf:ProductSection.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The ScaleOutGroup class contains information about a scale-out group.
It allows a virtual system collection to contain a set of children that are homogeneous with respect to a prototypical virtual system or virtual system collection. It shall cause the deployment function to replicate the prototype a number of times, thus allowing the number of instantiated virtual systems to be configured dynamically at deployment time.
This is based on the ovf2:ScaleOutSection.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The ScaleOutParams class contains information about the scale-out groups described in the OVF package.
When deploying an OVF package, a deployment specific instance count can be specified (see ScaleOutGroup.instance_count.
This is based on the ovf2:ScaleOutSection.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The SizeParams class contains estimates of the download and deployment sizes.
This information is based on the file references and the ovf:DiskSection in the OVF descriptor.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The UnknownSection class contains information about an unknown section in an OVF package.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The UnknownSectionParams class contains a list of unknown, non-required sections.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The VcenterExtensionParams class specifies that the OVF package should be registered as a vCenter extension. The virtual machine or virtual appliance will gain unrestricted access to the vCenter Server APIs. It must be connected to a network with connectivity to the vCenter server.
See LibraryItem.deploy() and LibraryItem.filter().
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
The com.vmware.vcenter.vm_client module provides classes for managing virtual machines.
Bases: vmware.vapi.bindings.enum.Enum
The GuestOS class defines the valid guest operating system types used for configuring a virtual machine.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the GuestOS instance. |
---|
Asianux Server 3
Asianux Server 3 (64 bit)
Asianux Server 4
Asianux Server 4 (64 bit)
Asianux Server 5 (64 bit)
Asianux Server 7 (64 bit)
CentOS 4/5
CentOS 6
CentOS 4/5 (64-bit)
CentOS 6 (64-bit)
CentOS 7
CentOS 7 (64-bit)
CoreOS Linux (64 bit)
Mac OS 10.5
Mac OS 10.6
Mac OS 10.6 (64 bit)
Mac OS 10.7
Mac OS 10.7 (64 bit)
Mac OS 10.8 (64 bit)
Mac OS 10.9 (64 bit)
Mac OS 10.10 (64 bit)
Mac OS 10.11 (64 bit)
Mac OS 10.12 (64 bit)
Mac OS 10.5 (64 bit)
Debian GNU/Linux 10
Debian GNU/Linux 10 (64 bit)
Debian GNU/Linux 4
Debian GNU/Linux 4 (64 bit)
Debian GNU/Linux 5
Debian GNU/Linux 5 (64 bit)
Debian GNU/Linux 6
Debian GNU/Linux 6 (64 bit)
Debian GNU/Linux 7
Debian GNU/Linux 7 (64 bit)
Debian GNU/Linux 8
Debian GNU/Linux 8 (64 bit)
Debian GNU/Linux 9
Debian GNU/Linux 9 (64 bit)
MS-DOS.
eComStation 1.x
eComStation 2.0
Fedora Linux
Fedora Linux (64 bit)
FreeBSD
FreeBSD x64
Other Linux
Mandrake Linux
Mandriva Linux
Mandriva Linux (64 bit)
Novell NetWare 4
Novell NetWare 5.1
Novell NetWare 6.x
Novell Linux Desktop 9
Open Enterprise Server
SCO OpenServer 5
SCO OpenServer 6
OpenSUSE Linux
OpenSUSE Linux (64 bit)
Oracle Linux 4/5
Oracle Linux 6
Oracle Linux 4/5 (64-bit)
Oracle Linux 6 (64-bit)
Oracle Linux 7
Oracle Linux 7 (64-bit)
OS/2
Other Operating System
Linux 2.4x Kernel
Linux 2.4x Kernel (64 bit) (experimental)
Linux 2.6x Kernel
Linux 2.6x Kernel (64 bit) (experimental)
Linux 3.x Kernel
Linux 3.x Kernel (64 bit)
Other Operating System (64 bit) (experimental)
Linux 2.2x Kernel
Linux (64 bit) (experimental)
Red Hat Linux 2.1
Red Hat Enterprise Linux 2
Red Hat Enterprise Linux 3
Red Hat Enterprise Linux 3 (64 bit)
Red Hat Enterprise Linux 4
Red Hat Enterprise Linux 4 (64 bit)
Red Hat Enterprise Linux 5
Red Hat Enterprise Linux 5 (64 bit) (experimental)
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 6 (64 bit)
Red Hat Enterprise Linux 7
Red Hat Enterprise Linux 7 (64 bit)
Sun Java Desktop System
Suse Linux Enterprise Server 9
Suse linux Enterprise Server 10
Suse Linux Enterprise Server 10 (64 bit) (experimental)
Suse linux Enterprise Server 11
Suse Linux Enterprise Server 11 (64 bit)
Suse linux Enterprise Server 12
Suse Linux Enterprise Server 12 (64 bit)
Suse Linux Enterprise Server 9 (64 bit)
Solaris 10 (32 bit) (experimental)
Solaris 10 (64 bit) (experimental)
Solaris 11 (64 bit)
Solaris 6
Solaris 7
Solaris 8
Solaris 9
Suse Linux
Suse Linux (64 bit)
Turbolinux
Turbolinux (64 bit)
Ubuntu Linux
Ubuntu Linux (64 bit)
SCO UnixWare 7
VMware ESX 4
VMware ESX 5
VMware ESX 6
VMware ESX 6.5
VMware Photon (64 bit)
Windows 7
Windows 7 (64 bit)
Windows Server 2008 R2 (64 bit)
Windows 8
Windows 8 (64 bit)
Windows 8 Server (64 bit)
Windows 10
Windows 10 (64 bit)
Windows 10 Server (64 bit)
Windows Hyper-V
Windows 2000 Advanced Server
Windows 2000 Professional
Windows 2000 Server
Windows 3.1
Windows 95
Windows 98
Windows Longhorn (experimental)
Windows Longhorn (64 bit) (experimental)
Windows Millennium Edition
Windows Small Business Server 2003
Windows Server 2003, Datacenter Edition
Windows Server 2003, Datacenter Edition (64 bit) (experimental)
Windows Server 2003, Enterprise Edition
Windows Server 2003, Enterprise Edition (64 bit)
Windows Server 2003, Standard Edition
Windows Server 2003, Standard Edition (64 bit)
Windows Server 2003, Web Edition
Windows NT 4
Windows Vista
Windows Vista (64 bit)
Windows XP Home Edition
Windows XP Professional
Windows XP Professional Edition (64 bit)
Bases: vmware.vapi.bindings.stub.VapiInterface
The Hardware class provides methods for configuring the virtual hardware of a virtual machine.
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The Hardware.Info class contains information related to the virtual hardware of a virtual machine.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The Hardware.UpdateSpec class describes the updates to virtual hardware settings of a virtual machine.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
The Hardware.UpgradePolicy class defines the valid virtual hardware upgrade policies for a virtual machine.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the UpgradePolicy instance. |
---|
Run scheduled upgrade when the virtual machine is powered on after a clean shutdown of the guest operating system.
Run scheduled upgrade when the virtual machine is powered on.
Do not upgrade the virtual machine when it is powered on.
Bases: vmware.vapi.bindings.enum.Enum
The Hardware.UpgradeStatus class defines the valid virtual hardware upgrade statuses for a virtual machine.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the UpgradeStatus instance. |
---|
The most recent scheduled upgrade was not successful.
No scheduled upgrade has been attempted.
Upgrade is scheduled but has not yet been run.
The most recent scheduled upgrade was successful.
Bases: vmware.vapi.bindings.enum.Enum
The Hardware.Version class defines the valid virtual hardware versions for a virtual machine.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the Version instance. |
---|
Hardware version 3.
Hardware version 4.
Hardware version 6.
Hardware version 7.
Hardware version 8.
Hardware version 9.
Hardware version 10.
Hardware version 11.
Hardware version 12.
Hardware version 13.
Returns the virtual hardware settings of a virtual machine.
Parameters: | vm (str) – Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine. |
---|---|
Return type: | Hardware.Info |
Returns: | Virtual hardware settings of the virtual machine. |
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the virtual machine is not found. |
Raise: | com.vmware.vapi.std.errors_client.ResourceInaccessible if the virtual machine’s configuration state cannot be accessed. |
Raise: | com.vmware.vapi.std.errors_client.ServiceUnavailable if the system is unable to communicate with a service to complete the request. |
Raise: | com.vmware.vapi.std.errors_client.Unauthenticated if the user can not be authenticated. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if the user doesn’t have the required privileges. |
Updates the virtual hardware settings of a virtual machine.
Parameters: |
|
---|---|
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the virtual machine is not found. |
Raise: | com.vmware.vapi.std.errors_client.AlreadyInDesiredState if the virtual machine is already configured for the desired hardware version. |
Raise: | com.vmware.vapi.std.errors_client.InvalidArgument if the requested virtual hardware version is not newer than the current version. |
Raise: | com.vmware.vapi.std.errors_client.Unsupported if the requested virtual hardware version is not supported by the server. |
Raise: | com.vmware.vapi.std.errors_client.ResourceBusy if the virtual machine is busy performing another operation. |
Raise: | com.vmware.vapi.std.errors_client.ResourceInaccessible if the virtual machine’s configuration state cannot be accessed. |
Raise: | com.vmware.vapi.std.errors_client.ServiceUnavailable if the system is unable to communicate with a service to complete the request. |
Raise: | com.vmware.vapi.std.errors_client.Unauthenticated if the user can not be authenticated. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if the user doesn’t have the required privileges. |
Upgrades the virtual machine to a newer virtual hardware version.
Parameters: |
|
---|---|
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the virtual machine is not found. |
Raise: | com.vmware.vapi.std.errors_client.NotAllowedInCurrentState if the virtual machine is not powered off. |
Raise: | com.vmware.vapi.std.errors_client.AlreadyInDesiredState if the virtual machine is already configured for the desired hardware version. |
Raise: | com.vmware.vapi.std.errors_client.InvalidArgument if version is older than the current virtual hardware version. |
Raise: | com.vmware.vapi.std.errors_client.Unsupported if version is not supported by the server. |
Raise: | com.vmware.vapi.std.errors_client.ResourceBusy if the virtual machine is busy performing another operation. |
Raise: | com.vmware.vapi.std.errors_client.ResourceInaccessible if the virtual machine’s configuration state cannot be accessed. |
Raise: | com.vmware.vapi.std.errors_client.ServiceUnavailable if the system is unable to communicate with a service to complete the request. |
Raise: | com.vmware.vapi.std.errors_client.Unauthenticated if the user can not be authenticated. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if the user doesn’t have the required privileges. |
Bases: vmware.vapi.bindings.stub.VapiInterface
The Power class provides methods for managing the power state of a virtual machine.
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
The Power.Info class contains information about the power state of a virtual machine.
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
The Power.State class defines the valid power states for a virtual machine.
Note
This class represents an enumerated type in the interface language definition. The class contains class attributes which represent the values in the current version of the enumerated type. Newer versions of the enumerated type may contain new values. To use new values of the enumerated type in communication with a server that supports the newer version of the API, you instantiate this class. See enumerated type description page.
Parameters: | string (str) – String value for the State instance. |
---|
The virtual machine is powered off.
The virtual machine is powered on.
The virtual machine is suspended.
Returns the power state information of a virtual machine.
Parameters: | vm (str) – Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine. |
---|---|
Return type: | Power.Info |
Returns: | Power state information for the specified virtual machine. |
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the virtual machine is not found. |
Raise: | com.vmware.vapi.std.errors_client.ResourceInaccessible if the virtual machine’s configuration or execution state cannot be accessed. |
Raise: | com.vmware.vapi.std.errors_client.ServiceUnavailable if the system is unable to communicate with a service to complete the request. |
Raise: | com.vmware.vapi.std.errors_client.Unauthenticated if the user can not be authenticated. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if the user doesn’t have the required privileges. |
Resets a powered-on virtual machine.
Parameters: | vm (str) – Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine. |
---|---|
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the virtual machine is not found. |
Raise: | com.vmware.vapi.std.errors_client.NotAllowedInCurrentState if the virtual machine is powered off or suspended. |
Raise: | com.vmware.vapi.std.errors_client.ResourceBusy if the virtual machine is performing another operation |
Raise: | com.vmware.vapi.std.errors_client.ServiceUnavailable if the system is unable to communicate with a service to complete the request. |
Raise: | com.vmware.vapi.std.errors_client.Unauthenticated if the user can not be authenticated. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if the user doesn’t have the required privileges. |
Powers on a powered-off or suspended virtual machine.
Parameters: | vm (str) – Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine. |
---|---|
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the virtual machine is not found. |
Raise: | com.vmware.vapi.std.errors_client.AlreadyInDesiredState if the virtual machine is already powered on. |
Raise: | com.vmware.vapi.std.errors_client.Unsupported if the virtual machine does not support being powered on (e.g. marked as a template, serving as a fault-tolerance secondary virtual machine). |
Raise: | com.vmware.vapi.std.errors_client.UnableToAllocateResource if resources cannot be allocated for the virtual machine (e.g. physical resource allocation policy cannot be satisfied, insufficient licenses are available to run the virtual machine). |
Raise: | com.vmware.vapi.std.errors_client.ResourceInaccessible if resources required by the virtual machine are not accessible (e.g. virtual machine configuration files or virtual disks are on inaccessible storage, no hosts are available to run the virtual machine). |
Raise: | com.vmware.vapi.std.errors_client.ResourceInUse if resources required by the virtual machine are in use (e.g. virtual machine configuration files or virtual disks are locked, host containing the virtual machine is an HA failover host). |
Raise: | com.vmware.vapi.std.errors_client.ResourceBusy if the virtual machine is performing another operation. |
Raise: | com.vmware.vapi.std.errors_client.ServiceUnavailable if the system is unable to communicate with a service to complete the request. |
Raise: | com.vmware.vapi.std.errors_client.Unauthenticated if the user can not be authenticated. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if the user doesn’t have the required privileges. |
Powers off a powered-on or suspended virtual machine.
Parameters: | vm (str) – Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine. |
---|---|
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the virtual machine is not found. |
Raise: | com.vmware.vapi.std.errors_client.AlreadyInDesiredState if the virtual machine is already powered off. |
Raise: | com.vmware.vapi.std.errors_client.ResourceBusy if the virtual machine is performing another operation. |
Raise: | com.vmware.vapi.std.errors_client.ServiceUnavailable if the system is unable to communicate with a service to complete the request. |
Raise: | com.vmware.vapi.std.errors_client.Unauthenticated if the user can not be authenticated. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if the user doesn’t have the required privileges. |
Suspends a powered-on virtual machine.
Parameters: | vm (str) – Virtual machine identifier. The parameter must be an identifier for the resource type: VirtualMachine. |
---|---|
Raise: | com.vmware.vapi.std.errors_client.Error if the system reports an error while responding to the request. |
Raise: | com.vmware.vapi.std.errors_client.NotFound if the virtual machine is not found. |
Raise: | com.vmware.vapi.std.errors_client.AlreadyInDesiredState if the virtual machine is already suspended. |
Raise: | com.vmware.vapi.std.errors_client.NotAllowedInCurrentState if the virtual machine is powered off. |
Raise: | com.vmware.vapi.std.errors_client.ResourceBusy if the virtual machine is performing another operation. |
Raise: | com.vmware.vapi.std.errors_client.ServiceUnavailable if the system is unable to communicate with a service to complete the request. |
Raise: | com.vmware.vapi.std.errors_client.Unauthenticated if the user can not be authenticated. |
Raise: | com.vmware.vapi.std.errors_client.Unauthorized if the user doesn’t have the required privileges. |