From 9b9507d3cc4f700906f2f169963d798a76d1eb35 Mon Sep 17 00:00:00 2001 From: unknown <424401670@qq.com> Date: Tue, 28 Jun 2022 17:17:03 +0800 Subject: [PATCH 1/9] update_resourceconnector --- .../resource-manager/readme.python.md | 37 ++++--------------- 1 file changed, 8 insertions(+), 29 deletions(-) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index e69b7693bb48..3f6355011fc3 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -3,40 +3,25 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. - -These settings apply only when `--python` is specified on the command line. - -``` yaml !$(track2) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - package-name: azure-mgmt-resourceconnector - clear-output-folder: true - no-namespace-folders: true -``` - -These settings apply only when `--track2` is specified on the command line. - -``` yaml $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-resourceconnector namespace: azure.mgmt.resourceconnector package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) no-namespace-folders: true +output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector ``` ### Python multi-api Generate all API versions currently shipped for this package -```yaml $(multiapi) && !$(track2) -batch: - - tag: package-2022-04-15-preview -``` - -```yaml $(multiapi) && $(track2) -clear-output-folder: true +```yaml $(multiapi) batch: - tag: package-2022-04-15-preview - multiapiscript: true @@ -56,9 +41,6 @@ Please also specify `--python-sdks-folder= Date: Tue, 28 Jun 2022 17:22:33 +0800 Subject: [PATCH 2/9] Update readme.python.md --- .../resourceconnector/resource-manager/readme.python.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index 3f6355011fc3..2f1725be3019 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -21,7 +21,7 @@ output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnec Generate all API versions currently shipped for this package -```yaml $(multiapi) +```yaml $(python) batch: - tag: package-2022-04-15-preview - multiapiscript: true @@ -51,4 +51,4 @@ Please also specify `--python-sdks-folder= Date: Tue, 28 Jun 2022 17:24:01 +0800 Subject: [PATCH 3/9] Update readme.python.md --- .../resourceconnector/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index 2f1725be3019..79ba9e229693 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -29,7 +29,6 @@ batch: ``` yaml $(multiapiscript) output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/ -clear-output-folder: false perform-load: false ``` From a54b033b90a1b86b2d1e41f315f3107891617984 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 28 Jun 2022 17:48:20 +0800 Subject: [PATCH 4/9] Update readme.python.md --- .../resourceconnector/resource-manager/readme.python.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index 79ba9e229693..1a9243eff4c7 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -22,6 +22,8 @@ output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnec Generate all API versions currently shipped for this package ```yaml $(python) +multiapi: true +clear-output-folder: true batch: - tag: package-2022-04-15-preview - multiapiscript: true From 04ce86b6fcf2dea7f278cb30887abe037b0a9cc7 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 28 Jun 2022 18:09:39 +0800 Subject: [PATCH 5/9] Update readme.python.md --- .../resourceconnector/resource-manager/readme.python.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index 1a9243eff4c7..08b19e139a0e 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -26,6 +26,7 @@ multiapi: true clear-output-folder: true batch: - tag: package-2022-04-15-preview + - tag: package-2021-10-31-preview - multiapiscript: true ``` @@ -40,8 +41,8 @@ These settings apply only when `--tag=package-2021-10-31-preview --python` is sp Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2021-10-31-preview' -namespace: azure.mgmt.resourceconnector.v2021-10-31-preview -output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/v2021-10-31-preview +namespace: azure.mgmt.resourceconnector.v2021_10_31_preview +output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/v2021_10_31_preview ``` ### Tag: package-2022-04-15-preview and python @@ -50,6 +51,6 @@ These settings apply only when `--tag=package-2022-04-15-preview --python` is sp Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2022-04-15-preview' -namespace: azure.mgmt.resourceconnector.2022-04-15-preview -output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/2022-04-15-preview +namespace: azure.mgmt.resourceconnector.2022_04_15_preview +output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/2022_04_15_preview ``` From 5032632d207c2238dfad39e3269cc7da30bfea84 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 28 Jun 2022 18:18:11 +0800 Subject: [PATCH 6/9] Update readme.python.md --- .../resourceconnector/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index 08b19e139a0e..9381385f8d8b 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -26,7 +26,6 @@ multiapi: true clear-output-folder: true batch: - tag: package-2022-04-15-preview - - tag: package-2021-10-31-preview - multiapiscript: true ``` From 9ce97786e80f745eaf04252000f125c574e4e43e Mon Sep 17 00:00:00 2001 From: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com> Date: Wed, 29 Jun 2022 09:21:05 +0800 Subject: [PATCH 7/9] Update readme.python.md --- .../resourceconnector/resource-manager/readme.python.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index 9381385f8d8b..16eb1bdb603f 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -7,16 +7,11 @@ Please also specify `--python-sdks-folder= Date: Thu, 30 Jun 2022 10:04:21 +0800 Subject: [PATCH 8/9] Update readme.python.md --- .../resource-manager/readme.python.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index 16eb1bdb603f..81fbeba433d2 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -29,6 +29,16 @@ output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnec perform-load: false ``` +### Tag: package-2022-04-15-preview and python + +These settings apply only when `--tag=package-2022-04-15-preview --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2022-04-15-preview' +namespace: azure.mgmt.resourceconnector.2022_04_15_preview +output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/2022_04_15_preview +``` + ### Tag: package-2021-10-31-preview and python These settings apply only when `--tag=package-2021-10-31-preview --python` is specified on the command line. @@ -39,12 +49,4 @@ namespace: azure.mgmt.resourceconnector.v2021_10_31_preview output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/v2021_10_31_preview ``` -### Tag: package-2022-04-15-preview and python - -These settings apply only when `--tag=package-2022-04-15-preview --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2022-04-15-preview' -namespace: azure.mgmt.resourceconnector.2022_04_15_preview -output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/2022_04_15_preview -``` From cfbaa864f5c35e38c9f857cdba890f7c2474ffef Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Thu, 30 Jun 2022 10:14:05 +0800 Subject: [PATCH 9/9] Update readme.python.md --- .../resource-manager/readme.python.md | 42 ++----------------- 1 file changed, 4 insertions(+), 38 deletions(-) diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index 81fbeba433d2..9fc171412315 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -7,46 +7,12 @@ Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2022-04-15-preview' -namespace: azure.mgmt.resourceconnector.2022_04_15_preview -output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/2022_04_15_preview -``` - -### Tag: package-2021-10-31-preview and python - -These settings apply only when `--tag=package-2021-10-31-preview --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2021-10-31-preview' -namespace: azure.mgmt.resourceconnector.v2021_10_31_preview -output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector/v2021_10_31_preview +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/resourceconnector/azure-mgmt-resourceconnector/azure/mgmt/resourceconnector ``` - -