UpdateOkeClusterBackupConfigDetails

class oci.disaster_recovery.models.UpdateOkeClusterBackupConfigDetails(**kwargs)

Bases: object

Update backup configuration properties for an OKE member.

Attributes

REPLICATE_IMAGES_DISABLE A constant which can be used with the replicate_images property of a UpdateOkeClusterBackupConfigDetails.
REPLICATE_IMAGES_ENABLE A constant which can be used with the replicate_images property of a UpdateOkeClusterBackupConfigDetails.
backup_schedule Gets the backup_schedule of this UpdateOkeClusterBackupConfigDetails.
image_replication_vault_secret_id Gets the image_replication_vault_secret_id of this UpdateOkeClusterBackupConfigDetails.
max_number_of_backups_retained Gets the max_number_of_backups_retained of this UpdateOkeClusterBackupConfigDetails.
namespaces Gets the namespaces of this UpdateOkeClusterBackupConfigDetails.
replicate_images Gets the replicate_images of this UpdateOkeClusterBackupConfigDetails.

Methods

__init__(**kwargs) Initializes a new UpdateOkeClusterBackupConfigDetails object with values from keyword arguments.
REPLICATE_IMAGES_DISABLE = 'DISABLE'

A constant which can be used with the replicate_images property of a UpdateOkeClusterBackupConfigDetails. This constant has a value of “DISABLE”

REPLICATE_IMAGES_ENABLE = 'ENABLE'

A constant which can be used with the replicate_images property of a UpdateOkeClusterBackupConfigDetails. This constant has a value of “ENABLE”

__init__(**kwargs)

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

Parameters:
  • namespaces (list[str]) – The value to assign to the namespaces property of this UpdateOkeClusterBackupConfigDetails.
  • backup_schedule (str) – The value to assign to the backup_schedule property of this UpdateOkeClusterBackupConfigDetails.
  • replicate_images (str) – The value to assign to the replicate_images property of this UpdateOkeClusterBackupConfigDetails. Allowed values for this property are: “ENABLE”, “DISABLE”
  • max_number_of_backups_retained (int) – The value to assign to the max_number_of_backups_retained property of this UpdateOkeClusterBackupConfigDetails.
  • image_replication_vault_secret_id (str) – The value to assign to the image_replication_vault_secret_id property of this UpdateOkeClusterBackupConfigDetails.
backup_schedule

Gets the backup_schedule of this UpdateOkeClusterBackupConfigDetails. The schedule for backing up namespaces to the destination region. If a backup schedule is not specified, only a single backup will be created. This format of the string specifying the backup schedule must conform with RFC-5545. This schedule will use the UTC timezone. This property applies to the OKE cluster member in primary region.

Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1

Returns:The backup_schedule of this UpdateOkeClusterBackupConfigDetails.
Return type:str
image_replication_vault_secret_id

Gets the image_replication_vault_secret_id of this UpdateOkeClusterBackupConfigDetails. The OCID of the vault secret that stores the image credential. This property applies to the OKE cluster member in both the primary and standby region.

Returns:The image_replication_vault_secret_id of this UpdateOkeClusterBackupConfigDetails.
Return type:str
max_number_of_backups_retained

Gets the max_number_of_backups_retained of this UpdateOkeClusterBackupConfigDetails. The maximum number of backups that should be retained. This property applies to the OKE cluster member in primary region.

Returns:The max_number_of_backups_retained of this UpdateOkeClusterBackupConfigDetails.
Return type:int
namespaces

Gets the namespaces of this UpdateOkeClusterBackupConfigDetails. A list of namespaces that need to be backed up. The default value is null. If a list of namespaces is not provided, all namespaces will be backed up. This property applies to the OKE cluster member in primary region.

Example: [“default”, “pv-nginx”]

Returns:The namespaces of this UpdateOkeClusterBackupConfigDetails.
Return type:list[str]
replicate_images

Gets the replicate_images of this UpdateOkeClusterBackupConfigDetails. Controls the behaviour of image replication across regions. This property applies to the OKE cluster member in primary region.

Allowed values for this property are: “ENABLE”, “DISABLE”

Returns:The replicate_images of this UpdateOkeClusterBackupConfigDetails.
Return type:str