DatastoreInfo

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

Bases: object

Datastore info for creating an Sddc.

Attributes

DATASTORE_TYPE_MANAGEMENT A constant which can be used with the datastore_type property of a DatastoreInfo.
DATASTORE_TYPE_WORKLOAD A constant which can be used with the datastore_type property of a DatastoreInfo.
block_volume_ids [Required] Gets the block_volume_ids of this DatastoreInfo.
datastore_type [Required] Gets the datastore_type of this DatastoreInfo.

Methods

__init__(**kwargs) Initializes a new DatastoreInfo object with values from keyword arguments.
DATASTORE_TYPE_MANAGEMENT = 'MANAGEMENT'

A constant which can be used with the datastore_type property of a DatastoreInfo. This constant has a value of “MANAGEMENT”

DATASTORE_TYPE_WORKLOAD = 'WORKLOAD'

A constant which can be used with the datastore_type property of a DatastoreInfo. This constant has a value of “WORKLOAD”

__init__(**kwargs)

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

Parameters:
  • block_volume_ids (list[str]) – The value to assign to the block_volume_ids property of this DatastoreInfo.
  • datastore_type (str) – The value to assign to the datastore_type property of this DatastoreInfo. 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’.
block_volume_ids

[Required] Gets the block_volume_ids of this DatastoreInfo. A list of `OCID`__s of Block Storage Volumes.

Returns:The block_volume_ids of this DatastoreInfo.
Return type:list[str]
datastore_type

[Required] Gets the datastore_type of this DatastoreInfo. Type of the datastore.

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_type of this DatastoreInfo.
Return type:str