Oracle.Database (preview:2024-12-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_f8f2419ed5fe43b696c3955e8f454a9d": {
              "#name": "autonomousDatabaseOcid",
              "Description": "The OCID of the Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_76bedb2513894ba18c31339cb57e0401": {
              "#name": "databaseSizeInTbs",
              "Description": "The size of the database in terabytes at the time the backup was taken.",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_b6c0012374ea4561bf5402c5171c7fb1": {
              "#name": "dbVersion",
              "Description": "A valid Oracle Database version for Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_1d6d2b0d42cd42d392a2ac15c88f58a6": {
              "#name": "displayName",
              "Description": "The user-friendly name for the backup. The name does not have to be unique.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_ec4abbbb0bdd4748af7c7514a1856be6": {
              "#name": "ocid",
              "Description": "The OCID of the Autonomous Database backup.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_8bc2dbd4729747b890077a4f99795d55": {
              "#name": "isAutomatic",
              "Description": "Indicates whether the backup is user-initiated or automatic.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_b73ab775b49c44e6aafe81d00321ec4a": {
              "#name": "isRestorable",
              "Description": "Indicates whether the backup can be used to restore the associated Autonomous Database.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_f984ef389a44446ab40e3e7e9f9711ce": {
              "#name": "lifecycleDetails",
              "Description": "Additional information about the current lifecycle state.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_544b54824ad74d99b9aeccae0365595d": {
              "#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_fb63dcc0b6954ccebbaac969b21b6e4a": {
              "#name": "sizeInTbs",
              "Description": "The backup size in terabytes (TB).",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_f5f3292e3515486c8edee32c9c98f94f": {
              "#name": "timeAvailableTil",
              "Description": "Timestamp until when the backup will be available.",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_85d9bdc2c9d647b39e427e26c007bd88": {
              "#name": "timeStarted",
              "Description": "The date and time the backup started.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_11290c4f7e2b45b38fb26929f482bf4e": {
              "#name": "timeEnded",
              "Description": "The date and time the backup completed.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_ff320ff9cba1406c921029dfd524f7f4": {
              "#name": "backupType",
              "Description": "The type of backup.",
              "Enum": [
                [
                  "Incremental",
                  "Incremental backup"
                ],
                [
                  "Full",
                  "Full backup"
                ],
                [
                  "LongTerm",
                  "LongTerm backup"
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_e5afde89b9444385bc79201109aa9744": {
              "#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 ,
}
,
]
,
}
,
}