Oracle.Database (stable:2025-03-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_ff318f8c192c4d06b7e5b1d4e6a21ef7": {
              "#name": "autonomousDatabaseOcid",
              "Description": "The OCID of the Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_4128208d25e848c0acd40481ed038a57": {
              "#name": "databaseSizeInTbs",
              "Description": "The size of the database in terabytes at the time the backup was taken.",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_29ccb8c5524a4a7bbc603ae4937c2c21": {
              "#name": "dbVersion",
              "Description": "A valid Oracle Database version for Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_5aea5eab827a41638664afd350c4690f": {
              "#name": "displayName",
              "Description": "The user-friendly name for the backup. The name does not have to be unique.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_8eada69b48d34bce8235b905148f247d": {
              "#name": "ocid",
              "Description": "The OCID of the Autonomous Database backup.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_d548bada78bc49aa98fad076b061c938": {
              "#name": "isAutomatic",
              "Description": "Indicates whether the backup is user-initiated or automatic.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_dce3b88441c74e94913eb01bd9fb917f": {
              "#name": "isRestorable",
              "Description": "Indicates whether the backup can be used to restore the associated Autonomous Database.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_cc74e138203049bfac5375a747639d39": {
              "#name": "lifecycleDetails",
              "Description": "Additional information about the current lifecycle state.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_8117060a664549e19656c5a1e83cf72c": {
              "#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_3b45fa1b93c54183824f071fa0ee8777": {
              "#name": "sizeInTbs",
              "Description": "The backup size in terabytes (TB).",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_fd23db6c36e54ad2980f1ce138ea92e5": {
              "#name": "timeAvailableTil",
              "Description": "Timestamp until when the backup will be available.",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_b6ecf7168c3e46c584b7e913fee71f20": {
              "#name": "timeStarted",
              "Description": "The date and time the backup started.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_5975f34bc832463bb9266748c7aaeda2": {
              "#name": "timeEnded",
              "Description": "The date and time the backup completed.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_3cb2db5b4139453ea70f663c793dab07": {
              "#name": "backupType",
              "Description": "The type of backup.",
              "Enum": [
                [
                  "Incremental",
                  "Incremental backup"
                ],
                [
                  "Full",
                  "Full backup"
                ],
                [
                  "LongTerm",
                  "LongTerm backup"
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_8ded2e1f627144a4893bd1c82eca3551": {
              "#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 ,
}
,
]
,
}
,
}