BackupSetting

class oci.data_science.models.BackupSetting(**kwargs)

Bases: object

Back up setting details of the model.

Attributes:

CUSTOMER_NOTIFICATION_TYPE_ALL

A constant which can be used with the customer_notification_type property of a BackupSetting.

CUSTOMER_NOTIFICATION_TYPE_NONE

A constant which can be used with the customer_notification_type property of a BackupSetting.

CUSTOMER_NOTIFICATION_TYPE_ON_FAILURE

A constant which can be used with the customer_notification_type property of a BackupSetting.

CUSTOMER_NOTIFICATION_TYPE_ON_SUCCESS

A constant which can be used with the customer_notification_type property of a BackupSetting.

backup_region

[Required] Gets the backup_region of this BackupSetting.

customer_notification_type

Gets the customer_notification_type of this BackupSetting.

is_backup_enabled

[Required] Gets the is_backup_enabled of this BackupSetting.

Methods:

__init__(**kwargs)

Initializes a new BackupSetting object with values from keyword arguments.

CUSTOMER_NOTIFICATION_TYPE_ALL = 'ALL'

A constant which can be used with the customer_notification_type property of a BackupSetting. This constant has a value of “ALL”

CUSTOMER_NOTIFICATION_TYPE_NONE = 'NONE'

A constant which can be used with the customer_notification_type property of a BackupSetting. This constant has a value of “NONE”

CUSTOMER_NOTIFICATION_TYPE_ON_FAILURE = 'ON_FAILURE'

A constant which can be used with the customer_notification_type property of a BackupSetting. This constant has a value of “ON_FAILURE”

CUSTOMER_NOTIFICATION_TYPE_ON_SUCCESS = 'ON_SUCCESS'

A constant which can be used with the customer_notification_type property of a BackupSetting. This constant has a value of “ON_SUCCESS”

__init__(**kwargs)

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

Parameters
  • is_backup_enabled (bool) – The value to assign to the is_backup_enabled property of this BackupSetting.

  • backup_region (str) – The value to assign to the backup_region property of this BackupSetting.

  • customer_notification_type (str) – The value to assign to the customer_notification_type property of this BackupSetting. Allowed values for this property are: “NONE”, “ALL”, “ON_FAILURE”, “ON_SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property backup_region

[Required] Gets the backup_region of this BackupSetting. OCI backup region for the model.

Returns

The backup_region of this BackupSetting.

Return type

str

property customer_notification_type

Gets the customer_notification_type of this BackupSetting. Customer notification on backup success/failure events.

Allowed values for this property are: “NONE”, “ALL”, “ON_FAILURE”, “ON_SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The customer_notification_type of this BackupSetting.

Return type

str

property is_backup_enabled

[Required] Gets the is_backup_enabled of this BackupSetting. Boolean flag representing whether backup needs to be enabled/disabled for the model.

Returns

The is_backup_enabled of this BackupSetting.

Return type

bool