From 75a8b7507c6d242fb8b894cb89d5d0a8fcfa380d Mon Sep 17 00:00:00 2001 From: Pratima Upadhyay Date: Thu, 25 Mar 2021 14:10:04 +0530 Subject: [PATCH] Adding AADProperties query object for CRR (#13447) * Adding AADProperties query object for CRR * Update * Update * Fixing spell check * Update * Update --- custom-words.txt | 3 +- .../stable/2018-12-20/bms.json | 33 +++++++++++++++++++ .../resource-manager/readme.md | 3 +- 3 files changed, 36 insertions(+), 3 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index d8051f6b626f..01e223144c5f 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2112,4 +2112,5 @@ Zilla ziplist Zoho zoneinfo -zset \ No newline at end of file +zset +BMSAAD \ No newline at end of file diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2018-12-20/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2018-12-20/bms.json index 9c0444e29cc9..f90db234bde3 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2018-12-20/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2018-12-20/bms.json @@ -37,6 +37,13 @@ }, { "$ref": "#/parameters/SubscriptionId" + }, + { + "name": "$filter", + "in": "query", + "description": "OData filter options.", + "required": false, + "type": "string" } ], "responses": { @@ -53,6 +60,7 @@ } } }, + "x-ms-odata": "#/definitions/BMSAADPropertiesQueryObject", "x-ms-examples": { "Get AAD Properties for authentication in the third region": { "$ref": "./examples/AzureIaasVm/BackupAadProperties_Get.json" @@ -3064,6 +3072,31 @@ }, "discriminator": "jobType" }, + "BMSAADPropertiesQueryObject": { + "description": "Filters to list backup items.", + "type": "object", + "properties": { + "backupManagementType": { + "description": "Backup management type for the backed up item.", + "enum": [ + "Invalid", + "AzureIaasVM", + "MAB", + "DPM", + "AzureBackupServer", + "AzureSql", + "AzureStorage", + "AzureWorkload", + "DefaultBackup" + ], + "type": "string", + "x-ms-enum": { + "name": "BackupManagementType", + "modelAsString": true + } + } + } + }, "JobQueryObject": { "description": "Filters to list the jobs.", "type": "object", diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index 79e4db1168e5..b6fed349b178 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -250,5 +250,4 @@ See configuration in [readme.java.md](./readme.java.md) ## AzureResourceSchema -See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) - +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) \ No newline at end of file