models.hyperv_virtual_machine module

class models.hyperv_virtual_machine.HypervVirtualMachine(is_highly_available=None, version=None, vm_backup_status=None, vm_backup_type=None)[source]

Bases: object

Implementation of the ‘HypervVirtualMachine’ model.

Specifies information about a VirtualMachine Object in HyperV environment.

is_highly_available (bool): Specifies whether the VM is Highly

Available or not.

version (string): Specifies the version of the VM. For example, 8.0,

5.0 etc.

vm_backup_status (VmBackupStatusEnum): Specifies the status of the VM

for backup purpose. overrideDescription: true Specifies the backup status of a HyperV Virtual Machine object. ‘kSupported’ indicates the agent on the VM can do backup. ‘kUnsupportedConfig’ indicates the agent on the VM cannot do backup. ‘kMissing’ indicates the VM is not found in SCVMM.

vm_backup_type (VmBackupTypeEnum): Specifies the type of backup

supported by the VM. overrideDescription: true Specifies the type of an HyperV datastore object. ‘kRctBackup’ indicates backup is done using RCT/checkpoints. ‘kVssBackup’ indicates backup is done using VSS.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.