Datastore

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

Bases: object

An `Oracle Cloud VMware Solution`__ Datastore for software-defined data center.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a Datastore.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a Datastore.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a Datastore.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a Datastore.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a Datastore.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a Datastore.

availability_domain

[Required] Gets the availability_domain of this Datastore.

block_volume_details

[Required] Gets the block_volume_details of this Datastore.

block_volume_ids

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

capacity_in_gbs

Gets the capacity_in_gbs of this Datastore.

cluster_id

Gets the cluster_id of this Datastore.

compartment_id

[Required] Gets the compartment_id of this Datastore.

datastore_cluster_id

Gets the datastore_cluster_id of this Datastore.

defined_tags

Gets the defined_tags of this Datastore.

display_name

[Required] Gets the display_name of this Datastore.

freeform_tags

Gets the freeform_tags of this Datastore.

id

[Required] Gets the id of this Datastore.

lifecycle_state

[Required] Gets the lifecycle_state of this Datastore.

sddc_id

Gets the sddc_id of this Datastore.

system_tags

Gets the system_tags of this Datastore.

time_created

[Required] Gets the time_created of this Datastore.

time_updated

[Required] Gets the time_updated of this Datastore.

Methods:

__init__(**kwargs)

Initializes a new Datastore object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a Datastore. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a Datastore. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a Datastore. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a Datastore. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a Datastore. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a Datastore. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new Datastore 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 Datastore.

  • datastore_cluster_id (str) – The value to assign to the datastore_cluster_id property of this Datastore.

  • block_volume_ids (list[str]) – The value to assign to the block_volume_ids property of this Datastore.

  • block_volume_details (list[oci.ocvp.models.BlockVolumeDetails]) – The value to assign to the block_volume_details property of this Datastore.

  • cluster_id (str) – The value to assign to the cluster_id property of this Datastore.

  • sddc_id (str) – The value to assign to the sddc_id property of this Datastore.

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

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

  • time_created (datetime) – The value to assign to the time_created property of this Datastore.

  • time_updated (datetime) – The value to assign to the time_updated property of this Datastore.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this Datastore. 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 Datastore.

  • capacity_in_gbs (float) – The value to assign to the capacity_in_gbs property of this Datastore.

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

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

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

property availability_domain

[Required] Gets the availability_domain of this Datastore. The availability domain of the Datastore.

Returns

The availability_domain of this Datastore.

Return type

str

property block_volume_details

[Required] Gets the block_volume_details of this Datastore. The list of Block Volume details that belong to the datastore.

Returns

The block_volume_details of this Datastore.

Return type

list[oci.ocvp.models.BlockVolumeDetails]

property block_volume_ids

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

Returns

The block_volume_ids of this Datastore.

Return type

list[str]

property capacity_in_gbs

Gets the capacity_in_gbs of this Datastore. Total size of the datastore in GB.

Returns

The capacity_in_gbs of this Datastore.

Return type

float

property cluster_id

Gets the cluster_id of this Datastore. The `OCID`__ of the VMware Cluster that Datastore is attached to.

Returns

The cluster_id of this Datastore.

Return type

str

property compartment_id

[Required] Gets the compartment_id of this Datastore. The `OCID`__ of the compartment that contains the Datastore.

Returns

The compartment_id of this Datastore.

Return type

str

property datastore_cluster_id

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

Returns

The datastore_cluster_id of this Datastore.

Return type

str

property defined_tags

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

Return type

dict(str, dict(str, object))

property display_name

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

Return type

str

property freeform_tags

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

Return type

dict(str, str)

property id

[Required] Gets the id of this Datastore. The `OCID`__ of the Datastore.

Returns

The id of this Datastore.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this Datastore. The current state of the Datastore.

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 Datastore.

Return type

str

property sddc_id

Gets the sddc_id of this Datastore. The `OCID`__ of the SDDC that Datastore is associated with.

Returns

The sddc_id of this Datastore.

Return type

str

property system_tags

Gets the system_tags of this Datastore. 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 Datastore.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this Datastore. The date and time the Datastore was created, in the format defined by `RFC3339`__. Example: 2016-08-25T21:10:29.600Z

Returns

The time_created of this Datastore.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this Datastore. The date and time the Datastore was updated, in the format defined by `RFC3339`__.

Returns

The time_updated of this Datastore.

Return type

datetime