DataStorageDetails

class oci.mysql.models.DataStorageDetails(**kwargs)

Bases: object

Data Storage configuration properties.

Methods

__init__(**kwargs) Initializes a new DataStorageDetails object with values from keyword arguments.

Attributes

is_auto_expand_storage_enabled Gets the is_auto_expand_storage_enabled of this DataStorageDetails.
max_storage_size_in_gbs Gets the max_storage_size_in_gbs of this DataStorageDetails.
__init__(**kwargs)

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

Parameters:
  • is_auto_expand_storage_enabled (bool) – The value to assign to the is_auto_expand_storage_enabled property of this DataStorageDetails.
  • max_storage_size_in_gbs (int) – The value to assign to the max_storage_size_in_gbs property of this DataStorageDetails.
is_auto_expand_storage_enabled

Gets the is_auto_expand_storage_enabled of this DataStorageDetails. Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.

Returns:The is_auto_expand_storage_enabled of this DataStorageDetails.
Return type:bool
max_storage_size_in_gbs

Gets the max_storage_size_in_gbs of this DataStorageDetails. Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value.

DB Systems with an initial storage size of 400 GB or less can be expanded up to 32 TB. DB Systems with an initial storage size between 401-800 GB can be expanded up to 64 TB. DB Systems with an initial storage size between 801-1200 GB can be expanded up to 96 TB. DB Systems with an initial storage size of 1201 GB or more can be expanded up to 128 TB.

It is not possible to decrease data storage size. You cannot set the maximum data storage size to less than either current DB System dataStorageSizeInGBs or allocatedStorageSizeInGBs.

Returns:The max_storage_size_in_gbs of this DataStorageDetails.
Return type:int