VolumeDiskProjection#
- class VolumeDiskProjection(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:
VolumeDisk
- 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
)ext_id – (
ext_id
) A globally unique identifier of an instance that is suitable for external consumption.links – (
links
) A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.tenant_id – (
tenant_id
) A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model