Show / Hide Table of Contents

Class DeletionPolicyDetails

The Deletion policy for the DB System.

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

Properties

AutomaticBackupRetention

Declaration
[Required(ErrorMessage = "AutomaticBackupRetention is required.")]
[JsonProperty(PropertyName = "automaticBackupRetention")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DeletionPolicyDetails.AutomaticBackupRetentionEnum? AutomaticBackupRetention { get; set; }
Property Value
Type Description
DeletionPolicyDetails.AutomaticBackupRetentionEnum?

Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.

Remarks

Required

FinalBackup

Declaration
[Required(ErrorMessage = "FinalBackup is required.")]
[JsonProperty(PropertyName = "finalBackup")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DeletionPolicyDetails.FinalBackupEnum? FinalBackup { get; set; }
Property Value
Type Description
DeletionPolicyDetails.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.

Remarks

Required

IsDeleteProtected

Declaration
[Required(ErrorMessage = "IsDeleteProtected is required.")]
[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.

Remarks

Required

In this article
Back to top