CreateDatastoreClusterDetails

class oci.ocvp.models.CreateDatastoreClusterDetails(**kwargs)

Bases: object

Details of the Datastore Cluster.

Attributes:

DATASTORE_CLUSTER_TYPE_MANAGEMENT

A constant which can be used with the datastore_cluster_type property of a CreateDatastoreClusterDetails.

DATASTORE_CLUSTER_TYPE_WORKLOAD

A constant which can be used with the datastore_cluster_type property of a CreateDatastoreClusterDetails.

availability_domain

[Required] Gets the availability_domain of this CreateDatastoreClusterDetails.

compartment_id

[Required] Gets the compartment_id of this CreateDatastoreClusterDetails.

datastore_cluster_type

[Required] Gets the datastore_cluster_type of this CreateDatastoreClusterDetails.

datastore_ids

Gets the datastore_ids of this CreateDatastoreClusterDetails.

defined_tags

Gets the defined_tags of this CreateDatastoreClusterDetails.

display_name

[Required] Gets the display_name of this CreateDatastoreClusterDetails.

freeform_tags

Gets the freeform_tags of this CreateDatastoreClusterDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateDatastoreClusterDetails 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 CreateDatastoreClusterDetails. 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 CreateDatastoreClusterDetails. This constant has a value of “WORKLOAD”

__init__(**kwargs)

Initializes a new CreateDatastoreClusterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • datastore_ids (list[str]) – The value to assign to the datastore_ids property of this CreateDatastoreClusterDetails.

  • display_name (str) – The value to assign to the display_name property of this CreateDatastoreClusterDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateDatastoreClusterDetails.

  • datastore_cluster_type (str) – The value to assign to the datastore_cluster_type property of this CreateDatastoreClusterDetails. Allowed values for this property are: “MANAGEMENT”, “WORKLOAD”

  • availability_domain (str) – The value to assign to the availability_domain property of this CreateDatastoreClusterDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDatastoreClusterDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDatastoreClusterDetails.

property availability_domain

[Required] Gets the availability_domain of this CreateDatastoreClusterDetails. The availability domain to create the Datastore Cluster in.

Returns

The availability_domain of this CreateDatastoreClusterDetails.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this CreateDatastoreClusterDetails. The OCID of the compartment to contain the Datastore Cluster.

Returns

The compartment_id of this CreateDatastoreClusterDetails.

Return type

str

property datastore_cluster_type

[Required] Gets the datastore_cluster_type of this CreateDatastoreClusterDetails. Type of the datastore.

Allowed values for this property are: “MANAGEMENT”, “WORKLOAD”

Returns

The datastore_cluster_type of this CreateDatastoreClusterDetails.

Return type

str

property datastore_ids

Gets the datastore_ids of this CreateDatastoreClusterDetails. The OCIDs of the Datastores that belong to the Datastore Cluster.

Returns

The datastore_ids of this CreateDatastoreClusterDetails.

Return type

list[str]

property defined_tags

Gets the defined_tags of this CreateDatastoreClusterDetails. 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 CreateDatastoreClusterDetails.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this CreateDatastoreClusterDetails. 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 CreateDatastoreClusterDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateDatastoreClusterDetails. 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 CreateDatastoreClusterDetails.

Return type

dict(str, str)