Class CreateDeletionPolicyDetails
Policy for how the DB System and related resources should be handled at the time of its deletion.
Inherited Members
Namespace: Oci.MysqlService.Models
Assembly: OCI.DotNetSDK.Mysql.dll
Syntax
public class CreateDeletionPolicyDetails
Properties
AutomaticBackupRetention
Declaration
[JsonProperty(PropertyName = "automaticBackupRetention")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDeletionPolicyDetails.AutomaticBackupRetentionEnum? AutomaticBackupRetention { get; set; }
Property Value
Type | Description |
---|---|
CreateDeletionPolicyDetails.AutomaticBackupRetentionEnum? | Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted. |
FinalBackup
Declaration
[JsonProperty(PropertyName = "finalBackup")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateDeletionPolicyDetails.FinalBackupEnum? FinalBackup { get; set; }
Property Value
Type | Description |
---|---|
CreateDeletionPolicyDetails.FinalBackupEnum? | Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. |
IsDeleteProtected
Declaration
[JsonProperty(PropertyName = "isDeleteProtected")]
public bool? IsDeleteProtected { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. |