From ee870a3ec760bb029236ad790ffaa410f0b57b0b Mon Sep 17 00:00:00 2001 From: "ZiWei Chen (WICRESOFT NORTH AMERICA LTD)" Date: Mon, 14 Mar 2022 09:48:56 +0800 Subject: [PATCH 1/5] Update readme.python.md --- .../azurestack/resource-manager/readme.python.md | 10 +++------- .../resource-manager/readme.python.md | 11 +++-------- .../netapp/resource-manager/readme.python.md | 10 +++------- specification/relay/resource-manager/readme.python.md | 10 +++------- .../resource-manager/readme.python.md | 11 +++-------- 5 files changed, 15 insertions(+), 37 deletions(-) diff --git a/specification/azurestack/resource-manager/readme.python.md b/specification/azurestack/resource-manager/readme.python.md index 743c17a3b419..48dc004f6634 100644 --- a/specification/azurestack/resource-manager/readme.python.md +++ b/specification/azurestack/resource-manager/readme.python.md @@ -4,20 +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 -namespace: azure.mgmt.azurestack +namespace: azure.mgmt.[[azurestack]] package-name: azure-mgmt-azurestack 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)/azurestack/azure-mgmt-azurestack/azure/mgmt/azurestack -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/azurestack/azure-mgmt-azurestack ``` \ No newline at end of file diff --git a/specification/containerinstance/resource-manager/readme.python.md b/specification/containerinstance/resource-manager/readme.python.md index 92fe9161d69d..7370a5ae913c 100644 --- a/specification/containerinstance/resource-manager/readme.python.md +++ b/specification/containerinstance/resource-manager/readme.python.md @@ -4,21 +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 -namespace: azure.mgmt.containerinstance +namespace: azure.mgmt.[[containerinstance]] package-name: azure-mgmt-containerinstance 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)/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance ``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance -``` diff --git a/specification/netapp/resource-manager/readme.python.md b/specification/netapp/resource-manager/readme.python.md index 7f66bdd60b0b..87103c63cd83 100644 --- a/specification/netapp/resource-manager/readme.python.md +++ b/specification/netapp/resource-manager/readme.python.md @@ -4,21 +4,17 @@ 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.netapp +namespace: azure.mgmt.[[netapp]] package-name: azure-mgmt-netapp package-version: 5.1.0 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/netapp/azure-mgmt-netapp/azure/mgmt/netapp ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/netapp/azure-mgmt-netapp -``` diff --git a/specification/relay/resource-manager/readme.python.md b/specification/relay/resource-manager/readme.python.md index 1baadf5f4b96..3806a261fe85 100644 --- a/specification/relay/resource-manager/readme.python.md +++ b/specification/relay/resource-manager/readme.python.md @@ -4,20 +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 -namespace: azure.mgmt.relay +namespace: azure.mgmt.[[relay]] package-name: azure-mgmt-relay 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)/relay/azure-mgmt-relay/azure/mgmt/relay ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/relay/azure-mgmt-relay -``` diff --git a/specification/resourceconnector/resource-manager/readme.python.md b/specification/resourceconnector/resource-manager/readme.python.md index 340ff3700bde..25dbed6bfd65 100644 --- a/specification/resourceconnector/resource-manager/readme.python.md +++ b/specification/resourceconnector/resource-manager/readme.python.md @@ -5,20 +5,15 @@ Please also specify `--python-sdks-folder= Date: Mon, 14 Mar 2022 18:04:03 +0800 Subject: [PATCH 2/5] Update readme.python.md --- specification/azurestack/resource-manager/readme.python.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/azurestack/resource-manager/readme.python.md b/specification/azurestack/resource-manager/readme.python.md index 48dc004f6634..cb63d29cf04f 100644 --- a/specification/azurestack/resource-manager/readme.python.md +++ b/specification/azurestack/resource-manager/readme.python.md @@ -7,7 +7,7 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat ``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.[[azurestack]] +namespace: azure.mgmt.azurestack package-name: azure-mgmt-azurestack package-version: 1.0.0b1 clear-output-folder: true @@ -16,4 +16,4 @@ clear-output-folder: true ``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/azurestack/azure-mgmt-azurestack/azure/mgmt/azurestack -``` \ No newline at end of file +``` From 33273011c8ddf91811caead952abc904cf158a6a Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 14 Mar 2022 18:04:58 +0800 Subject: [PATCH 3/5] Update readme.python.md --- .../containerinstance/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerinstance/resource-manager/readme.python.md b/specification/containerinstance/resource-manager/readme.python.md index 7370a5ae913c..4f323b3e3112 100644 --- a/specification/containerinstance/resource-manager/readme.python.md +++ b/specification/containerinstance/resource-manager/readme.python.md @@ -7,7 +7,7 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat ```yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.[[containerinstance]] +namespace: azure.mgmt.containerinstance package-name: azure-mgmt-containerinstance package-version: 1.0.0b1 clear-output-folder: true From 89f6defe0c2d0ed58a25a2864d764e32079fea53 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 14 Mar 2022 18:05:17 +0800 Subject: [PATCH 4/5] Update readme.python.md --- specification/netapp/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/netapp/resource-manager/readme.python.md b/specification/netapp/resource-manager/readme.python.md index 87103c63cd83..271daf8938f0 100644 --- a/specification/netapp/resource-manager/readme.python.md +++ b/specification/netapp/resource-manager/readme.python.md @@ -7,7 +7,7 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat ``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.[[netapp]] +namespace: azure.mgmt.netapp package-name: azure-mgmt-netapp package-version: 5.1.0 clear-output-folder: true From 78c740349acb28572fe43faa51c716e38d19aff4 Mon Sep 17 00:00:00 2001 From: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Date: Mon, 14 Mar 2022 18:05:39 +0800 Subject: [PATCH 5/5] Update readme.python.md --- specification/relay/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/relay/resource-manager/readme.python.md b/specification/relay/resource-manager/readme.python.md index 3806a261fe85..e9af2901a140 100644 --- a/specification/relay/resource-manager/readme.python.md +++ b/specification/relay/resource-manager/readme.python.md @@ -7,7 +7,7 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat ``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION -namespace: azure.mgmt.[[relay]] +namespace: azure.mgmt.relay package-name: azure-mgmt-relay package-version: 1.0.0b1 clear-output-folder: true