com.vmware.vcenter.lcm.deployment package

Submodules

com.vmware.vcenter.lcm.deployment.common_client module

The com.vmware.vcenter.deployment.common module provides common classes for install/upgrade of a vCenter Server.

class com.vmware.vcenter.lcm.deployment.common_client.AllocateResource(string)

Bases: vmware.vapi.bindings.enum.Enum

The AllocateResource class defines when to allocate resource to VM. This enumeration was added in vSphere API 8.0.2.0.

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 AllocateResource instance.

ON_DEPLOYMENT = AllocateResource(string='ON_DEPLOYMENT')

On deployment of the VM allocate the resource to the target VM. This class attribute was added in vSphere API 8.0.2.0.

ON_SUCCESSFUL_UPGRADE = AllocateResource(string='ON_SUCCESSFUL_UPGRADE')

On successful upgrade of the VC allocate the resource to the target VM. This class attribute was added in vSphere API 8.0.2.0.

class com.vmware.vcenter.lcm.deployment.common_client.ResourceAllocationInfo(reservation=None, allocate=None)

Bases: vmware.vapi.bindings.struct.VapiStruct

The ResourceAllocationInfo class contains resource allocation information of VM. This class was added in vSphere API 8.0.2.0.

Tip

The arguments are used to initialize data attributes with the same names.

Parameters
  • reservation (long) – Amount of resource that is guaranteed available to the virtual machine. Reserved resources are not wasted if they are not used. If the utilization is less than the reservation, the resources can be utilized by other running virtual machines. Units are MB for memory, and MHz for CPU. This attribute was added in vSphere API 8.0.2.0.

  • allocate (AllocateResource or None) – This attribute was added in vSphere API 8.0.2.0. If None will allocate resource at VM deployment.

class com.vmware.vcenter.lcm.deployment.common_client.StubFactory(stub_config)

Bases: vmware.vapi.bindings.stub.StubFactoryBase

Initialize StubFactoryBase

Parameters

stub_config (vmware.vapi.bindings.stub.StubConfiguration) – Stub config instance