OciOptimizedStorageDetails

class oci.psql.models.OciOptimizedStorageDetails(**kwargs)

Bases: StorageDetails

Storage details of the database system.

Methods:

__init__(**kwargs)

Initializes a new OciOptimizedStorageDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes:

availability_domain

Gets the availability_domain of this StorageDetails.

iops

Gets the iops of this OciOptimizedStorageDetails.

is_regionally_durable

[Required] Gets the is_regionally_durable of this StorageDetails.

kms_key_id

Gets the kms_key_id of this StorageDetails.

system_type

[Required] Gets the system_type of this StorageDetails.

__init__(**kwargs)

Initializes a new OciOptimizedStorageDetails object with values from keyword arguments. The default value of the system_type attribute of this class is OCI_OPTIMIZED_STORAGE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • system_type (str) – The value to assign to the system_type property of this OciOptimizedStorageDetails.

  • is_regionally_durable (bool) – The value to assign to the is_regionally_durable property of this OciOptimizedStorageDetails.

  • availability_domain (str) – The value to assign to the availability_domain property of this OciOptimizedStorageDetails.

  • kms_key_id (str) – The value to assign to the kms_key_id property of this OciOptimizedStorageDetails.

  • iops (int) – The value to assign to the iops property of this OciOptimizedStorageDetails.

property availability_domain

Gets the availability_domain of this StorageDetails. Specifies the availability domain of AD-local storage. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.

Returns

The availability_domain of this StorageDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property iops

Gets the iops of this OciOptimizedStorageDetails. Guaranteed input/output storage requests per second (IOPS) available to the database system.

Returns

The iops of this OciOptimizedStorageDetails.

Return type

int

property is_regionally_durable

[Required] Gets the is_regionally_durable of this StorageDetails. Specifies if the block volume used for the database system is regional or AD-local. If not specified, it will be set to false. If isRegionallyDurable is set to true, availabilityDomain should not be specified. If isRegionallyDurable is set to false, availabilityDomain must be specified.

Returns

The is_regionally_durable of this StorageDetails.

Return type

bool

property kms_key_id

Gets the kms_key_id of this StorageDetails. The OCID of the Vault service key to assign as the master encryption key for the database system.

Returns

The kms_key_id of this StorageDetails.

Return type

str

property system_type

[Required] Gets the system_type of this StorageDetails. Type of the database system.

Returns

The system_type of this StorageDetails.

Return type

str