DatastoreSummary

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

Bases: object

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

The Datastore can be attached to multiple ESXi hosts.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a DatastoreSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a DatastoreSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a DatastoreSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a DatastoreSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DatastoreSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a DatastoreSummary.
availability_domain [Required] Gets the availability_domain of this DatastoreSummary.
block_volume_details [Required] Gets the block_volume_details of this DatastoreSummary.
block_volume_ids [Required] Gets the block_volume_ids of this DatastoreSummary.
capacity_in_gbs Gets the capacity_in_gbs of this DatastoreSummary.
cluster_id Gets the cluster_id of this DatastoreSummary.
compartment_id [Required] Gets the compartment_id of this DatastoreSummary.
datastore_cluster_id Gets the datastore_cluster_id of this DatastoreSummary.
defined_tags Gets the defined_tags of this DatastoreSummary.
display_name [Required] Gets the display_name of this DatastoreSummary.
freeform_tags Gets the freeform_tags of this DatastoreSummary.
id [Required] Gets the id of this DatastoreSummary.
lifecycle_state [Required] Gets the lifecycle_state of this DatastoreSummary.
sddc_id Gets the sddc_id of this DatastoreSummary.
system_tags Gets the system_tags of this DatastoreSummary.
time_created [Required] Gets the time_created of this DatastoreSummary.

Methods

__init__(**kwargs) Initializes a new DatastoreSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

Initializes a new DatastoreSummary 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 DatastoreSummary.
  • cluster_id (str) – The value to assign to the cluster_id property of this DatastoreSummary.
  • sddc_id (str) – The value to assign to the sddc_id property of this DatastoreSummary.
  • block_volume_ids (list[str]) – The value to assign to the block_volume_ids property of this DatastoreSummary.
  • block_volume_details (list[oci.ocvp.models.BlockVolumeDetails]) – The value to assign to the block_volume_details property of this DatastoreSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this DatastoreSummary.
  • display_name (str) – The value to assign to the display_name property of this DatastoreSummary.
  • datastore_cluster_id (str) – The value to assign to the datastore_cluster_id property of this DatastoreSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DatastoreSummary. 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’.
  • time_created (datetime) – The value to assign to the time_created property of this DatastoreSummary.
  • availability_domain (str) – The value to assign to the availability_domain property of this DatastoreSummary.
  • capacity_in_gbs (float) – The value to assign to the capacity_in_gbs property of this DatastoreSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DatastoreSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DatastoreSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DatastoreSummary.
availability_domain

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

Returns:The availability_domain of this DatastoreSummary.
Return type:str
block_volume_details

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

Returns:The block_volume_details of this DatastoreSummary.
Return type:list[oci.ocvp.models.BlockVolumeDetails]
block_volume_ids

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

Returns:The block_volume_ids of this DatastoreSummary.
Return type:list[str]
capacity_in_gbs

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

Returns:The capacity_in_gbs of this DatastoreSummary.
Return type:float
cluster_id

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

Returns:The cluster_id of this DatastoreSummary.
Return type:str
compartment_id

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

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

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

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

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

[Required] Gets the display_name of this DatastoreSummary. 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 DatastoreSummary.
Return type:str
freeform_tags

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

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

Returns:The id of this DatastoreSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this DatastoreSummary. 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 DatastoreSummary.
Return type:str
sddc_id

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

Returns:The sddc_id of this DatastoreSummary.
Return type:str
system_tags

Gets the system_tags of this DatastoreSummary. 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 DatastoreSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this DatastoreSummary. The date and time the SDDC was created, in the format defined by `RFC3339`__.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this DatastoreSummary.
Return type:datetime