DatastoreCluster¶
-
class
oci.ocvp.models.
DatastoreCluster
(**kwargs)¶ Bases:
object
An Oracle Cloud VMware Solution Datastore Cluster for software-defined data center.
The Datastore Cluster combines multiple datastores into a single datastore cluster.
Attributes
DATASTORE_CLUSTER_TYPE_MANAGEMENT
A constant which can be used with the datastore_cluster_type property of a DatastoreCluster. DATASTORE_CLUSTER_TYPE_WORKLOAD
A constant which can be used with the datastore_cluster_type property of a DatastoreCluster. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a DatastoreCluster. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a DatastoreCluster. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a DatastoreCluster. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a DatastoreCluster. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a DatastoreCluster. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a DatastoreCluster. availability_domain
[Required] Gets the availability_domain of this DatastoreCluster. capacity_in_gbs
Gets the capacity_in_gbs of this DatastoreCluster. cluster_id
Gets the cluster_id of this DatastoreCluster. compartment_id
[Required] Gets the compartment_id of this DatastoreCluster. datastore_cluster_type
[Required] Gets the datastore_cluster_type of this DatastoreCluster. datastore_ids
[Required] Gets the datastore_ids of this DatastoreCluster. defined_tags
Gets the defined_tags of this DatastoreCluster. display_name
[Required] Gets the display_name of this DatastoreCluster. esxi_host_ids
Gets the esxi_host_ids of this DatastoreCluster. freeform_tags
Gets the freeform_tags of this DatastoreCluster. id
[Required] Gets the id of this DatastoreCluster. lifecycle_state
[Required] Gets the lifecycle_state of this DatastoreCluster. sddc_id
Gets the sddc_id of this DatastoreCluster. system_tags
Gets the system_tags of this DatastoreCluster. time_created
[Required] Gets the time_created of this DatastoreCluster. time_updated
[Required] Gets the time_updated of this DatastoreCluster. Methods
__init__
(**kwargs)Initializes a new DatastoreCluster object with values from keyword arguments. -
DATASTORE_CLUSTER_TYPE_MANAGEMENT
= 'MANAGEMENT'¶ A constant which can be used with the datastore_cluster_type property of a DatastoreCluster. This constant has a value of “MANAGEMENT”
-
DATASTORE_CLUSTER_TYPE_WORKLOAD
= 'WORKLOAD'¶ A constant which can be used with the datastore_cluster_type property of a DatastoreCluster. This constant has a value of “WORKLOAD”
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a DatastoreCluster. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a DatastoreCluster. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a DatastoreCluster. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a DatastoreCluster. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a DatastoreCluster. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a DatastoreCluster. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new DatastoreCluster object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this DatastoreCluster.
- datastore_ids (list[str]) – The value to assign to the datastore_ids property of this DatastoreCluster.
- cluster_id (str) – The value to assign to the cluster_id property of this DatastoreCluster.
- sddc_id (str) – The value to assign to the sddc_id property of this DatastoreCluster.
- compartment_id (str) – The value to assign to the compartment_id property of this DatastoreCluster.
- display_name (str) – The value to assign to the display_name property of this DatastoreCluster.
- esxi_host_ids (list[str]) – The value to assign to the esxi_host_ids property of this DatastoreCluster.
- datastore_cluster_type (str) – The value to assign to the datastore_cluster_type property of this DatastoreCluster. Allowed values for this property are: “MANAGEMENT”, “WORKLOAD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this DatastoreCluster.
- time_updated (datetime) – The value to assign to the time_updated property of this DatastoreCluster.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DatastoreCluster. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- availability_domain (str) – The value to assign to the availability_domain property of this DatastoreCluster.
- capacity_in_gbs (float) – The value to assign to the capacity_in_gbs property of this DatastoreCluster.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DatastoreCluster.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DatastoreCluster.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DatastoreCluster.
-
availability_domain
¶ [Required] Gets the availability_domain of this DatastoreCluster. The availability domain of the Datastore Cluster.
Returns: The availability_domain of this DatastoreCluster. Return type: str
-
capacity_in_gbs
¶ Gets the capacity_in_gbs of this DatastoreCluster. Total size of all datastores associated with the datastore cluster in GB.
Returns: The capacity_in_gbs of this DatastoreCluster. Return type: float
-
cluster_id
¶ Gets the cluster_id of this DatastoreCluster. The OCID of the VMware Cluster that Datastore cluster is attached to.
Returns: The cluster_id of this DatastoreCluster. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this DatastoreCluster. The OCID of the compartment that contains the Datastore.
Returns: The compartment_id of this DatastoreCluster. Return type: str
-
datastore_cluster_type
¶ [Required] Gets the datastore_cluster_type of this DatastoreCluster. Type of the datastore cluster.
Allowed values for this property are: “MANAGEMENT”, “WORKLOAD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The datastore_cluster_type of this DatastoreCluster. Return type: str
-
datastore_ids
¶ [Required] Gets the datastore_ids of this DatastoreCluster. The OCIDs of the Datastores that belong to the Datastore Cluster
Returns: The datastore_ids of this DatastoreCluster. Return type: list[str]
Gets the defined_tags of this DatastoreCluster. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this DatastoreCluster. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this DatastoreCluster. A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
Returns: The display_name of this DatastoreCluster. Return type: str
-
esxi_host_ids
¶ Gets the esxi_host_ids of this DatastoreCluster. The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
Returns: The esxi_host_ids of this DatastoreCluster. Return type: list[str]
Gets the freeform_tags of this DatastoreCluster. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this DatastoreCluster. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this DatastoreCluster. The OCID of the Datastore cluster.
Returns: The id of this DatastoreCluster. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this DatastoreCluster. The current state of the Datastore Cluster.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this DatastoreCluster. Return type: str
-
sddc_id
¶ Gets the sddc_id of this DatastoreCluster. The OCID of the SDDC that Datastore cluster is associated with.
Returns: The sddc_id of this DatastoreCluster. Return type: str
Gets the system_tags of this DatastoreCluster. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
Returns: The system_tags of this DatastoreCluster. Return type: dict(str, dict(str, object))
-