Oracle.Database (preview:2024-08-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_3b80097f42b4426ca0ceb94d295d5337": {
              "#name": "autonomousDatabaseOcid",
              "Description": "The OCID of the Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_a89c2de9385f48349e1f584c5157bcef": {
              "#name": "databaseSizeInTbs",
              "Description": "The size of the database in terabytes at the time the backup was taken.",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_b00e0c061c29430ea6efaf74297f818a": {
              "#name": "dbVersion",
              "Description": "A valid Oracle Database version for Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_0ee75932de084a78873ce1028b871d03": {
              "#name": "displayName",
              "Description": "The user-friendly name for the backup. The name does not have to be unique.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_7488194ca1ec444a8337cd917994e7dc": {
              "#name": "ocid",
              "Description": "The OCID of the Autonomous Database backup.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_d3f022ceffab46109b6ed7f57283d275": {
              "#name": "isAutomatic",
              "Description": "Indicates whether the backup is user-initiated or automatic.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_54f6ab734c6041c9ad394d510c3156ec": {
              "#name": "isRestorable",
              "Description": "Indicates whether the backup can be used to restore the associated Autonomous Database.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_6143de4be5fc484bb9523140e539de63": {
              "#name": "lifecycleDetails",
              "Description": "Additional information about the current lifecycle state.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_cb2a07b8b0364023bfd17305d567d067": {
              "#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_22212b3ca7e4429fafdea2cc0d4e1615": {
              "#name": "sizeInTbs",
              "Description": "The backup size in terabytes (TB).",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_2b07929812374f9e87f8f61727a3b8a8": {
              "#name": "timeAvailableTil",
              "Description": "Timestamp until when the backup will be available.",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_84d0f7cfb9de4f348868e03587abf7a6": {
              "#name": "timeStarted",
              "Description": "The date and time the backup started.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_a948a9771fa54477a5c55b3347e97c0c": {
              "#name": "timeEnded",
              "Description": "The date and time the backup completed.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_9aac86d8306e49daad016f3e4ee51781": {
              "#name": "backupType",
              "Description": "The type of backup.",
              "Enum": [
                [
                  "Incremental",
                  "Incremental backup"
                ],
                [
                  "Full",
                  "Full backup"
                ],
                [
                  "LongTerm",
                  "LongTerm backup"
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_77807b1c7e6745ac80e7ab522afdbdac": {
              "#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 ,
}
,
]
,
}
,
}