VmDisk#
- class VmDisk(disk_ext_id=None, disk_size_bytes=None, storage_container=None, storage_config=None, data_source=None, is_migration_in_progress=None, *args, **kwargs)#
Bases:
object
Storage provided by Nutanix ADSF.
- Parameters:
disk_ext_id – (
disk_ext_id
) A globally unique identifier of a VM disk of type UUID.disk_size_bytes (min=1,) – (
disk_size_bytes
) Size of the disk in bytes.storage_container – (
storage_container
)storage_config – (
storage_config
)data_source – (
data_source
)is_migration_in_progress – (
is_migration_in_progress
) Indicates if the disk is undergoing migration to another container.
- property data_source#
- Type:
- property disk_ext_id#
A globally unique identifier of a VM disk of type UUID.
- Type:
str
- property disk_size_bytes#
Size of the disk in bytes.
- Type:
int
- property is_migration_in_progress#
Indicates if the disk is undergoing migration to another container.
- Type:
bool
- property storage_config#
- Type:
- property storage_container#
- Type:
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model