VolumeDisk#
- class VolumeDisk(index=None, disk_size_bytes=None, storage_container_id=None, description=None, disk_data_source_reference=None, disk_storage_features=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModel
A model that represents a Volume Disk associated with a Volume Group, supported by a backing file on DSF.
- Parameters:
index (min=0, max=16383) – (
index
) Index of the disk in a Volume Group. This field is optional and immutable.disk_size_bytes (min=524288, max=219902325555200) – (
disk_size_bytes
) Size of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is created on the storage container.storage_container_id – (
storage_container_id
) Storage container on which the disk must be created. This is a read-only field.description (max=1000 chars) – (
description
) Volume Disk description. This is an optional field.disk_data_source_reference – (
disk_data_source_reference
)disk_storage_features – (
disk_storage_features
)
- property description#
Volume Disk description. This is an optional field.
- Type:
str
- property disk_data_source_reference#
- Type:
- property disk_size_bytes#
Size of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is created on the storage container.
- Type:
int
- property disk_storage_features#
- Type:
- property index#
Index of the disk in a Volume Group. This field is optional and immutable.
- Type:
int
- property storage_container_id#
Storage container on which the disk must be created. This is a read-only field.
- Type:
str
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model