Class BackupPolicy
The Backup policy for the DB System.
Inherited Members
Namespace: Oci.MysqlService.Models
Assembly: OCI.DotNetSDK.Mysql.dll
Syntax
public class BackupPolicy
Properties
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of predefined tag keys. These predefined keys are scoped to namespaces.
|
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
IsEnabled
Declaration
[Required(ErrorMessage = "IsEnabled is required.")]
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | If automated backups are enabled or disabled. |
Remarks
Required
PitrPolicy
Declaration
[JsonProperty(PropertyName = "pitrPolicy")]
public PitrPolicy PitrPolicy { get; set; }
Property Value
Type | Description |
---|---|
PitrPolicy |
RetentionInDays
Declaration
[Required(ErrorMessage = "RetentionInDays is required.")]
[JsonProperty(PropertyName = "retentionInDays")]
public int? RetentionInDays { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of days automated backups are retained. |
Remarks
Required
WindowStartTime
Declaration
[Required(ErrorMessage = "WindowStartTime is required.")]
[JsonProperty(PropertyName = "windowStartTime")]
public string WindowStartTime { get; set; }
Property Value
Type | Description |
---|---|
string | The start of a 30-minute window of time in which daily, automated backups occur.
|
Remarks
Required