From 4b4ade5a6c59b51cfe1ea7381d9c5d4134ff8efa Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Mon, 24 Jan 2022 17:21:41 +0800 Subject: [PATCH 1/2] config readme and python --- .../resources/resource-manager/readme.md | 4 ++++ .../resource-manager/readme.python.md | 23 +++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index dc31314e2441..c74e1724a1f2 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -28,6 +28,10 @@ These are the global settings for the Resource API. openapi-type: arm ``` +``` yaml $(package-privatelinks) +tag: package-privatelinks-2020-05 +``` + ``` yaml $(package-features) tag: package-features-2021-07 ``` diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/readme.python.md index d77f2eeeccf3..bdfb1124e51c 100644 --- a/specification/resources/resource-manager/readme.python.md +++ b/specification/resources/resource-manager/readme.python.md @@ -18,6 +18,8 @@ Generate all API versions currently shipped for this package ```yaml $(multiapi) && $(track2) clear-output-folder: true batch: + - tag: package-privatelinks-2020-05 + - multiapiscript-features: true - tag: package-features-2021-07 - tag: package-features-2015-12 - multiapiscript-features: true @@ -70,6 +72,14 @@ batch: - multiapiscript-templatespecs: true ``` +```yaml $(multiapiscript-privatelinks) +package-name: azure-mgmt-resource#privatelinks +multiapiscript: true +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks +clear-output-folder: false +perform-load: false +``` + ```yaml $(multiapiscript-features) package-name: azure-mgmt-resource#features multiapiscript: true @@ -136,6 +146,19 @@ clear-output-folder: false perform-load: false ``` +### Tag: package-privatelinks-2020-05 and python + +These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-privatelinks-2020-05' +namespace: azure.mgmt.resource.privatelinks.v2020_05_01 +output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks/v2020_05_01 +python: + namespace: azure.mgmt.resource.privatelinks.v2020_05_01 + output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks/v2020_05_01 +``` + ### Tag: package-features-2021-07 and python These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line. From f38c9b9dc092669971fc5abf3094268869bfd0da Mon Sep 17 00:00:00 2001 From: BigCat20196 <1095260342@qq.com> Date: Mon, 24 Jan 2022 17:55:03 +0800 Subject: [PATCH 2/2] config python --- specification/resources/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/readme.python.md index bdfb1124e51c..5270477e4615 100644 --- a/specification/resources/resource-manager/readme.python.md +++ b/specification/resources/resource-manager/readme.python.md @@ -19,7 +19,7 @@ Generate all API versions currently shipped for this package clear-output-folder: true batch: - tag: package-privatelinks-2020-05 - - multiapiscript-features: true + - multiapiscript-privatelinks: true - tag: package-features-2021-07 - tag: package-features-2015-12 - multiapiscript-features: true