From 90654ac3594611e15a7274cd5a1c1a1761e3c96c Mon Sep 17 00:00:00 2001 From: unknown <424401670@qq.com> Date: Mon, 14 Mar 2022 16:23:44 +0800 Subject: [PATCH 1/3] update readme --- .../resource-manager/readme.python.md | 11 +++-------- .../resource-manager/readme.python.md | 9 ++------- .../serialconsole/resource-manager/readme.python.md | 8 ++------ .../servicelinker/resource-manager/readme.python.md | 13 ++++--------- .../subscription/resource-manager/readme.python.md | 6 +----- 5 files changed, 12 insertions(+), 35 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/readme.python.md b/specification/alertsmanagement/resource-manager/readme.python.md index c0946a274a69..18edc4ca3a65 100644 --- a/specification/alertsmanagement/resource-manager/readme.python.md +++ b/specification/alertsmanagement/resource-manager/readme.python.md @@ -5,7 +5,7 @@ Please also specify `--python-sdks-folder=`. -```yaml $(python) && $(track2) +```yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.customproviders @@ -12,12 +12,7 @@ package-version: 1.0.0b1 clear-output-folder: true ``` - -```yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/customproviders/azure-mgmt-customproviders -``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/customproviders/azure-mgmt-customproviders/azure/mgmt/customproviders ``` diff --git a/specification/serialconsole/resource-manager/readme.python.md b/specification/serialconsole/resource-manager/readme.python.md index 0ed58db2fbd3..bdb9b4976e5e 100644 --- a/specification/serialconsole/resource-manager/readme.python.md +++ b/specification/serialconsole/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: 0.1.0 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/serialconsole/azure-mgmt-serialconsole/azure/mgmt/serialconsole -``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/serialconsole/azure-mgmt-serialconsole ``` \ No newline at end of file diff --git a/specification/servicelinker/resource-manager/readme.python.md b/specification/servicelinker/resource-manager/readme.python.md index 3302a43185d0..07d5dae67222 100644 --- a/specification/servicelinker/resource-manager/readme.python.md +++ b/specification/servicelinker/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 $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-servicelinker -no-namespace-folders: true +namespace: azure.mgmt.servicelinker 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)/servicelinker/azure-mgmt-servicelinker/azure/mgmt/servicelinker -``` - -``` yaml $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/servicelinker/azure-mgmt-servicelinker -``` +``` \ No newline at end of file diff --git a/specification/subscription/resource-manager/readme.python.md b/specification/subscription/resource-manager/readme.python.md index 85e1d3960602..8f3c0031b47e 100644 --- a/specification/subscription/resource-manager/readme.python.md +++ b/specification/subscription/resource-manager/readme.python.md @@ -15,11 +15,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)/subscription/azure-mgmt-subscription/azure/mgmt/subscription ``` -``` yaml $(python) && $(python-mode) == 'create' -basic-setup-py: true -output-folder: $(python-sdks-folder)/subscription/azure-mgmt-subscription -``` From b96019a1c4b278a072303a4ae6b68084b952a762 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 15 Mar 2022 11:02:33 +0800 Subject: [PATCH 2/3] Update readme.python.md --- specification/serialconsole/resource-manager/readme.python.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/serialconsole/resource-manager/readme.python.md b/specification/serialconsole/resource-manager/readme.python.md index bdb9b4976e5e..590b6f37090d 100644 --- a/specification/serialconsole/resource-manager/readme.python.md +++ b/specification/serialconsole/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder= Date: Tue, 15 Mar 2022 11:03:10 +0800 Subject: [PATCH 3/3] Update readme.python.md --- specification/subscription/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/subscription/resource-manager/readme.python.md b/specification/subscription/resource-manager/readme.python.md index 8f3c0031b47e..5dedac3dcd76 100644 --- a/specification/subscription/resource-manager/readme.python.md +++ b/specification/subscription/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.subscription