/** * MySQL Database Service API * The API for the MySQL Database Service * OpenAPI spec version: 20190415 * Contact: mysql-cloud-dev_ww_grp@oracle.com * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ /** * The Deletion policy for the DB System. */ export interface DeletionPolicyDetails { /** * Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted. * */ "automaticBackupRetention": DeletionPolicyDetails.AutomaticBackupRetention; /** * 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. * */ "finalBackup": DeletionPolicyDetails.FinalBackup; /** * Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. * */ "isDeleteProtected": boolean; } export declare namespace DeletionPolicyDetails { enum AutomaticBackupRetention { Delete = "DELETE", Retain = "RETAIN", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum FinalBackup { SkipFinalBackup = "SKIP_FINAL_BACKUP", RequireFinalBackup = "REQUIRE_FINAL_BACKUP", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: DeletionPolicyDetails): object; function getDeserializedJsonObj(obj: DeletionPolicyDetails): object; }