models.vmware_standby_resource module

class models.vmware_standby_resource.VMwareStandbyResource(datastore_entity_vec=None, network_config=None, parent_source=None, rename_object_params=None, resource_pool_entity=None, target_datastore_folder=None, target_vm_folder=None)[source]

Bases: object

Implementation of the ‘VMwareStandbyResource’ model.

VMware specific resources needed to create a VM entity on the vCenter.

Attributes:
datastore_entity_vec (list of EntityProto): Datastore entities where

the standby VM should be created.

network_config (RestoredObjectNetworkConfigProto): Network

configuration for the standby VM.

parent_source (EntityProto): The vCenter to which the user wants to

create a standby VM.

rename_object_params (RenameObjectParamProto): User defined prefix and

suffix that need to be added to the standby VM.

resource_pool_entity (EntityProto): Resource pool entity where the

standby VM should be created.

target_datastore_folder (EntityProto): Folder where the VM disks

should be placed.

target_vm_folder (EntityProto): Folder where the VMs should be created.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.