Show / Hide Table of Contents

Class CreateOkeClusterBackupConfigDetails

Create backup configuration properties for an OKE member.

Inheritance
object
CreateOkeClusterBackupConfigDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DisasterrecoveryService.Models
Assembly: OCI.DotNetSDK.Disasterrecovery.dll
Syntax
public class CreateOkeClusterBackupConfigDetails

Properties

BackupSchedule

Declaration
[JsonProperty(PropertyName = "backupSchedule")]
public string BackupSchedule { get; set; }
Property Value
Type Description
string

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 (see examples below). This schedule will use the UTC timezone. This property applies to the OKE cluster member in primary region.
The backup frequency can be HOURLY, DAILY, WEEKLY or MONTHLY, and the upper and lower interval bounds are as follows HOURLY - Minimum = 1 - Maximum = 24 DAILY - Minimum = 1 - Maximum = 30 WEEKLY - Minimum = 1 - Maximum = 1 MONTHLY - Minimum = 1 - Maximum = 12
Examples: FREQ=WEEKLY;BYDAY=MO,WE;BYHOUR=10;INTERVAL=1 -> Run a backup every Monday and Wednesday at 10:00 AM. FREQ=WEEKLY;BYDAY=MO,WE;BYHOUR=10;INTERVAL=2 -> Invalid configuration (Cannot specify an interval of 2).
FREQ=HOURLY;INTERVAL=25 -> Invalid configuration (Cannot specify an interval of 25). FREQ=HOURLY;INTERVAL=0 -> Invalid configuration (Cannot specify an interval of 0). FREQ=HOURLY;INTERVAL=24 -> Run a backup every 24 hours. FREQ=HOURLY;INTERVAL=1 -> Run a backup every hour. FREQ=HOURLY;BYMINUTE=30;INTERVAL=15 -> Run a backup every 15 hours at the 30th minute.

    FREQ=DAILY;INTERVAL=31 -> Invalid configuration (Cannot specify an interval of 31).
    FREQ=DAILY;INTERVAL=0 -> Invalid configuration (Cannot specify an interval of 0).
    FREQ=DAILY;INTERVAL=30 -> Run a backup every 30 days at 12:00 midnight. 
    FREQ=DAILY;BYHOUR=17;BYMINUTE=10;INTERVAL=1 -> Run a backup daily at 05:10 PM.

ImageReplicationVaultSecretId

Declaration
[JsonProperty(PropertyName = "imageReplicationVaultSecretId")]
public string ImageReplicationVaultSecretId { get; set; }
Property Value
Type Description
string

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.

MaxNumberOfBackupsRetained

Declaration
[JsonProperty(PropertyName = "maxNumberOfBackupsRetained")]
public int? MaxNumberOfBackupsRetained { get; set; }
Property Value
Type Description
int?

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

Namespaces

Declaration
[JsonProperty(PropertyName = "namespaces")]
public List<string> Namespaces { get; set; }
Property Value
Type Description
List<string>

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

ReplicateImages

Declaration
[JsonProperty(PropertyName = "replicateImages")]
[JsonConverter(typeof(StringEnumConverter))]
public OkeClusterImageReplication? ReplicateImages { get; set; }
Property Value
Type Description
OkeClusterImageReplication?

Controls the behaviour of image replication across regions. Image replication is enabled by default for DR Protection Groups with a primary role. This property applies to the OKE cluster member in primary region.

In this article
Back to top