DatastoreClusterSummary¶
- class oci.ocvp.models.DatastoreClusterSummary(**kwargs)¶
Bases:
objectAn Oracle Cloud VMware Solution Datastore Cluster for software-defined data center.
The Datastore Cluster combines multiple datastores into a single datastore cluster.
Attributes:
A constant which can be used with the datastore_cluster_type property of a DatastoreClusterSummary.
A constant which can be used with the datastore_cluster_type property of a DatastoreClusterSummary.
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary.
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary.
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary.
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary.
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary.
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary.
[Required] Gets the availability_domain of this DatastoreClusterSummary.
Gets the capacity_in_gbs of this DatastoreClusterSummary.
Gets the cluster_id of this DatastoreClusterSummary.
[Required] Gets the compartment_id of this DatastoreClusterSummary.
Gets the datastore_cluster_type of this DatastoreClusterSummary.
[Required] Gets the datastore_ids of this DatastoreClusterSummary.
Gets the defined_tags of this DatastoreClusterSummary.
[Required] Gets the display_name of this DatastoreClusterSummary.
Gets the esxi_host_ids of this DatastoreClusterSummary.
Gets the freeform_tags of this DatastoreClusterSummary.
[Required] Gets the id of this DatastoreClusterSummary.
[Required] Gets the lifecycle_state of this DatastoreClusterSummary.
Gets the sddc_id of this DatastoreClusterSummary.
Gets the system_tags of this DatastoreClusterSummary.
[Required] Gets the time_created of this DatastoreClusterSummary.
Methods:
__init__(**kwargs)Initializes a new DatastoreClusterSummary 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 DatastoreClusterSummary. 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 DatastoreClusterSummary. This constant has a value of “WORKLOAD”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a DatastoreClusterSummary. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new DatastoreClusterSummary 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 DatastoreClusterSummary.
datastore_ids (list[str]) – The value to assign to the datastore_ids property of this DatastoreClusterSummary.
compartment_id (str) – The value to assign to the compartment_id property of this DatastoreClusterSummary.
display_name (str) – The value to assign to the display_name property of this DatastoreClusterSummary.
cluster_id (str) – The value to assign to the cluster_id property of this DatastoreClusterSummary.
sddc_id (str) – The value to assign to the sddc_id property of this DatastoreClusterSummary.
esxi_host_ids (list[str]) – The value to assign to the esxi_host_ids property of this DatastoreClusterSummary.
datastore_cluster_type (str) – The value to assign to the datastore_cluster_type property of this DatastoreClusterSummary. 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 DatastoreClusterSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DatastoreClusterSummary. 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 DatastoreClusterSummary.
capacity_in_gbs (float) – The value to assign to the capacity_in_gbs property of this DatastoreClusterSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DatastoreClusterSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DatastoreClusterSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DatastoreClusterSummary.
- property availability_domain¶
[Required] Gets the availability_domain of this DatastoreClusterSummary. The availability domain of the Datastore Cluster.
- Returns
The availability_domain of this DatastoreClusterSummary.
- Return type
str
- property capacity_in_gbs¶
Gets the capacity_in_gbs of this DatastoreClusterSummary. Total size of all datastores associated with the datastore cluster in GB.
- Returns
The capacity_in_gbs of this DatastoreClusterSummary.
- Return type
float
- property cluster_id¶
Gets the cluster_id of this DatastoreClusterSummary. The OCID of the VMware Cluster that Datastore Cluster is attached to.
- Returns
The cluster_id of this DatastoreClusterSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this DatastoreClusterSummary. The OCID of the compartment that contains the Datastore Cluster.
- Returns
The compartment_id of this DatastoreClusterSummary.
- Return type
str
- property datastore_cluster_type¶
Gets the datastore_cluster_type of this DatastoreClusterSummary. 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 DatastoreClusterSummary.
- Return type
str
- property datastore_ids¶
[Required] Gets the datastore_ids of this DatastoreClusterSummary. The OCIDs of the Datastores that belong to the Datastore Cluster
- Returns
The datastore_ids of this DatastoreClusterSummary.
- Return type
list[str]
- property defined_tags¶
Gets the defined_tags of this DatastoreClusterSummary. 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 DatastoreClusterSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this DatastoreClusterSummary. 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 DatastoreClusterSummary.
- Return type
str
- property esxi_host_ids¶
Gets the esxi_host_ids of this DatastoreClusterSummary. The OCIDs of the ESXi hosts attached to Datastore Cluster.
- Returns
The esxi_host_ids of this DatastoreClusterSummary.
- Return type
list[str]
- property freeform_tags¶
Gets the freeform_tags of this DatastoreClusterSummary. 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 DatastoreClusterSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this DatastoreClusterSummary. The OCID of the Datastore.
- Returns
The id of this DatastoreClusterSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DatastoreClusterSummary. 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 DatastoreClusterSummary.
- Return type
str
- property sddc_id¶
Gets the sddc_id of this DatastoreClusterSummary. The OCID of the SDDC that Datastore Cluster is associated with.
- Returns
The sddc_id of this DatastoreClusterSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this DatastoreClusterSummary. 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 DatastoreClusterSummary.
- Return type
dict(str, dict(str, object))