OlvmStorageDomainProperties¶
-
class
oci.cloud_migrations.models.OlvmStorageDomainProperties(**kwargs)¶ Bases:
objectOLVM Storage Domain properties.
Attributes
EXTERNAL_STATUS_ERRORA constant which can be used with the external_status property of a OlvmStorageDomainProperties. EXTERNAL_STATUS_FAILUREA constant which can be used with the external_status property of a OlvmStorageDomainProperties. EXTERNAL_STATUS_INFOA constant which can be used with the external_status property of a OlvmStorageDomainProperties. EXTERNAL_STATUS_OKA constant which can be used with the external_status property of a OlvmStorageDomainProperties. EXTERNAL_STATUS_WARNINGA constant which can be used with the external_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_ACTIVATINGA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_ACTIVEA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_DETACHINGA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_INACTIVEA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_LOCKEDA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_MAINTENANCEA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_MIXEDA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_PREPARING_FOR_MAINTENANCEA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_UNATTACHEDA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_STATUS_UNKNOWNA constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_TYPE_DATAA constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_TYPE_EXPORTA constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_TYPE_IMAGEA constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_TYPE_ISOA constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_TYPE_MANAGED_BLOCK_STORAGEA constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. STORAGE_DOMAIN_TYPE_VOLUMEA constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. STORAGE_FORMAT_V1A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. STORAGE_FORMAT_V2A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. STORAGE_FORMAT_V3A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. STORAGE_FORMAT_V4A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. STORAGE_FORMAT_V5A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. available_space_in_bytesGets the available_space_in_bytes of this OlvmStorageDomainProperties. block_size_in_bytesGets the block_size_in_bytes of this OlvmStorageDomainProperties. commentGets the comment of this OlvmStorageDomainProperties. committed_space_in_bytesGets the committed_space_in_bytes of this OlvmStorageDomainProperties. critical_space_action_blocker_in_gbsGets the critical_space_action_blocker_in_gbs of this OlvmStorageDomainProperties. data_centersGets the data_centers of this OlvmStorageDomainProperties. external_statusGets the external_status of this OlvmStorageDomainProperties. is_backupGets the is_backup of this OlvmStorageDomainProperties. is_discard_after_deleteGets the is_discard_after_delete of this OlvmStorageDomainProperties. is_importGets the is_import of this OlvmStorageDomainProperties. is_primaryGets the is_primary of this OlvmStorageDomainProperties. is_support_discardGets the is_support_discard of this OlvmStorageDomainProperties. is_support_discard_zeroes_dataGets the is_support_discard_zeroes_data of this OlvmStorageDomainProperties. is_wipe_after_deleteGets the is_wipe_after_delete of this OlvmStorageDomainProperties. storageGets the storage of this OlvmStorageDomainProperties. storage_domain_descriptionGets the storage_domain_description of this OlvmStorageDomainProperties. storage_domain_name[Required] Gets the storage_domain_name of this OlvmStorageDomainProperties. storage_domain_statusGets the storage_domain_status of this OlvmStorageDomainProperties. storage_domain_typeGets the storage_domain_type of this OlvmStorageDomainProperties. storage_formatGets the storage_format of this OlvmStorageDomainProperties. used_space_in_bytesGets the used_space_in_bytes of this OlvmStorageDomainProperties. warning_low_space_indicator_in_percentageGets the warning_low_space_indicator_in_percentage of this OlvmStorageDomainProperties. Methods
__init__(**kwargs)Initializes a new OlvmStorageDomainProperties object with values from keyword arguments. -
EXTERNAL_STATUS_ERROR= 'ERROR'¶ A constant which can be used with the external_status property of a OlvmStorageDomainProperties. This constant has a value of “ERROR”
-
EXTERNAL_STATUS_FAILURE= 'FAILURE'¶ A constant which can be used with the external_status property of a OlvmStorageDomainProperties. This constant has a value of “FAILURE”
-
EXTERNAL_STATUS_INFO= 'INFO'¶ A constant which can be used with the external_status property of a OlvmStorageDomainProperties. This constant has a value of “INFO”
-
EXTERNAL_STATUS_OK= 'OK'¶ A constant which can be used with the external_status property of a OlvmStorageDomainProperties. This constant has a value of “OK”
-
EXTERNAL_STATUS_WARNING= 'WARNING'¶ A constant which can be used with the external_status property of a OlvmStorageDomainProperties. This constant has a value of “WARNING”
-
STORAGE_DOMAIN_STATUS_ACTIVATING= 'ACTIVATING'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “ACTIVATING”
-
STORAGE_DOMAIN_STATUS_ACTIVE= 'ACTIVE'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “ACTIVE”
-
STORAGE_DOMAIN_STATUS_DETACHING= 'DETACHING'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “DETACHING”
-
STORAGE_DOMAIN_STATUS_INACTIVE= 'INACTIVE'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “INACTIVE”
-
STORAGE_DOMAIN_STATUS_LOCKED= 'LOCKED'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “LOCKED”
-
STORAGE_DOMAIN_STATUS_MAINTENANCE= 'MAINTENANCE'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “MAINTENANCE”
-
STORAGE_DOMAIN_STATUS_MIXED= 'MIXED'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “MIXED”
-
STORAGE_DOMAIN_STATUS_PREPARING_FOR_MAINTENANCE= 'PREPARING_FOR_MAINTENANCE'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “PREPARING_FOR_MAINTENANCE”
-
STORAGE_DOMAIN_STATUS_UNATTACHED= 'UNATTACHED'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “UNATTACHED”
-
STORAGE_DOMAIN_STATUS_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties. This constant has a value of “UNKNOWN”
-
STORAGE_DOMAIN_TYPE_DATA= 'DATA'¶ A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. This constant has a value of “DATA”
-
STORAGE_DOMAIN_TYPE_EXPORT= 'EXPORT'¶ A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. This constant has a value of “EXPORT”
-
STORAGE_DOMAIN_TYPE_IMAGE= 'IMAGE'¶ A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. This constant has a value of “IMAGE”
-
STORAGE_DOMAIN_TYPE_ISO= 'ISO'¶ A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. This constant has a value of “ISO”
-
STORAGE_DOMAIN_TYPE_MANAGED_BLOCK_STORAGE= 'MANAGED_BLOCK_STORAGE'¶ A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. This constant has a value of “MANAGED_BLOCK_STORAGE”
-
STORAGE_DOMAIN_TYPE_VOLUME= 'VOLUME'¶ A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties. This constant has a value of “VOLUME”
-
STORAGE_FORMAT_V1= 'V1'¶ A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. This constant has a value of “V1”
-
STORAGE_FORMAT_V2= 'V2'¶ A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. This constant has a value of “V2”
-
STORAGE_FORMAT_V3= 'V3'¶ A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. This constant has a value of “V3”
-
STORAGE_FORMAT_V4= 'V4'¶ A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. This constant has a value of “V4”
-
STORAGE_FORMAT_V5= 'V5'¶ A constant which can be used with the storage_format property of a OlvmStorageDomainProperties. This constant has a value of “V5”
-
__init__(**kwargs)¶ Initializes a new OlvmStorageDomainProperties object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - storage_domain_name (str) – The value to assign to the storage_domain_name property of this OlvmStorageDomainProperties.
- storage_domain_description (str) – The value to assign to the storage_domain_description property of this OlvmStorageDomainProperties.
- comment (str) – The value to assign to the comment property of this OlvmStorageDomainProperties.
- available_space_in_bytes (int) – The value to assign to the available_space_in_bytes property of this OlvmStorageDomainProperties.
- used_space_in_bytes (int) – The value to assign to the used_space_in_bytes property of this OlvmStorageDomainProperties.
- committed_space_in_bytes (int) – The value to assign to the committed_space_in_bytes property of this OlvmStorageDomainProperties.
- block_size_in_bytes (int) – The value to assign to the block_size_in_bytes property of this OlvmStorageDomainProperties.
- is_backup (bool) – The value to assign to the is_backup property of this OlvmStorageDomainProperties.
- is_primary (bool) – The value to assign to the is_primary property of this OlvmStorageDomainProperties.
- is_import (bool) – The value to assign to the is_import property of this OlvmStorageDomainProperties.
- is_discard_after_delete (bool) – The value to assign to the is_discard_after_delete property of this OlvmStorageDomainProperties.
- is_support_discard (bool) – The value to assign to the is_support_discard property of this OlvmStorageDomainProperties.
- is_support_discard_zeroes_data (bool) – The value to assign to the is_support_discard_zeroes_data property of this OlvmStorageDomainProperties.
- is_wipe_after_delete (bool) – The value to assign to the is_wipe_after_delete property of this OlvmStorageDomainProperties.
- critical_space_action_blocker_in_gbs (int) – The value to assign to the critical_space_action_blocker_in_gbs property of this OlvmStorageDomainProperties.
- warning_low_space_indicator_in_percentage (int) – The value to assign to the warning_low_space_indicator_in_percentage property of this OlvmStorageDomainProperties.
- external_status (str) – The value to assign to the external_status property of this OlvmStorageDomainProperties. Allowed values for this property are: “ERROR”, “FAILURE”, “INFO”, “OK”, “WARNING”
- storage_domain_status (str) – The value to assign to the storage_domain_status property of this OlvmStorageDomainProperties. Allowed values for this property are: “ACTIVATING”, “ACTIVE”, “DETACHING”, “INACTIVE”, “LOCKED”, “MAINTENANCE”, “MIXED”, “PREPARING_FOR_MAINTENANCE”, “UNATTACHED”, “UNKNOWN”
- storage (oci.cloud_migrations.models.Storage) – The value to assign to the storage property of this OlvmStorageDomainProperties.
- storage_format (str) – The value to assign to the storage_format property of this OlvmStorageDomainProperties. Allowed values for this property are: “V1”, “V2”, “V3”, “V4”, “V5”
- storage_domain_type (str) – The value to assign to the storage_domain_type property of this OlvmStorageDomainProperties. Allowed values for this property are: “DATA”, “EXPORT”, “IMAGE”, “ISO”, “MANAGED_BLOCK_STORAGE”, “VOLUME”
- data_centers (list[oci.cloud_migrations.models.OlvmDataCenter]) – The value to assign to the data_centers property of this OlvmStorageDomainProperties.
-
available_space_in_bytes¶ Gets the available_space_in_bytes of this OlvmStorageDomainProperties. Space available in bytes.
Returns: The available_space_in_bytes of this OlvmStorageDomainProperties. Return type: int
-
block_size_in_bytes¶ Gets the block_size_in_bytes of this OlvmStorageDomainProperties. Block size in bytes.
Returns: The block_size_in_bytes of this OlvmStorageDomainProperties. Return type: int
-
comment¶ Gets the comment of this OlvmStorageDomainProperties. Free text containing comments about this object.
Returns: The comment of this OlvmStorageDomainProperties. Return type: str
-
committed_space_in_bytes¶ Gets the committed_space_in_bytes of this OlvmStorageDomainProperties. Space committed in bytes.
Returns: The committed_space_in_bytes of this OlvmStorageDomainProperties. Return type: int
-
critical_space_action_blocker_in_gbs¶ Gets the critical_space_action_blocker_in_gbs of this OlvmStorageDomainProperties. Ensure storage domain always has at least this amount of unoccupied space in GBs.
Returns: The critical_space_action_blocker_in_gbs of this OlvmStorageDomainProperties. Return type: int
-
data_centers¶ Gets the data_centers of this OlvmStorageDomainProperties. List of data centers where storage domain belongs
Returns: The data_centers of this OlvmStorageDomainProperties. Return type: list[oci.cloud_migrations.models.OlvmDataCenter]
-
external_status¶ Gets the external_status of this OlvmStorageDomainProperties. Status of storage domain.
Allowed values for this property are: “ERROR”, “FAILURE”, “INFO”, “OK”, “WARNING”
Returns: The external_status of this OlvmStorageDomainProperties. Return type: str
-
is_backup¶ Gets the is_backup of this OlvmStorageDomainProperties. Whether a data storage domain is used as backup domain or not.
Returns: The is_backup of this OlvmStorageDomainProperties. Return type: bool
-
is_discard_after_delete¶ Gets the is_discard_after_delete of this OlvmStorageDomainProperties. Indicates whether disks’ blocks on block storage domains will be discarded right before they are deleted.
Returns: The is_discard_after_delete of this OlvmStorageDomainProperties. Return type: bool
-
is_import¶ Gets the is_import of this OlvmStorageDomainProperties. Whether this storage domain is imported.
Returns: The is_import of this OlvmStorageDomainProperties. Return type: bool
-
is_primary¶ Gets the is_primary of this OlvmStorageDomainProperties. Indicates if this is the primary (master) storage domain of a data center.
Returns: The is_primary of this OlvmStorageDomainProperties. Return type: bool
-
is_support_discard¶ Gets the is_support_discard of this OlvmStorageDomainProperties. Indicates whether a block storage domain supports discard operations
Returns: The is_support_discard of this OlvmStorageDomainProperties. Return type: bool
-
is_support_discard_zeroes_data¶ Gets the is_support_discard_zeroes_data of this OlvmStorageDomainProperties. Indicates whether a block storage domain supports the property that discard zeroes the data.
Returns: The is_support_discard_zeroes_data of this OlvmStorageDomainProperties. Return type: bool
-
is_wipe_after_delete¶ Gets the is_wipe_after_delete of this OlvmStorageDomainProperties. Serves as the default value of wipe_after_delete for disks on this storage domain.
Returns: The is_wipe_after_delete of this OlvmStorageDomainProperties. Return type: bool
-
storage¶ Gets the storage of this OlvmStorageDomainProperties.
Returns: The storage of this OlvmStorageDomainProperties. Return type: oci.cloud_migrations.models.Storage
-
storage_domain_description¶ Gets the storage_domain_description of this OlvmStorageDomainProperties. A human-readable description in plain text.
Returns: The storage_domain_description of this OlvmStorageDomainProperties. Return type: str
-
storage_domain_name¶ [Required] Gets the storage_domain_name of this OlvmStorageDomainProperties. A human-readable name in plain text.
Returns: The storage_domain_name of this OlvmStorageDomainProperties. Return type: str
-
storage_domain_status¶ Gets the storage_domain_status of this OlvmStorageDomainProperties. Status of storage domain.
Allowed values for this property are: “ACTIVATING”, “ACTIVE”, “DETACHING”, “INACTIVE”, “LOCKED”, “MAINTENANCE”, “MIXED”, “PREPARING_FOR_MAINTENANCE”, “UNATTACHED”, “UNKNOWN”
Returns: The storage_domain_status of this OlvmStorageDomainProperties. Return type: str
-
storage_domain_type¶ Gets the storage_domain_type of this OlvmStorageDomainProperties. Indicates the kind of data managed by a storage domain.
Allowed values for this property are: “DATA”, “EXPORT”, “IMAGE”, “ISO”, “MANAGED_BLOCK_STORAGE”, “VOLUME”
Returns: The storage_domain_type of this OlvmStorageDomainProperties. Return type: str
-
storage_format¶ Gets the storage_format of this OlvmStorageDomainProperties. Type which represents a format of storage domain.
Allowed values for this property are: “V1”, “V2”, “V3”, “V4”, “V5”
Returns: The storage_format of this OlvmStorageDomainProperties. Return type: str
-
used_space_in_bytes¶ Gets the used_space_in_bytes of this OlvmStorageDomainProperties. Space used in bytes.
Returns: The used_space_in_bytes of this OlvmStorageDomainProperties. Return type: int
-
warning_low_space_indicator_in_percentage¶ Gets the warning_low_space_indicator_in_percentage of this OlvmStorageDomainProperties. If the free space available on the storage domain is below this percentage, warning messages are displayed to the user and logged.
Returns: The warning_low_space_indicator_in_percentage of this OlvmStorageDomainProperties. Return type: int
-