Disk#
- class Disk(cluster_name=None, cluster_ext_id=None, status=None, storage_tier=None, storage_pool_ext_id=None, service_vm_id=None, node_ext_id=None, cvm_ip_address=None, node_ip_address=None, mount_path=None, location=None, serial_number=None, disk_size_bytes=None, physical_capacity_bytes=None, model=None, vendor=None, nvme_pcie_path=None, firmware_version=None, target_firmware_version=None, host_name=None, disk_advance_config=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModelA model that represents the Disk resources.
- Parameters:
cluster_name (max=256 chars) – (
cluster_name) Cluster name of the Disk it belongs to.cluster_ext_id – (
cluster_ext_id) The external identifier of the cluster on which Disk will be added.status – (
status)storage_tier – (
storage_tier)storage_pool_ext_id – (
storage_pool_ext_id) The external identifier of a storage pool.service_vm_id – (
service_vm_id) The service VM ID of the node.node_ext_id – (
node_ext_id) The external identifier of the node.cvm_ip_address – (
cvm_ip_address)node_ip_address – (
node_ip_address)mount_path – (
mount_path) Represents the mount path of the Disk.location – (
location) Indicates the location of the Disk in a node.serial_number (max=256 chars) – (
serial_number) Represents the Disk serial number.disk_size_bytes (min=524288,) – (
disk_size_bytes) Size of the Disk in bytes.physical_capacity_bytes (min=524288,) – (
physical_capacity_bytes) Physical capacity of the Disk in bytes.model (max=256 chars) – (
model) Represents the Disk model.vendor (max=256 chars) – (
vendor) Represents the Disk vendor.nvme_pcie_path – (
nvme_pcie_path) Indicates the PCIe path of NVMe devices.firmware_version (max=256 chars) – (
firmware_version) Represents the current firmware version.target_firmware_version (max=256 chars) – (
target_firmware_version) Represents the target firmware version.host_name (max=256 chars) – (
host_name) Host name of the Disk to which it belongs.disk_advance_config – (
disk_advance_config)
- property cluster_ext_id#
The external identifier of the cluster on which Disk will be added.
- Type:
str
- property cluster_name#
Cluster name of the Disk it belongs to.
- Type:
str
- property disk_advance_config#
- Type:
- property disk_size_bytes#
Size of the Disk in bytes.
- Type:
int
- property firmware_version#
Represents the current firmware version.
- Type:
str
- property host_name#
Host name of the Disk to which it belongs.
- Type:
str
- property location#
Indicates the location of the Disk in a node.
- Type:
int
- property model#
Represents the Disk model.
- Type:
str
- property mount_path#
Represents the mount path of the Disk.
- Type:
str
- property node_ext_id#
The external identifier of the node.
- Type:
str
- property nvme_pcie_path#
Indicates the PCIe path of NVMe devices.
- Type:
str
- property physical_capacity_bytes#
Physical capacity of the Disk in bytes.
- Type:
int
- property serial_number#
Represents the Disk serial number.
- Type:
str
- property service_vm_id#
The service VM ID of the node.
- Type:
str
- property status#
- Type:
- property storage_pool_ext_id#
The external identifier of a storage pool.
- Type:
str
- property storage_tier#
- Type:
- property target_firmware_version#
Represents the target firmware version.
- Type:
str
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model
- property vendor#
Represents the Disk vendor.
- Type:
str