From 7da44464ccc9d9253e8d03e43653094271971f55 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 10 May 2022 08:34:17 +0000 Subject: [PATCH] CodeGen from PR 18901 in Azure/azure-rest-api-specs Swagger fix for MUA for RSV and Dpp (#18901) * manual swagger fix * adding change to newer version * swagger fix * Empty-Commit Co-authored-by: Charan MVS --- .../Microsoft.RecoveryServices.Backup.json | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/schemas/2022-02-01/Microsoft.RecoveryServices.Backup.json b/schemas/2022-02-01/Microsoft.RecoveryServices.Backup.json index 104136967e..ea0661f70a 100644 --- a/schemas/2022-02-01/Microsoft.RecoveryServices.Backup.json +++ b/schemas/2022-02-01/Microsoft.RecoveryServices.Backup.json @@ -408,9 +408,42 @@ "2022-02-01" ] }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, "name": { "type": "string" }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceGuardProxyBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, "type": { "type": "string", "enum": [ @@ -421,6 +454,7 @@ "required": [ "apiVersion", "name", + "properties", "type" ], "description": "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies" @@ -3811,6 +3845,44 @@ }, "description": "Base class for backup policy. Workload-specific backup policies are derived from this class." }, + "ResourceGuardOperationDetail": { + "type": "object", + "properties": { + "defaultResourceRequest": { + "type": "string" + }, + "vaultCriticalOperation": { + "type": "string" + } + } + }, + "ResourceGuardProxyBase": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "lastUpdatedTime": { + "type": "string" + }, + "resourceGuardOperationDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceGuardOperationDetail" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceGuardResourceId": { + "type": "string" + } + } + }, "ResourceHealthDetails": { "type": "object", "properties": {},