DiskAdvanceConfig#

class DiskAdvanceConfig(is_self_encrypting_drive=None, is_self_managed_nvme=None, is_password_protected=None, is_boot_disk=None, has_boot_partitions_only=None, is_spdk_managed=None, is_online=None, is_marked_for_removal=None, is_data_migrated=None, is_unhealthy=None, is_suspected_unhealthy=None, is_mounted=None, is_under_diagnosis=None, is_diagnostic_info_available=None, is_error_found_in_log=None, is_planned_outage=None, *args, **kwargs)#

Bases: object

A model that represents Disk advance configuration properties.

Parameters:
  • is_self_encrypting_drive – (is_self_encrypting_drive) Indicates whether the Disk has self-encryption enabled.

  • is_self_managed_nvme – (is_self_managed_nvme) Indicates if the NVMe Disk is self-managed and does not require a host/CVM reboot.

  • is_password_protected – (is_password_protected) Indicates whether the Disk is password protected.

  • is_boot_disk – (is_boot_disk) Indicates if the Disk is a boot Disk.

  • has_boot_partitions_only – (has_boot_partitions_only) Indicates if the Disk is for boot only and no Disk operations will be performed on it.

  • is_spdk_managed – (is_spdk_managed) Indicates if NVMe device is managed by storage performance development kit(SPDK).

  • is_online – (is_online) Indicates whether the Disk is online or offline.

  • is_marked_for_removal – (is_marked_for_removal) Indicates if the Disk is marked for removal.

  • is_data_migrated – (is_data_migrated) Indicates if data migration is completed for the Disk.

  • is_unhealthy – (is_unhealthy) Indicates if the Disk is unhealthy.

  • is_suspected_unhealthy – (is_suspected_unhealthy) Indicates if the Disk is suspected to be unhealthy.

  • is_mounted – (is_mounted) Indicates if the Disk is mounted.

  • is_under_diagnosis – (is_under_diagnosis) Indicates if the Disk is under diagnosis.

  • is_diagnostic_info_available – (is_diagnostic_info_available) Indicates the Disk diagnostic information along with the device-related statistics are present.

  • is_error_found_in_log – (is_error_found_in_log) Indicates whether or not the Disk error is seen in the kernel logs.

  • is_planned_outage – (is_planned_outage) Indicates if diagnostics are running on the Disk.

property has_boot_partitions_only#

Indicates if the Disk is for boot only and no Disk operations will be performed on it.

Type:

bool

property is_boot_disk#

Indicates if the Disk is a boot Disk.

Type:

bool

property is_data_migrated#

Indicates if data migration is completed for the Disk.

Type:

bool

property is_diagnostic_info_available#

Indicates the Disk diagnostic information along with the device-related statistics are present.

Type:

bool

property is_error_found_in_log#

Indicates whether or not the Disk error is seen in the kernel logs.

Type:

bool

property is_marked_for_removal#

Indicates if the Disk is marked for removal.

Type:

bool

property is_mounted#

Indicates if the Disk is mounted.

Type:

bool

property is_online#

Indicates whether the Disk is online or offline.

Type:

bool

property is_password_protected#

Indicates whether the Disk is password protected.

Type:

bool

property is_planned_outage#

Indicates if diagnostics are running on the Disk.

Type:

bool

property is_self_encrypting_drive#

Indicates whether the Disk has self-encryption enabled.

Type:

bool

property is_self_managed_nvme#

Indicates if the NVMe Disk is self-managed and does not require a host/CVM reboot.

Type:

bool

property is_spdk_managed#

Indicates if NVMe device is managed by storage performance development kit(SPDK).

Type:

bool

property is_suspected_unhealthy#

Indicates if the Disk is suspected to be unhealthy.

Type:

bool

property is_under_diagnosis#

Indicates if the Disk is under diagnosis.

Type:

bool

property is_unhealthy#

Indicates if the Disk is unhealthy.

Type:

bool

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model