OlvmDataCenter¶
-
class
oci.cloud_migrations.models.OlvmDataCenter(**kwargs)¶ Bases:
objectAn OLVM Data Center.
Attributes
DATA_CENTER_STATUS_CONTENDA constant which can be used with the data_center_status property of a OlvmDataCenter. DATA_CENTER_STATUS_MAINTENANCEA constant which can be used with the data_center_status property of a OlvmDataCenter. DATA_CENTER_STATUS_NOT_OPERATIONALA constant which can be used with the data_center_status property of a OlvmDataCenter. DATA_CENTER_STATUS_PROBLEMATICA constant which can be used with the data_center_status property of a OlvmDataCenter. DATA_CENTER_STATUS_UNINITIALIZEDA constant which can be used with the data_center_status property of a OlvmDataCenter. DATA_CENTER_STATUS_UPA constant which can be used with the data_center_status property of a OlvmDataCenter. QUOTA_MODE_TYPE_AUDITA constant which can be used with the quota_mode_type property of a OlvmDataCenter. QUOTA_MODE_TYPE_DISABLEDA constant which can be used with the quota_mode_type property of a OlvmDataCenter. QUOTA_MODE_TYPE_ENABLEDA constant which can be used with the quota_mode_type property of a OlvmDataCenter. STORAGE_FORMAT_V1A constant which can be used with the storage_format property of a OlvmDataCenter. STORAGE_FORMAT_V2A constant which can be used with the storage_format property of a OlvmDataCenter. STORAGE_FORMAT_V3A constant which can be used with the storage_format property of a OlvmDataCenter. STORAGE_FORMAT_V4A constant which can be used with the storage_format property of a OlvmDataCenter. STORAGE_FORMAT_V5A constant which can be used with the storage_format property of a OlvmDataCenter. commentGets the comment of this OlvmDataCenter. data_center_statusGets the data_center_status of this OlvmDataCenter. descriptionGets the description of this OlvmDataCenter. idGets the id of this OlvmDataCenter. is_localGets the is_local of this OlvmDataCenter. nameGets the name of this OlvmDataCenter. quota_mode_typeGets the quota_mode_type of this OlvmDataCenter. storage_formatGets the storage_format of this OlvmDataCenter. supported_versionsGets the supported_versions of this OlvmDataCenter. versionGets the version of this OlvmDataCenter. Methods
__init__(**kwargs)Initializes a new OlvmDataCenter object with values from keyword arguments. -
DATA_CENTER_STATUS_CONTEND= 'CONTEND'¶ A constant which can be used with the data_center_status property of a OlvmDataCenter. This constant has a value of “CONTEND”
-
DATA_CENTER_STATUS_MAINTENANCE= 'MAINTENANCE'¶ A constant which can be used with the data_center_status property of a OlvmDataCenter. This constant has a value of “MAINTENANCE”
-
DATA_CENTER_STATUS_NOT_OPERATIONAL= 'NOT_OPERATIONAL'¶ A constant which can be used with the data_center_status property of a OlvmDataCenter. This constant has a value of “NOT_OPERATIONAL”
-
DATA_CENTER_STATUS_PROBLEMATIC= 'PROBLEMATIC'¶ A constant which can be used with the data_center_status property of a OlvmDataCenter. This constant has a value of “PROBLEMATIC”
-
DATA_CENTER_STATUS_UNINITIALIZED= 'UNINITIALIZED'¶ A constant which can be used with the data_center_status property of a OlvmDataCenter. This constant has a value of “UNINITIALIZED”
-
DATA_CENTER_STATUS_UP= 'UP'¶ A constant which can be used with the data_center_status property of a OlvmDataCenter. This constant has a value of “UP”
-
QUOTA_MODE_TYPE_AUDIT= 'AUDIT'¶ A constant which can be used with the quota_mode_type property of a OlvmDataCenter. This constant has a value of “AUDIT”
-
QUOTA_MODE_TYPE_DISABLED= 'DISABLED'¶ A constant which can be used with the quota_mode_type property of a OlvmDataCenter. This constant has a value of “DISABLED”
-
QUOTA_MODE_TYPE_ENABLED= 'ENABLED'¶ A constant which can be used with the quota_mode_type property of a OlvmDataCenter. This constant has a value of “ENABLED”
-
STORAGE_FORMAT_V1= 'V1'¶ A constant which can be used with the storage_format property of a OlvmDataCenter. This constant has a value of “V1”
-
STORAGE_FORMAT_V2= 'V2'¶ A constant which can be used with the storage_format property of a OlvmDataCenter. This constant has a value of “V2”
-
STORAGE_FORMAT_V3= 'V3'¶ A constant which can be used with the storage_format property of a OlvmDataCenter. This constant has a value of “V3”
-
STORAGE_FORMAT_V4= 'V4'¶ A constant which can be used with the storage_format property of a OlvmDataCenter. This constant has a value of “V4”
-
STORAGE_FORMAT_V5= 'V5'¶ A constant which can be used with the storage_format property of a OlvmDataCenter. This constant has a value of “V5”
-
__init__(**kwargs)¶ Initializes a new OlvmDataCenter object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - comment (str) – The value to assign to the comment property of this OlvmDataCenter.
- description (str) – The value to assign to the description property of this OlvmDataCenter.
- id (str) – The value to assign to the id property of this OlvmDataCenter.
- name (str) – The value to assign to the name property of this OlvmDataCenter.
- is_local (bool) – The value to assign to the is_local property of this OlvmDataCenter.
- quota_mode_type (str) – The value to assign to the quota_mode_type property of this OlvmDataCenter. Allowed values for this property are: “AUDIT”, “DISABLED”, “ENABLED”
- data_center_status (str) – The value to assign to the data_center_status property of this OlvmDataCenter. Allowed values for this property are: “CONTEND”, “MAINTENANCE”, “NOT_OPERATIONAL”, “PROBLEMATIC”, “UNINITIALIZED”, “UP”
- storage_format (str) – The value to assign to the storage_format property of this OlvmDataCenter. Allowed values for this property are: “V1”, “V2”, “V3”, “V4”, “V5”
- supported_versions (list[oci.cloud_migrations.models.OlvmVersion]) – The value to assign to the supported_versions property of this OlvmDataCenter.
- version (oci.cloud_migrations.models.OlvmVersion) – The value to assign to the version property of this OlvmDataCenter.
-
comment¶ Gets the comment of this OlvmDataCenter. Free text containing comments about this object.
Returns: The comment of this OlvmDataCenter. Return type: str
-
data_center_status¶ Gets the data_center_status of this OlvmDataCenter. The status of data center
Allowed values for this property are: “CONTEND”, “MAINTENANCE”, “NOT_OPERATIONAL”, “PROBLEMATIC”, “UNINITIALIZED”, “UP”
Returns: The data_center_status of this OlvmDataCenter. Return type: str
-
description¶ Gets the description of this OlvmDataCenter. A human-readable description in plain text.
Returns: The description of this OlvmDataCenter. Return type: str
-
id¶ Gets the id of this OlvmDataCenter. A unique identifier.
Returns: The id of this OlvmDataCenter. Return type: str
-
is_local¶ Gets the is_local of this OlvmDataCenter. Whether the data center is local.
Returns: The is_local of this OlvmDataCenter. Return type: bool
-
name¶ Gets the name of this OlvmDataCenter. A human-readable name in plain text.
Returns: The name of this OlvmDataCenter. Return type: str
-
quota_mode_type¶ Gets the quota_mode_type of this OlvmDataCenter. The type of quota mode
Allowed values for this property are: “AUDIT”, “DISABLED”, “ENABLED”
Returns: The quota_mode_type of this OlvmDataCenter. Return type: str
-
storage_format¶ Gets the storage_format of this OlvmDataCenter. 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 OlvmDataCenter. Return type: str
-
supported_versions¶ Gets the supported_versions of this OlvmDataCenter. List of supported versions.
Returns: The supported_versions of this OlvmDataCenter. Return type: list[oci.cloud_migrations.models.OlvmVersion]
-
version¶ Gets the version of this OlvmDataCenter.
Returns: The version of this OlvmDataCenter. Return type: oci.cloud_migrations.models.OlvmVersion
-