Oracle.Database (preview:2024-10-01)

2025/06/04 • 1 updated methods

AutonomousDatabaseBackups_Update (updated)
Description Update a AutonomousDatabaseBackup
Reference Link ¶

⚶ Changes

{
  "#id": "AutonomousDatabaseBackups_Update",
  "$parameters": {
    "properties": {
      "Description": {
        "new": "The type used for update operations of the AutonomousDatabaseBackup.",
        "old": "AutonomousDatabaseBackup resource definition"
      },
      "$properties": {
        "properties": [
          {
            "@removed_46d9bd3270cc4804a7c453af2087c94d": {
              "#name": "autonomousDatabaseOcid",
              "Description": "The OCID of the Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_a86df17160dd4910b08723821512b020": {
              "#name": "databaseSizeInTbs",
              "Description": "The size of the database in terabytes at the time the backup was taken.",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_8fb2311626fa4d10a9a8ed544099f82f": {
              "#name": "dbVersion",
              "Description": "A valid Oracle Database version for Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_5d3e2e5c4bc244fd83d00d6623c9c69c": {
              "#name": "displayName",
              "Description": "The user-friendly name for the backup. The name does not have to be unique.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_c5a75e40a84747b39f6bbe921ffe5d1d": {
              "#name": "ocid",
              "Description": "The OCID of the Autonomous Database backup.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_a84fff0352a244f084bffc887c91fb15": {
              "#name": "isAutomatic",
              "Description": "Indicates whether the backup is user-initiated or automatic.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_f37f8498dd4842bcaf47d3e8e747c7a9": {
              "#name": "isRestorable",
              "Description": "Indicates whether the backup can be used to restore the associated Autonomous Database.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_1d4cf248aad042baae9b5ee863ed2e88": {
              "#name": "lifecycleDetails",
              "Description": "Additional information about the current lifecycle state.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_6bf56264a46747bf858421b24d69817f": {
              "#name": "lifecycleState",
              "Description": "The current state of the backup.",
              "Enum": [
                [
                  "Creating",
                  "AutonomousDatabase backup is creating"
                ],
                [
                  "Active",
                  "AutonomousDatabase backup is active"
                ],
                [
                  "Deleting",
                  "AutonomousDatabase backup is deleting"
                ],
                [
                  "Failed",
                  "AutonomousDatabase backup is failed"
                ],
                [
                  "Updating",
                  "AutonomousDatabase backup is updating"
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_d3e5c029dc6b4bb78ddc2008890916a3": {
              "#name": "sizeInTbs",
              "Description": "The backup size in terabytes (TB).",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_5c0b1cc399bb41a29e6b89cb87ce1c07": {
              "#name": "timeAvailableTil",
              "Description": "Timestamp until when the backup will be available.",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_1570c9e5c5ce47b3b58237407cc648dd": {
              "#name": "timeStarted",
              "Description": "The date and time the backup started.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_5a78a6e1a74546c091c9cfe5b90c78fe": {
              "#name": "timeEnded",
              "Description": "The date and time the backup completed.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_1342d90036ce42fda1bbe68e1301145b": {
              "#name": "backupType",
              "Description": "The type of backup.",
              "Enum": [
                [
                  "Incremental",
                  "Incremental backup"
                ],
                [
                  "Full",
                  "Full backup"
                ],
                [
                  "LongTerm",
                  "LongTerm backup"
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_44d53c0c07f94f8a904b5a31d38f1f22": {
              "#name": "provisioningState",
              "Description": "Azure resource provisioning state.",
              "Enum": [
                [
                  "Succeeded",
                  "Resource has been created."
                ],
                [
                  "Failed",
                  "Resource creation failed."
                ],
                [
                  "Canceled",
                  "Resource creation was canceled."
                ],
                [
                  "Provisioning",
                  "Indicates that resource in Provisioning state"
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/autonomousDatabaseBackups/{adbbackupid}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
autonomousdatabasename: string ,
adbbackupid: string ,
properties:
{
properties:
{
retentionPeriodInDays: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
autonomousDatabaseOcid: string ,
databaseSizeInTbs: number ,
dbVersion: string ,
displayName: string ,
ocid: string ,
isAutomatic: boolean ,
isRestorable: boolean ,
lifecycleDetails: string ,
lifecycleState: enum ,
retentionPeriodInDays: integer ,
sizeInTbs: number ,
timeAvailableTil: string ,
timeStarted: string ,
timeEnded: string ,
backupType: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}