forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Microsoft.DataProtection swagger changes (Azure#13334)
* Microsoft.DataProtection swagger changes * Added example file FindRestorableTimeRanges.json * Adding 202 GetOperationResult (#1) * adding 202 GetOperationResult * added headers Co-authored-by: Mayank Aggarwal <mayaggar@microsoft.com> * pr comments fixes * prettier fixes * adding fix for x-ms-error-response * Added missed DppWorkerRequest object in swagger json * Validation fixes * changes for request * removing objectType Co-authored-by: Mayank Aggarwal <mayankagg9722@gmail.com> Co-authored-by: Mayank Aggarwal <mayaggar@microsoft.com>
- Loading branch information
1 parent
542fa4e
commit 26128b7
Showing
3 changed files
with
271 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...review/2021-02-01-preview/examples/BackupInstanceOperations/FindRestorableTimeRanges.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b", | ||
"resourceGroupName": "Blob-Backup", | ||
"vaultName": "ZBlobBackupVaultBVTD3", | ||
"backupInstances": "zblobbackuptestsa58", | ||
"api-version": "2021-02-01-preview", | ||
"parameters": { | ||
"sourceDataStoreType": "OperationalStore", | ||
"startTime": "2020-10-17T23:28:17.6829685Z", | ||
"endTime": "2021-02-24T00:35:17.6829685Z" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "zblobbackuptestsa58", | ||
"type": "Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges", | ||
"properties": { | ||
"restorableTimeRanges": [ | ||
{ | ||
"startTime": "2021-02-23T18:33:51.6349708Z", | ||
"endTime": "2021-02-24T00:35:17.0000000Z", | ||
"objectType": "RestorableTimeRange" | ||
} | ||
], | ||
"objectType": "AzureBackupFindRestorableTimeRangesResponse" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters