CreateDatastoreDetails

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

Bases: object

Details of the Datastore

Methods

__init__(**kwargs) Initializes a new CreateDatastoreDetails object with values from keyword arguments.

Attributes

availability_domain [Required] Gets the availability_domain of this CreateDatastoreDetails.
block_volume_ids [Required] Gets the block_volume_ids of this CreateDatastoreDetails.
compartment_id [Required] Gets the compartment_id of this CreateDatastoreDetails.
datastore_cluster_id Gets the datastore_cluster_id of this CreateDatastoreDetails.
defined_tags Gets the defined_tags of this CreateDatastoreDetails.
display_name [Required] Gets the display_name of this CreateDatastoreDetails.
freeform_tags Gets the freeform_tags of this CreateDatastoreDetails.
__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateDatastoreDetails.
  • block_volume_ids (list[str]) – The value to assign to the block_volume_ids property of this CreateDatastoreDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateDatastoreDetails.
  • datastore_cluster_id (str) – The value to assign to the datastore_cluster_id property of this CreateDatastoreDetails.
  • availability_domain (str) – The value to assign to the availability_domain property of this CreateDatastoreDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDatastoreDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDatastoreDetails.
availability_domain

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

Returns:The availability_domain of this CreateDatastoreDetails.
Return type:str
block_volume_ids

[Required] Gets the block_volume_ids of this CreateDatastoreDetails. The List of Block volume `OCID`__s that belong to the Datastore.

Returns:The block_volume_ids of this CreateDatastoreDetails.
Return type:list[str]
compartment_id

[Required] Gets the compartment_id of this CreateDatastoreDetails. The `OCID`__ of the compartment to contain the Datastore.

Returns:The compartment_id of this CreateDatastoreDetails.
Return type:str
datastore_cluster_id

Gets the datastore_cluster_id of this CreateDatastoreDetails. The `OCID`__ of the datastore cluster that Datastore belongs to.

Returns:The datastore_cluster_id of this CreateDatastoreDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateDatastoreDetails. 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 CreateDatastoreDetails.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this CreateDatastoreDetails. A descriptive name for the Datastore. 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 CreateDatastoreDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateDatastoreDetails. 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 CreateDatastoreDetails.
Return type:dict(str, str)