CompressionOptions

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

Bases: object

The additional compression options used while exporting the DB system backup.

Attributes:

TYPE_GZIP

A constant which can be used with the type property of a CompressionOptions.

TYPE_ZSTD

A constant which can be used with the type property of a CompressionOptions.

is_enabled

Gets the is_enabled of this CompressionOptions.

level

Gets the level of this CompressionOptions.

type

Gets the type of this CompressionOptions.

Methods:

__init__(**kwargs)

Initializes a new CompressionOptions object with values from keyword arguments.

TYPE_GZIP = 'GZIP'

A constant which can be used with the type property of a CompressionOptions. This constant has a value of “GZIP”

TYPE_ZSTD = 'ZSTD'

A constant which can be used with the type property of a CompressionOptions. This constant has a value of “ZSTD”

__init__(**kwargs)

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

Parameters
  • is_enabled (bool) – The value to assign to the is_enabled property of this CompressionOptions.

  • level (int) – The value to assign to the level property of this CompressionOptions.

  • type (str) – The value to assign to the type property of this CompressionOptions. Allowed values for this property are: “GZIP”, “ZSTD”

property is_enabled

Gets the is_enabled of this CompressionOptions. The compression status of the exported data.

Returns

The is_enabled of this CompressionOptions.

Return type

bool

property level

Gets the level of this CompressionOptions. The level of compression to use when creating the dump files.

Returns

The level of this CompressionOptions.

Return type

int

property type

Gets the type of this CompressionOptions. The compression type to use when creating the dump files.

Allowed values for this property are: “GZIP”, “ZSTD”

Returns

The type of this CompressionOptions.

Return type

str