VmAttachment#

class VmAttachment(ext_id=None, index=None, *args, **kwargs)#

Bases: object

A model that represents a VM reference that can be associated with a Volume Group as an AHV hypervisor attachment.

Parameters:
  • ext_id (required) – (ext_id) The external identifier of the VM.

  • index – (index) The index on the SCSI bus to attach the VM to the Volume Group. This is an optional field.

property ext_id#

The external identifier of the VM.

Type:

str

property index#

The index on the SCSI bus to attach the VM to the Volume Group. This is an optional field.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model