Skip to content

Commit

Permalink
Added lro-options for dataprotection 2023-01-01, 2023-05-01 (#24715)
Browse files Browse the repository at this point in the history
Co-authored-by: Vishesh Patel <133762830+vishesh155@users.noreply.github.com>
  • Loading branch information
zubairabid and vishesh155 authored Aug 4, 2023
1 parent 0be0006 commit d3d9d53
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,10 @@
"$ref": "./examples/BackupInstanceOperations/TriggerBackup.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup": {
Expand Down Expand Up @@ -1348,7 +1351,10 @@
"$ref": "./examples/BackupInstanceOperations/ValidateForBackup.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/operationResults/{operationId}": {
Expand Down Expand Up @@ -1670,6 +1676,9 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"x-ms-examples": {
"Trigger Restore": {
"$ref": "./examples/BackupInstanceOperations/TriggerRestore.json"
Expand Down Expand Up @@ -2081,6 +2090,9 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"x-ms-examples": {
"Validate Restore": {
"$ref": "./examples/BackupInstanceOperations/ValidateRestore.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,10 @@
"$ref": "./examples/BackupInstanceOperations/TriggerBackup.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup": {
Expand Down Expand Up @@ -1348,7 +1351,10 @@
"$ref": "./examples/BackupInstanceOperations/ValidateForBackup.json"
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/operationResults/{operationId}": {
Expand Down Expand Up @@ -1670,6 +1676,9 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"x-ms-examples": {
"Trigger Restore": {
"$ref": "./examples/BackupInstanceOperations/TriggerRestore.json"
Expand Down Expand Up @@ -2081,6 +2090,9 @@
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"x-ms-examples": {
"Validate Restore": {
"$ref": "./examples/BackupInstanceOperations/ValidateRestore.json"
Expand Down

0 comments on commit d3d9d53

Please sign in to comment.