| 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_091403c5ed334f1dbf4122b6c1dd90aa": {
"#name": "autonomousDatabaseOcid",
"Description": "The OCID of the Autonomous Database.",
"Required": false,
"Type": "string"
}
},
{
"@removed_cccef6a88ca64f8cbf17a7104e80f060": {
"#name": "databaseSizeInTbs",
"Description": "The size of the database in terabytes at the time the backup was taken.",
"Format": "double",
"Required": false,
"Type": "number"
}
},
{
"@removed_294a34ec908e4fb4ac6bfb65c313d79b": {
"#name": "dbVersion",
"Description": "A valid Oracle Database version for Autonomous Database.",
"Required": false,
"Type": "string"
}
},
{
"@removed_cb257a69ca2c492ab5558e2df2c05924": {
"#name": "displayName",
"Description": "The user-friendly name for the backup. The name does not have to be unique.",
"Required": false,
"Type": "string"
}
},
{
"@removed_8c3d4aeaa30b41d4b6fc80c5afab0071": {
"#name": "ocid",
"Description": "The OCID of the Autonomous Database backup.",
"Required": false,
"Type": "string"
}
},
{
"@removed_289dc242a89849ad9d110914cc557d8c": {
"#name": "isAutomatic",
"Description": "Indicates whether the backup is user-initiated or automatic.",
"Required": false,
"Type": "boolean"
}
},
{
"@removed_ec3125fcfcf946958b6c118451c874c0": {
"#name": "isRestorable",
"Description": "Indicates whether the backup can be used to restore the associated Autonomous Database.",
"Required": false,
"Type": "boolean"
}
},
{
"@removed_95e2262c7fa44a48be2e9c2c0cb7f1df": {
"#name": "lifecycleDetails",
"Description": "Additional information about the current lifecycle state.",
"Required": false,
"Type": "string"
}
},
{
"@removed_97c5ebd49dab4a638841e886c99ecfd2": {
"#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_c280d8299d9540c9a7b1823729e40e48": {
"#name": "sizeInTbs",
"Description": "The backup size in terabytes (TB).",
"Format": "double",
"Required": false,
"Type": "number"
}
},
{
"@removed_9f9fbc2282fd46de9c45df319e45c869": {
"#name": "timeAvailableTil",
"Description": "Timestamp until when the backup will be available.",
"Format": "date-time",
"Required": false,
"Type": "string"
}
},
{
"@removed_5ee6339f9a6b42e1a48f64165082b2fa": {
"#name": "timeStarted",
"Description": "The date and time the backup started.",
"Required": false,
"Type": "string"
}
},
{
"@removed_d96580d397784e97b4db4ab48c5aa1d6": {
"#name": "timeEnded",
"Description": "The date and time the backup completed.",
"Required": false,
"Type": "string"
}
},
{
"@removed_695cbee5122c436795585e89854ad28f": {
"#name": "backupType",
"Description": "The type of backup.",
"Enum": [
[
"Incremental",
"Incremental backup"
],
[
"Full",
"Full backup"
],
[
"LongTerm",
"LongTerm backup"
]
],
"Required": false,
"Type": "string"
}
},
{
"@removed_51c39562c3cf45b9949acbecd2f9a055": {
"#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
,
}