Disk#

class Disk(disk_address=None, backing_info=None, custom_attributes=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Virtual Machine disk (VM disk).

Parameters:
  • disk_address – (disk_address)

  • backing_info – (backing_info) Supporting storage to create virtual disk on.

  • custom_attributes – (custom_attributes) A collection of user-defined key/value pairs as strings in the format ‘key:value’ representing custom attributes of the VM Disk.

property backing_info#

Supporting storage to create virtual disk on.

Type:

VmDisk | ADSFVolumeGroupReference

property custom_attributes#

A collection of user-defined key/value pairs as strings in the format ‘key:value’ representing custom attributes of the VM Disk.

Type:

list[ str ]

property disk_address#
Type:

DiskAddress

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model