From 6382e5836b0b8735873babb32a128efef4495e27 Mon Sep 17 00:00:00 2001 From: unknown <424401670@qq.com> Date: Sat, 12 Mar 2022 17:31:55 +0800 Subject: [PATCH 1/5] update readme 7_10 --- .../resource-manager/readme.python.md | 30 ++---------------- .../resource-manager/readme.python.md | 11 ++----- .../resource-manager/readme.python.md | 11 ++----- .../resource-manager/readme.python.md | 31 ++----------------- .../sql/resource-manager/readme.python.md | 9 ++---- 5 files changed, 13 insertions(+), 79 deletions(-) diff --git a/specification/connectedvmware/resource-manager/readme.python.md b/specification/connectedvmware/resource-manager/readme.python.md index 9fa557558dac..2101da2c577e 100644 --- a/specification/connectedvmware/resource-manager/readme.python.md +++ b/specification/connectedvmware/resource-manager/readme.python.md @@ -4,18 +4,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. -```yaml $(python) && !$(track2) -python: - python-mode: create - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.connectedvmware - package-name: azure-mgmt-connectedvmware - package-version: 0.1.1 - clear-output-folder: true -``` -```yaml $(python) && $(track2) +```yaml $(python) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -24,21 +13,8 @@ package-name: azure-mgmt-connectedvmware package-version: 0.1.1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/connectedvmware/azure-mgmt-connectedvmware/azure/mgmt/connectedvmware -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/connectedvmware/azure-mgmt-connectedvmware -``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) + +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/connectedvmware/azure-mgmt-connectedvmware/azure/mgmt/connectedvmware ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/connectedvmware/azure-mgmt-connectedvmware -``` diff --git a/specification/notificationhubs/resource-manager/readme.python.md b/specification/notificationhubs/resource-manager/readme.python.md index fde09516ff05..fbc56a0e4821 100644 --- a/specification/notificationhubs/resource-manager/readme.python.md +++ b/specification/notificationhubs/resource-manager/readme.python.md @@ -2,23 +2,18 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. -``` yaml $(python) && $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.notificationhubs package-name: azure-mgmt-notificationhubs +namespace: azure.mgmt.notificationhubs package-version: 7.0.0 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/notificationhubs/azure-mgmt-notificationhubs/azure/mgmt/notificationhubs ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/notificationhubs/azure-mgmt-notificationhubs -``` diff --git a/specification/resourcemover/resource-manager/readme.python.md b/specification/resourcemover/resource-manager/readme.python.md index 0d7425442463..b57eb63c071f 100644 --- a/specification/resourcemover/resource-manager/readme.python.md +++ b/specification/resourcemover/resource-manager/readme.python.md @@ -3,21 +3,16 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -```yaml $(python) && $(track2) +```yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-resourcemover clear-output-folder: true -no-namespace-folders: true +namespace: azure-mgmt-resourcemover package-version: 1.0.0b1 ``` -```yaml $(python) && $(python-mode) == 'update' && $(track2) +```yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/resourcemover/azure-mgmt-resourcemover/azure/mgmt/resourcemover ``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/resourcemover/azure-mgmt-resourcemover -``` diff --git a/specification/scheduler/resource-manager/readme.python.md b/specification/scheduler/resource-manager/readme.python.md index 4365d0801e93..eed96f0ec52d 100644 --- a/specification/scheduler/resource-manager/readme.python.md +++ b/specification/scheduler/resource-manager/readme.python.md @@ -4,19 +4,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. -``` yaml $(python) && !$(track2) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.scheduler - package-name: azure-mgmt-scheduler - package-version: 0.1.0 - clear-output-folder: true -``` - -``` yaml $(python) && $(track2) +``` yaml $(python) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -25,23 +13,8 @@ package-name: azure-mgmt-scheduler package-version: 7.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/scheduler/azure-mgmt-scheduler/azure/mgmt/scheduler -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/scheduler/azure-mgmt-scheduler -``` - -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/scheduler/azure-mgmt-scheduler/azure/mgmt/scheduler -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/scheduler/azure-mgmt-scheduler ``` \ No newline at end of file diff --git a/specification/sql/resource-manager/readme.python.md b/specification/sql/resource-manager/readme.python.md index adf8abfbdd1e..9e08b27a998a 100644 --- a/specification/sql/resource-manager/readme.python.md +++ b/specification/sql/resource-manager/readme.python.md @@ -5,7 +5,7 @@ Please also specify `--python-sdks-folder= Date: Tue, 15 Mar 2022 10:50:58 +0800 Subject: [PATCH 2/5] Update readme.python.md --- specification/connectedvmware/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/connectedvmware/resource-manager/readme.python.md b/specification/connectedvmware/resource-manager/readme.python.md index 2101da2c577e..e852c22d63f5 100644 --- a/specification/connectedvmware/resource-manager/readme.python.md +++ b/specification/connectedvmware/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder= Date: Tue, 15 Mar 2022 10:51:52 +0800 Subject: [PATCH 3/5] Update readme.python.md --- specification/resourcemover/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/resourcemover/resource-manager/readme.python.md b/specification/resourcemover/resource-manager/readme.python.md index b57eb63c071f..61932823600c 100644 --- a/specification/resourcemover/resource-manager/readme.python.md +++ b/specification/resourcemover/resource-manager/readme.python.md @@ -8,7 +8,7 @@ azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-resourcemover clear-output-folder: true -namespace: azure-mgmt-resourcemover +namespace: azure.mgmt.resourcemover package-version: 1.0.0b1 ``` From 7b1730f26c5632477292766adaafe0d3d05881c8 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 15 Mar 2022 10:52:43 +0800 Subject: [PATCH 4/5] Update readme.python.md --- specification/scheduler/resource-manager/readme.python.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/scheduler/resource-manager/readme.python.md b/specification/scheduler/resource-manager/readme.python.md index eed96f0ec52d..77ae55d29466 100644 --- a/specification/scheduler/resource-manager/readme.python.md +++ b/specification/scheduler/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder= Date: Tue, 15 Mar 2022 10:53:20 +0800 Subject: [PATCH 5/5] Update readme.python.md --- specification/sql/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/sql/resource-manager/readme.python.md b/specification/sql/resource-manager/readme.python.md index 9e08b27a998a..fd378b460964 100644 --- a/specification/sql/resource-manager/readme.python.md +++ b/specification/sql/resource-manager/readme.python.md @@ -6,7 +6,6 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat ``` yaml $(python) -python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.sql