Oracle.Database (preview:2025-01-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_f9425ffdccd84a91b80a386be276c2a6": {
              "#name": "autonomousDatabaseOcid",
              "Description": "The OCID of the Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_04b910a444dd4685b26b3efa59e6a57d": {
              "#name": "databaseSizeInTbs",
              "Description": "The size of the database in terabytes at the time the backup was taken.",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_b137c8e8487248298f256169e67d13c6": {
              "#name": "dbVersion",
              "Description": "A valid Oracle Database version for Autonomous Database.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_db5390ce1e6249eb8ee47129d471990b": {
              "#name": "displayName",
              "Description": "The user-friendly name for the backup. The name does not have to be unique.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_d477db72da7d4391b487d3dd17c04bfc": {
              "#name": "ocid",
              "Description": "The OCID of the Autonomous Database backup.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_22e9c059b1b5432e989314a92501b3e3": {
              "#name": "isAutomatic",
              "Description": "Indicates whether the backup is user-initiated or automatic.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_5cbaea31a90e4604a4e9336279e25a2f": {
              "#name": "isRestorable",
              "Description": "Indicates whether the backup can be used to restore the associated Autonomous Database.",
              "Required": false,
              "Type": "boolean"
            }
          },
          {
            "@removed_0d65683188a5472ba4536217008304b2": {
              "#name": "lifecycleDetails",
              "Description": "Additional information about the current lifecycle state.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_d2557b015f0f42cbbe5602cf181f7549": {
              "#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_bfd2ba9420be4ac58ac8a9fa7ceb0160": {
              "#name": "sizeInTbs",
              "Description": "The backup size in terabytes (TB).",
              "Format": "double",
              "Required": false,
              "Type": "number"
            }
          },
          {
            "@removed_bfc4a722f1074c8c892d9d4c639cff00": {
              "#name": "timeAvailableTil",
              "Description": "Timestamp until when the backup will be available.",
              "Format": "date-time",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_336a2b1fbb394605aa14374b52fb6665": {
              "#name": "timeStarted",
              "Description": "The date and time the backup started.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_38cd908c915247369d2f5577844856e4": {
              "#name": "timeEnded",
              "Description": "The date and time the backup completed.",
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_fbed58ab73794769babbb128f3227625": {
              "#name": "backupType",
              "Description": "The type of backup.",
              "Enum": [
                [
                  "Incremental",
                  "Incremental backup"
                ],
                [
                  "Full",
                  "Full backup"
                ],
                [
                  "LongTerm",
                  "LongTerm backup"
                ]
              ],
              "Required": false,
              "Type": "string"
            }
          },
          {
            "@removed_f703070bc4174e3a9154111cd37be2eb": {
              "#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 ,
}
,
]
,
}
,
}