From 8c7aca7f1b778ff6ba937b2e79d08fc851a6f80f Mon Sep 17 00:00:00 2001 From: Zed Lei <59104634+RAY-316@users.noreply.github.com> Date: Wed, 26 May 2021 15:45:57 +0800 Subject: [PATCH] Recoveryservicesbackup t2 (#14551) * sql t2 readme config * readme config * Update readme.python.md * conflient resolve * t2 config * redirect * redirect * redirect Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> --- .../resource-manager/readme.md | 2 +- .../resource-manager/readme.python.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index 712a22a11944..332047f1cd90 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -28,7 +28,7 @@ These are the global settings for the RecoveryServicesBackup API. title: Recovery Services Backup Client description: Open API 2.0 Specs for Azure RecoveryServices Backup service openapi-type: arm -tag: package-2021-03 +tag: package-2021-01 csharp-sdks-folder: ./Generated/CSharp python-sdks-folder: ./Generated/Python go-sdk-folder: ./Generated/Golang diff --git a/specification/recoveryservicesbackup/resource-manager/readme.python.md b/specification/recoveryservicesbackup/resource-manager/readme.python.md index 4a2132a6cf50..67466c86d32a 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.python.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.python.md @@ -44,3 +44,17 @@ output-folder: $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservice basic-setup-py: true output-folder: $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservicesbackup ``` + +``` yaml $(python) && $(track2) +directive: + - from: swagger-document + where: $.definitions.ProtectionIntent + transform: > + $['required'] = ['protectionIntentItemType']; + - from: swagger-document + where: $.definitions.FeatureSupportRequest + transform: > + $['required'] = ['featureType']; + + +``` \ No newline at end of file