From ff88bb6c667f3bbebb84466c3dfa5a4eccb91401 Mon Sep 17 00:00:00 2001 From: unknown <424401670@qq.com> Date: Mon, 14 Mar 2022 13:44:52 +0800 Subject: [PATCH 1/4] update readme --- .../batch/resource-manager/readme.python.md | 12 +++--------- .../frontdoor/resource-manager/readme.python.md | 10 +++------- .../resource-manager/readme.python.md | 8 ++------ .../resource-manager/readme.python.md | 10 +++------- .../reservations/resource-manager/readme.python.md | 11 +++-------- 5 files changed, 14 insertions(+), 37 deletions(-) diff --git a/specification/batch/resource-manager/readme.python.md b/specification/batch/resource-manager/readme.python.md index 4d29c125de77..c4b6d1b1e0e7 100644 --- a/specification/batch/resource-manager/readme.python.md +++ b/specification/batch/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.batch @@ -13,12 +13,6 @@ package-version: 14.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true -output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch/azure/mgmt/batch -``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch -``` +output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch/azure/mgmt/batch \ No newline at end of file diff --git a/specification/frontdoor/resource-manager/readme.python.md b/specification/frontdoor/resource-manager/readme.python.md index bc5e26c8a89d..a75b6714fe54 100644 --- a/specification/frontdoor/resource-manager/readme.python.md +++ b/specification/frontdoor/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) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -14,11 +14,7 @@ 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)/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/network/azure-mgmt-frontdoor -``` +``` \ No newline at end of file diff --git a/specification/guestconfiguration/resource-manager/readme.python.md b/specification/guestconfiguration/resource-manager/readme.python.md index bd040ac8456d..868ce1fe7a97 100644 --- a/specification/guestconfiguration/resource-manager/readme.python.md +++ b/specification/guestconfiguration/resource-manager/readme.python.md @@ -13,11 +13,7 @@ package-name: azure-mgmt-guestconfig 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)/machinelearning/azure-mgmt-guestconfig/azure/mgmt/guestconfig -``` -``` yaml $(python) && $(python-mode) == 'create' -basic-setup-py: true -output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-guestconfig -``` +``` \ No newline at end of file diff --git a/specification/machinelearningcompute/resource-manager/readme.python.md b/specification/machinelearningcompute/resource-manager/readme.python.md index 03495b585d25..a5842c5d12e3 100644 --- a/specification/machinelearningcompute/resource-manager/readme.python.md +++ b/specification/machinelearningcompute/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) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -14,11 +14,7 @@ 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)/machinelearning/azure-mgmt-machinelearningcompute/azure/mgmt/machinelearningcompute -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-machinelearningcompute -``` +``` \ No newline at end of file diff --git a/specification/reservations/resource-manager/readme.python.md b/specification/reservations/resource-manager/readme.python.md index d9bd9e5db1df..825e203b1e90 100644 --- a/specification/reservations/resource-manager/readme.python.md +++ b/specification/reservations/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.reservations @@ -13,11 +13,6 @@ 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)/reservations/azure-mgmt-reservations/azure/mgmt/reservations -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations -``` \ No newline at end of file +output-folder: $(python-sdks-folder)/reservations/azure-mgmt-reservations/azure/mgmt/reservations \ No newline at end of file From 6f3eb49a5672e06ef4ea23aa859043f9659e1e86 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 15 Mar 2022 10:57:04 +0800 Subject: [PATCH 2/4] Update readme.python.md --- specification/frontdoor/resource-manager/readme.python.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/frontdoor/resource-manager/readme.python.md b/specification/frontdoor/resource-manager/readme.python.md index a75b6714fe54..785423ade822 100644 --- a/specification/frontdoor/resource-manager/readme.python.md +++ b/specification/frontdoor/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder= Date: Tue, 15 Mar 2022 10:57:30 +0800 Subject: [PATCH 3/4] Update readme.python.md --- .../guestconfiguration/resource-manager/readme.python.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/guestconfiguration/resource-manager/readme.python.md b/specification/guestconfiguration/resource-manager/readme.python.md index 868ce1fe7a97..ec59e359e288 100644 --- a/specification/guestconfiguration/resource-manager/readme.python.md +++ b/specification/guestconfiguration/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder= Date: Tue, 15 Mar 2022 10:57:49 +0800 Subject: [PATCH 4/4] Update readme.python.md --- .../machinelearningcompute/resource-manager/readme.python.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/machinelearningcompute/resource-manager/readme.python.md b/specification/machinelearningcompute/resource-manager/readme.python.md index a5842c5d12e3..b73a11979c4d 100644 --- a/specification/machinelearningcompute/resource-manager/readme.python.md +++ b/specification/machinelearningcompute/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder=