DatastoreInfo¶
- class oci.ocvp.models.DatastoreInfo(**kwargs)¶
Bases:
objectDatastore info for creating an Sddc.
Attributes:
A constant which can be used with the datastore_type property of a DatastoreInfo.
A constant which can be used with the datastore_type property of a DatastoreInfo.
[Required] Gets the block_volume_ids of this DatastoreInfo. A list of `OCID`__s of Block Storage Volumes.
[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’.
- property 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]
- property 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