From 3a18b76301c7ba056af0cd04a4b99a4c7984d853 Mon Sep 17 00:00:00 2001 From: unknown <424401670@qq.com> Date: Sat, 12 Mar 2022 16:39:06 +0800 Subject: [PATCH 1/2] update readme 2_5 --- .../attestation/resource-manager/readme.python.md | 13 ++----------- .../azurestackhci/resource-manager/readme.python.md | 10 +++------- .../resource-manager/readme.python.md | 9 ++------- .../resource-manager/readme.python.md | 9 ++------- 4 files changed, 9 insertions(+), 32 deletions(-) diff --git a/specification/attestation/resource-manager/readme.python.md b/specification/attestation/resource-manager/readme.python.md index 04f82b281991..96c4a24bffdd 100644 --- a/specification/attestation/resource-manager/readme.python.md +++ b/specification/attestation/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.attestation @@ -15,16 +15,7 @@ modelerfour: lenient-model-deduplication: true ``` -``` yaml $(python) && $(python-mode) == 'update' && $(track2) +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation/azure/mgmt/attestation ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation -``` - -``` yaml $(python) && $(track2) -modelerfour: - lenient-model-deduplication: true -``` diff --git a/specification/azurestackhci/resource-manager/readme.python.md b/specification/azurestackhci/resource-manager/readme.python.md index 60ef8a5dcc18..f28cc6b8122f 100644 --- a/specification/azurestackhci/resource-manager/readme.python.md +++ b/specification/azurestackhci/resource-manager/readme.python.md @@ -3,19 +3,15 @@ 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-azurestackhci -no-namespace-folders: true +namespace-folders: azure-mgmt-azurestackhci 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)/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/azurestackhci ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/azurestackhci/azure-mgmt-azurestackhci -``` diff --git a/specification/sqlvirtualmachine/resource-manager/readme.python.md b/specification/sqlvirtualmachine/resource-manager/readme.python.md index 41109e916a5a..2bd52fce8803 100644 --- a/specification/sqlvirtualmachine/resource-manager/readme.python.md +++ b/specification/sqlvirtualmachine/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,12 +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)/sql/azure-mgmt-sqlvirtualmachine/azure/mgmt/sqlvirtualmachine -``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/sql/azure-mgmt-sqlvirtualmachine ``` \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/readme.python.md b/specification/trafficmanager/resource-manager/readme.python.md index 13ca7fc5fb51..4ebf43f5e5be 100644 --- a/specification/trafficmanager/resource-manager/readme.python.md +++ b/specification/trafficmanager/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.trafficmanager @@ -12,12 +12,7 @@ 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)/trafficmanager/azure-mgmt-trafficmanager/azure/mgmt/trafficmanager ``` - -``` yaml $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/trafficmanager/azure-mgmt-trafficmanager -``` From c96d819d66c609c62bf8db36b2c5a2f0932834ac Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 15 Mar 2022 10:49:02 +0800 Subject: [PATCH 2/2] Update readme.python.md --- specification/azurestackhci/resource-manager/readme.python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/azurestackhci/resource-manager/readme.python.md b/specification/azurestackhci/resource-manager/readme.python.md index f28cc6b8122f..f3bb3527fcff 100644 --- a/specification/azurestackhci/resource-manager/readme.python.md +++ b/specification/azurestackhci/resource-manager/readme.python.md @@ -7,7 +7,7 @@ Please also specify `--python-sdks-folder=