StorageDetails

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

Bases: object

Storage details of the database system.

Methods:

__init__(**kwargs)

Initializes a new StorageDetails 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.

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 StorageDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 StorageDetails.

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

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

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

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 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