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.
Adding backupUsageSummaries API in 2018-12-20 version[Passive stamp] (A…
…zure#14309) * Adding backupUsageSummaries API in 2018-12-20 version[Passive stamp] * Adding example * Adding example * Adding default error response * Fixing operationId * Revert "Fixing operationId" This reverts commit f7327d7. * Fixing operationId for getbackupusageSummaries * Adding nextLink * Adding nextLink in definition * Update * Reverting nextLink
- Loading branch information
1 parent
13e436c
commit 745c564
Showing
3 changed files
with
263 additions
and
0 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
62 changes: 62 additions & 0 deletions
62
...overyServices/stable/2018-12-20/examples/Common/BackupProtectedItem_UsageSummary_Get.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,62 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testRG", | ||
"vaultName": "testVault", | ||
"api-version": "2017-07-01", | ||
"$filter": "type eq 'BackupProtectedItemCountSummary'" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"unit": "Count", | ||
"currentValue": 7, | ||
"limit": -1, | ||
"name": { | ||
"value": "AzureIaasVM", | ||
"localizedValue": "Azure Virtual Machine" | ||
} | ||
}, | ||
{ | ||
"unit": "Count", | ||
"currentValue": 3, | ||
"limit": -1, | ||
"name": { | ||
"value": "MAB", | ||
"localizedValue": "Azure Backup Agent" | ||
} | ||
}, | ||
{ | ||
"unit": "Count", | ||
"currentValue": 1, | ||
"limit": -1, | ||
"name": { | ||
"value": "AzureBackupServer", | ||
"localizedValue": "Azure Backup Server" | ||
} | ||
}, | ||
{ | ||
"unit": "Count", | ||
"currentValue": 2, | ||
"limit": -1, | ||
"name": { | ||
"value": "AzureStorage", | ||
"localizedValue": "Azure Storage (Azure Files)" | ||
} | ||
}, | ||
{ | ||
"unit": "Count", | ||
"currentValue": 2, | ||
"limit": -1, | ||
"name": { | ||
"value": "AzureWorkload", | ||
"localizedValue": "SQL in Azure VM" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...rvices/stable/2018-12-20/examples/Common/BackupProtectionContainers_UsageSummary_Get.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,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "testRG", | ||
"vaultName": "testVault", | ||
"api-version": "2017-07-01", | ||
"$filter": "type eq 'BackupProtectionContainerCountSummary'" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"unit": "Count", | ||
"currentValue": 2, | ||
"limit": -1, | ||
"name": { | ||
"value": "AzureBackupServer", | ||
"localizedValue": "Azure Backup Server" | ||
} | ||
}, | ||
{ | ||
"unit": "Count", | ||
"currentValue": 3, | ||
"limit": -1, | ||
"name": { | ||
"value": "MAB", | ||
"localizedValue": "Azure Backup Agent" | ||
} | ||
}, | ||
{ | ||
"unit": "Count", | ||
"currentValue": 1, | ||
"limit": -1, | ||
"name": { | ||
"value": "AzureWorkload", | ||
"localizedValue": "SQL in Azure VM" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |