DatastoreDetails¶
- class oci.ocvp.models.DatastoreDetails(**kwargs)¶
Bases:
objectDatastore details for a getting an Sddc.
Attributes:
A constant which can be used with the datastore_type property of a DatastoreDetails.
A constant which can be used with the datastore_type property of a DatastoreDetails.
[Required] Gets the block_volume_ids of this DatastoreDetails. A list of `OCID`__s of Block Storage Volumes.
[Required] Gets the capacity of this DatastoreDetails.
[Required] Gets the datastore_type of this DatastoreDetails.
Methods:
__init__(**kwargs)Initializes a new DatastoreDetails object with values from keyword arguments.
- DATASTORE_TYPE_MANAGEMENT = 'MANAGEMENT'¶
A constant which can be used with the datastore_type property of a DatastoreDetails. This constant has a value of “MANAGEMENT”
- DATASTORE_TYPE_WORKLOAD = 'WORKLOAD'¶
A constant which can be used with the datastore_type property of a DatastoreDetails. This constant has a value of “WORKLOAD”
- __init__(**kwargs)¶
Initializes a new DatastoreDetails 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 DatastoreDetails.
datastore_type (str) – The value to assign to the datastore_type property of this DatastoreDetails. 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’.
capacity (float) – The value to assign to the capacity property of this DatastoreDetails.
- property block_volume_ids¶
[Required] Gets the block_volume_ids of this DatastoreDetails. A list of `OCID`__s of Block Storage Volumes.
- Returns
The block_volume_ids of this DatastoreDetails.
- Return type
list[str]
- property capacity¶
[Required] Gets the capacity of this DatastoreDetails. Size of the Block Storage Volume in GB.
- Returns
The capacity of this DatastoreDetails.
- Return type
float
- property datastore_type¶
[Required] Gets the datastore_type of this DatastoreDetails. 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 DatastoreDetails.
- Return type
str