From 1dc36eebd149656533469542e4de5ea6e5d2b04e Mon Sep 17 00:00:00 2001 From: unknown <424401670@qq.com> Date: Mon, 14 Mar 2022 17:59:51 +0800 Subject: [PATCH 1/4] update readme --- .../cosmos-db/resource-manager/readme.python.md | 8 ++------ specification/maps/resource-manager/readme.python.md | 8 ++------ specification/msi/resource-manager/readme.python.md | 10 +++------- .../powerbidedicated/resource-manager/readme.python.md | 8 ++------ .../recoveryservices/resource-manager/readme.python.md | 9 ++------- .../resource-manager/readme.python.md | 9 ++------- .../synapse/resource-manager/readme.python.md | 10 +++------- 7 files changed, 16 insertions(+), 46 deletions(-) diff --git a/specification/cosmos-db/resource-manager/readme.python.md b/specification/cosmos-db/resource-manager/readme.python.md index d2fa34664776..253295969768 100644 --- a/specification/cosmos-db/resource-manager/readme.python.md +++ b/specification/cosmos-db/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: update azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION @@ -16,11 +16,7 @@ modelerfour: lenient-model-deduplication: true ``` -``` yaml $(python) && $(python-mode) == 'update' +``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb ``` -``` yaml $(python) && $(python-mode) == 'create' -basic-setup-py: true -output-folder: $(python-sdks-folder)/cosmos/azure-mgmt-cosmosdb -``` diff --git a/specification/maps/resource-manager/readme.python.md b/specification/maps/resource-manager/readme.python.md index d4591dab403f..af0e3c26f280 100644 --- a/specification/maps/resource-manager/readme.python.md +++ b/specification/maps/resource-manager/readme.python.md @@ -5,7 +5,7 @@ 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-msi -no-namespace-folders: true +namespace: azure.mgmt.msi 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)/resources/azure-mgmt-msi/azure/mgmt/msi ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/resources/azure-mgmt-msi -``` diff --git a/specification/powerbidedicated/resource-manager/readme.python.md b/specification/powerbidedicated/resource-manager/readme.python.md index a26c50aa83a5..b24fec601779 100644 --- a/specification/powerbidedicated/resource-manager/readme.python.md +++ b/specification/powerbidedicated/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.powerbidedicated @@ -13,13 +13,9 @@ 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)/powerbidedicated/azure-mgmt-powerbidedicated/azure/mgmt/powerbidedicated ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/powerbidedicated/azure-mgmt-powerbidedicated -``` diff --git a/specification/recoveryservices/resource-manager/readme.python.md b/specification/recoveryservices/resource-manager/readme.python.md index 6691aa8e3cb2..7a2815f81cb4 100644 --- a/specification/recoveryservices/resource-manager/readme.python.md +++ b/specification/recoveryservices/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.recoveryservices @@ -13,12 +13,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)/recoveryservices/azure-mgmt-recoveryservices/azure/mgmt/recoveryservices ``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservices -``` diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.python.md b/specification/recoveryservicessiterecovery/resource-manager/readme.python.md index 511e3ca87bac..dd95b21219e1 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.python.md +++ b/specification/recoveryservicessiterecovery/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 $(python) && $(track2) +``` yaml $(python) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.recoveryservicessiterecovery @@ -12,12 +12,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)/recoveryservices/azure-mgmt-recoveryservicessiterecovery/azure/mgmt/recoveryservicessiterecovery ``` - -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservicessiterecovery -``` diff --git a/specification/synapse/resource-manager/readme.python.md b/specification/synapse/resource-manager/readme.python.md index 06e05495007f..ae1d6529e9a6 100644 --- a/specification/synapse/resource-manager/readme.python.md +++ b/specification/synapse/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,16 +14,12 @@ 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)/synapse/azure-mgmt-synapse/azure/mgmt/synapse ``` -``` yaml $(python) && $(python-mode) == 'create' && $(track2) -basic-setup-py: true -output-folder: $(python-sdks-folder)/synapse/azure-mgmt-synapse -``` -``` yaml $(python) && $(track2) +``` yaml $(python) modelerfour: lenient-model-deduplication: true ``` From fdc4011e396f6994a390ed06e993d1232926fe49 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 15 Mar 2022 11:19:09 +0800 Subject: [PATCH 2/4] Update readme.python.md --- specification/cosmos-db/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/cosmos-db/resource-manager/readme.python.md b/specification/cosmos-db/resource-manager/readme.python.md index 253295969768..f89d59bf2465 100644 --- a/specification/cosmos-db/resource-manager/readme.python.md +++ b/specification/cosmos-db/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder= Date: Tue, 15 Mar 2022 11:19:24 +0800 Subject: [PATCH 3/4] Update readme.python.md --- specification/maps/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/maps/resource-manager/readme.python.md b/specification/maps/resource-manager/readme.python.md index af0e3c26f280..bcdd43dca48c 100644 --- a/specification/maps/resource-manager/readme.python.md +++ b/specification/maps/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.maps From e391ee627007d598e3fff71001858711d6db15f0 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 15 Mar 2022 11:20:23 +0800 Subject: [PATCH 4/4] Update readme.python.md --- specification/synapse/resource-manager/readme.python.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/synapse/resource-manager/readme.python.md b/specification/synapse/resource-manager/readme.python.md index ae1d6529e9a6..da07a7ab6c1c 100644 --- a/specification/synapse/resource-manager/readme.python.md +++ b/specification/synapse/resource-manager/readme.python.md @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder=