OlvmStorageDomainProperties¶
- class oci.cloud_bridge.models.OlvmStorageDomainProperties(**kwargs)¶
Bases:
objectOLVM Storage Domain properties.
Attributes:
A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
A constant which can be used with the external_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_status property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_domain_type property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
A constant which can be used with the storage_format property of a OlvmStorageDomainProperties.
Gets the available_space_in_bytes of this OlvmStorageDomainProperties.
Gets the block_size_in_bytes of this OlvmStorageDomainProperties.
Gets the comment of this OlvmStorageDomainProperties.
Gets the committed_space_in_bytes of this OlvmStorageDomainProperties.
Gets the critical_space_action_blocker_in_gbs of this OlvmStorageDomainProperties.
Gets the data_centers of this OlvmStorageDomainProperties.
Gets the external_status of this OlvmStorageDomainProperties.
Gets the is_backup of this OlvmStorageDomainProperties.
Gets the is_discard_after_delete of this OlvmStorageDomainProperties.
Gets the is_import of this OlvmStorageDomainProperties.
Gets the is_primary of this OlvmStorageDomainProperties.
Gets the is_support_discard of this OlvmStorageDomainProperties.
Gets the is_support_discard_zeroes_data of this OlvmStorageDomainProperties.
Gets the is_wipe_after_delete of this OlvmStorageDomainProperties.
Gets the storage of this OlvmStorageDomainProperties.
Gets the storage_domain_description of this OlvmStorageDomainProperties.
[Required] Gets the storage_domain_name of this OlvmStorageDomainProperties.
Gets the storage_domain_status of this OlvmStorageDomainProperties.
Gets the storage_domain_type of this OlvmStorageDomainProperties.
Gets the storage_format of this OlvmStorageDomainProperties.
Gets the used_space_in_bytes of this OlvmStorageDomainProperties.
Gets 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_bridge.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_bridge.models.OlvmDataCenter]) – The value to assign to the data_centers property of this OlvmStorageDomainProperties.
- property 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
- property 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
- property comment¶
Gets the comment of this OlvmStorageDomainProperties. Free text containing comments about this object.
- Returns
The comment of this OlvmStorageDomainProperties.
- Return type
str
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property storage¶
Gets the storage of this OlvmStorageDomainProperties.
- Returns
The storage of this OlvmStorageDomainProperties.
- Return type
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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