VmAttachment#

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

Bases: ExternalizableAbstractModel

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

Parameters:

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

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