From 11e052c6c48954b1e97cdd385bc32423cc2d6c93 Mon Sep 17 00:00:00 2001 From: "ZiWei Chen (WICRESOFT NORTH AMERICA LTD)" Date: Tue, 15 Mar 2022 14:18:29 +0800 Subject: [PATCH 1/5] update readme.python.md --- .../advisor/resource-manager/readme.python.md | 8 ++--- .../resource-manager/readme.python.md | 31 ++----------------- .../resource-manager/readme.python.md | 9 ++---- .../resource-manager/readme.python.md | 30 ++---------------- .../portal/resource-manager/readme.python.md | 8 ++--- .../quantum/resource-manager/readme.python.md | 7 +---- .../resource-manager/readme.python.md | 10 ++---- .../resource-manager/readme.python.md | 10 ++---- 8 files changed, 20 insertions(+), 93 deletions(-) diff --git a/specification/advisor/resource-manager/readme.python.md b/specification/advisor/resource-manager/readme.python.md index 4fc829a9b050..1ac39d226032 100644 --- a/specification/advisor/resource-manager/readme.python.md +++ b/specification/advisor/resource-manager/readme.python.md @@ -4,7 +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) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.advisor @@ -13,12 +13,8 @@ package-version: 9.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/advisor/azure-mgmt-advisor/azure/mgmt/advisor ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/advisor/azure-mgmt-advisor -``` diff --git a/specification/botservice/resource-manager/readme.python.md b/specification/botservice/resource-manager/readme.python.md index e933f98a0492..ad716a65c6c9 100644 --- a/specification/botservice/resource-manager/readme.python.md +++ b/specification/botservice/resource-manager/readme.python.md @@ -4,19 +4,9 @@ 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.botservice - package-name: azure-mgmt-botservice - package-version: 1.0.0 - clear-output-folder: true -``` -``` yaml $(python) && $(track2) + +``` yaml $(python) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -26,24 +16,9 @@ package-version: 0.2.0 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/botservice/azure-mgmt-botservice/azure/mgmt/botservice -``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/botservice/azure-mgmt-botservice/azure/mgmt/botservice ``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/botservice/azure-mgmt-botservice -``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/botservice/azure-mgmt-botservice -``` diff --git a/specification/datalake-store/resource-manager/readme.python.md b/specification/datalake-store/resource-manager/readme.python.md index 9202aa9e9cd9..6453571674b2 100644 --- a/specification/datalake-store/resource-manager/readme.python.md +++ b/specification/datalake-store/resource-manager/readme.python.md @@ -4,19 +4,16 @@ 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 package-name: azure-mgmt-datalake-store +namespace: azure.mgmt.datalake-store package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store/azure/mgmt/datalake/store ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/datalake/azure-mgmt-datalake-store -``` diff --git a/specification/managedservices/resource-manager/readme.python.md b/specification/managedservices/resource-manager/readme.python.md index a14444330699..d1d6592a4330 100644 --- a/specification/managedservices/resource-manager/readme.python.md +++ b/specification/managedservices/resource-manager/readme.python.md @@ -4,18 +4,8 @@ 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.managedservices - package-name: azure-mgmt-managedservices - 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,21 +15,7 @@ package-version: 0.1.0 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/managedservices/azure-mgmt-managedservices/azure/mgmt/managedservices -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/managedservices/azure-mgmt-managedservices -``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/managedservices/azure-mgmt-managedservices/azure/mgmt/managedservices ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/managedservices/azure-mgmt-managedservices -``` diff --git a/specification/portal/resource-manager/readme.python.md b/specification/portal/resource-manager/readme.python.md index 91e4f117d28f..145b33301bce 100644 --- a/specification/portal/resource-manager/readme.python.md +++ b/specification/portal/resource-manager/readme.python.md @@ -3,7 +3,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.portal @@ -12,12 +12,8 @@ package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/portal/azure-mgmt-portal/azure/mgmt/portal ``` -``` yaml $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/portal/azure-mgmt-portal -``` diff --git a/specification/quantum/resource-manager/readme.python.md b/specification/quantum/resource-manager/readme.python.md index ecd683e49ba9..346c401361ea 100644 --- a/specification/quantum/resource-manager/readme.python.md +++ b/specification/quantum/resource-manager/readme.python.md @@ -13,12 +13,7 @@ package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/quantum/azure-mgmt-quantum/azure/mgmt/quantum ``` - -``` yaml $(python) && $(python-mode) == 'create' -basic-setup-py: true -output-folder: $(python-sdks-folder)/quantum/azure-mgmt-quantum -``` diff --git a/specification/storagecache/resource-manager/readme.python.md b/specification/storagecache/resource-manager/readme.python.md index 12d59d78664f..2d2f494e4213 100644 --- a/specification/storagecache/resource-manager/readme.python.md +++ b/specification/storagecache/resource-manager/readme.python.md @@ -4,19 +4,15 @@ 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 package-name: azure-mgmt-storagecache -no-namespace-folders: true +namespace: azure.mgmt.storagecache package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagecache/azure/mgmt/storagecache ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagecache -``` diff --git a/specification/storageimportexport/resource-manager/readme.python.md b/specification/storageimportexport/resource-manager/readme.python.md index 956d40130148..b383dd00e7b9 100644 --- a/specification/storageimportexport/resource-manager/readme.python.md +++ b/specification/storageimportexport/resource-manager/readme.python.md @@ -4,19 +4,15 @@ 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 package-name: azure-mgmt-storageimportexport -no-namespace-folders: true +namespace: azure.mgmt.storageimportexport package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/storage/azure-mgmt-storageimportexport/azure/mgmt/storageimportexport ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/storage/azure-mgmt-storageimportexport -``` From f04c4e661a96941a120f51c42341a850a852a379 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 15 Mar 2022 17:46:36 +0800 Subject: [PATCH 2/5] Update readme.python.md --- specification/botservice/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/botservice/resource-manager/readme.python.md b/specification/botservice/resource-manager/readme.python.md index ad716a65c6c9..da1273d67b8b 100644 --- a/specification/botservice/resource-manager/readme.python.md +++ b/specification/botservice/resource-manager/readme.python.md @@ -7,7 +7,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.botservice From f295763fe324cde13a892149643c2f67ff4b002c Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 15 Mar 2022 17:47:09 +0800 Subject: [PATCH 3/5] Update readme.python.md --- specification/datalake-store/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/datalake-store/resource-manager/readme.python.md b/specification/datalake-store/resource-manager/readme.python.md index 6453571674b2..1d1ef5461965 100644 --- a/specification/datalake-store/resource-manager/readme.python.md +++ b/specification/datalake-store/resource-manager/readme.python.md @@ -8,7 +8,7 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-datalake-store -namespace: azure.mgmt.datalake-store +namespace: azure.mgmt.datalake.store package-version: 1.0.0b1 clear-output-folder: true ``` From f7afe2704a2dc495ad245ba10ec2b81deac633b1 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 15 Mar 2022 17:47:28 +0800 Subject: [PATCH 4/5] Update readme.python.md --- specification/managedservices/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/managedservices/resource-manager/readme.python.md b/specification/managedservices/resource-manager/readme.python.md index d1d6592a4330..06b74b4c2129 100644 --- a/specification/managedservices/resource-manager/readme.python.md +++ b/specification/managedservices/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.managedservices From 947333e51a47a11269064ddd0cb1eafa057a621f Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Tue, 15 Mar 2022 17:48:20 +0800 Subject: [PATCH 5/5] Update readme.python.md --- specification/quantum/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/quantum/resource-manager/readme.python.md b/specification/quantum/resource-manager/readme.python.md index 346c401361ea..57bd74ae2254 100644 --- a/specification/quantum/resource-manager/readme.python.md +++ b/specification/quantum/resource-manager/readme.python.md @@ -4,7 +4,6 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. ```yaml $(python) -python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.quantum