From a8ff7d527bf9c2ff3e581e7f39097f83b6e57691 Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Sat, 26 Jun 2021 08:17:30 +0800 Subject: [PATCH] alertsmanagement,applicationinsights,attestation,batch,cost-management,netapp,synapse --- .../resource-manager/readme.md | 1 - .../resource-manager/readme.python.md | 29 ++------ .../resource-manager/readme.md | 3 - .../resource-manager/readme.python.md | 71 ++----------------- .../attestation/resource-manager/readme.md | 1 - .../resource-manager/readme.python.md | 28 ++------ .../batch/resource-manager/readme.md | 1 - .../batch/resource-manager/readme.python.md | 22 +----- .../resource-manager/readme.md | 5 +- .../resource-manager/readme.python.md | 30 ++------ .../databox/resource-manager/readme.md | 3 - .../databox/resource-manager/readme.python.md | 50 +------------ .../netapp/resource-manager/readme.md | 1 - .../netapp/resource-manager/readme.python.md | 26 +------ .../search/resource-manager/readme.md | 2 +- .../synapse/resource-manager/readme.md | 1 - .../synapse/resource-manager/readme.python.md | 30 ++------ 17 files changed, 37 insertions(+), 267 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/readme.md b/specification/alertsmanagement/resource-manager/readme.md index fff705d11ce5..980821a0c9d2 100644 --- a/specification/alertsmanagement/resource-manager/readme.md +++ b/specification/alertsmanagement/resource-manager/readme.md @@ -147,7 +147,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - repo: azure-sdk-for-python-track2 - repo: azure-libraries-for-java - repo: azure-sdk-for-go diff --git a/specification/alertsmanagement/resource-manager/readme.python.md b/specification/alertsmanagement/resource-manager/readme.python.md index 4617043919d7..c0946a274a69 100644 --- a/specification/alertsmanagement/resource-manager/readme.python.md +++ b/specification/alertsmanagement/resource-manager/readme.python.md @@ -4,47 +4,28 @@ 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) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.alertsmanagement - package-name: azure-mgmt-alertsmanagement - clear-output-folder: true -``` ``` yaml $(python) && $(track2) -python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.alertsmanagement package-name: azure-mgmt-alertsmanagement package-version: 1.0.0b1 clear-output-folder: true -modelerfour: - lenient-model-deduplication: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/alertsmanagement/azure-mgmt-alertsmanagement/azure/mgmt/alertsmanagement -``` ``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/alertsmanagement/azure-mgmt-alertsmanagement/azure/mgmt/alertsmanagement ``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/alertsmanagement/azure-mgmt-alertsmanagement -``` - ``` yaml $(python) && $(python-mode) == 'create' && $(track2) basic-setup-py: true output-folder: $(python-sdks-folder)/alertsmanagement/azure-mgmt-alertsmanagement +``` + +``` yaml $(python) && $(track2) +modelerfour: + lenient-model-deduplication: true ``` \ No newline at end of file diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index cb387c80b6fd..9ef1e88dae0f 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -435,9 +435,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - after_scripts: - - python ./scripts/multiapi_init_gen.py --default-api-version=2020-03-01-preview azure-mgmt-applicationinsights - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/applicationinsights/resource-manager/readme.python.md b/specification/applicationinsights/resource-manager/readme.python.md index 45b5df9fa171..7a82c19ac38b 100644 --- a/specification/applicationinsights/resource-manager/readme.python.md +++ b/specification/applicationinsights/resource-manager/readme.python.md @@ -1,43 +1,20 @@ ## Python -## python These settings apply only when `--python` is specified on the command line. -```yaml $(python) && !$(track2) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - package-name: azure-mgmt-applicationinsights - clear-output-folder: true - no-namespace-folders: true -``` ```yaml $(python) && $(track2) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-applicationinsights +package-version: 1.0.0b1 clear-output-folder: true no-namespace-folders: true -modelerfour: - lenient-model-deduplication: true ``` ### Python multi-api -``` yaml $(python) && $(multiapi) && !$(track2) -batch: - - tag: package-2015-05 - - tag: package-2017-10 - - tag: package-2018-05-01-preview - - tag: package-2018-06-17-preview - - tag: package-2019-10-17-preview - - tag: package-2020-02-02-preview - - tag: package-2020-02-02 - - tag: package-2020-03-01-preview - - tag: package-preview-2020-06-only -``` ``` yaml $(python) && $(multiapi) && $(track2) +clear-output-folder: true batch: - tag: package-2015-05 - tag: package-2017-10 @@ -61,11 +38,6 @@ perform-load: false These settings apply only when `--tag=package-2015-05 --python` is specified on the command line. -``` yaml $(tag) == 'package-2015-05' && $(python) && !$(track2) -python: - namespace: azure.mgmt.applicationinsights.v2015_05_01 - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01 -``` ``` yaml $(tag) == 'package-2015-05' && $(python) && $(track2) namespace: azure.mgmt.applicationinsights.v2015_05_01 output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01 @@ -75,11 +47,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi These settings apply only when `--tag=package-2017-10 --python` is specified on the command line. -``` yaml $(tag) == 'package-2017-10' && $(python) && !$(track2) -python: - namespace: azure.mgmt.applicationinsights.v2017_10_01 - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2017_10_01 -``` ``` yaml $(tag) == 'package-2017-10' && $(python) && $(track2) namespace: azure.mgmt.applicationinsights.v2017_10_01 output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2017_10_01 @@ -89,11 +56,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi These settings apply only when `--tag=package-2018-06-17-preview --python` is specified on the command line. -``` yaml $(tag) == 'package-2018-06-17-preview' && $(python) && !$(track2) -python: - namespace: azure.mgmt.applicationinsights.v2018_06_17_preview - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_06_17_preview -``` ``` yaml $(tag) == 'package-2018-06-17-preview' && $(python) && $(track2) namespace: azure.mgmt.applicationinsights.v2018_06_17_preview output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_06_17_preview @@ -103,11 +65,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi These settings apply only when `--tag=package-2019-10-17-preview --python` is specified on the command line. -```yaml $(tag) == 'package-2019-10-17-preview' && $(python) && !$(track2) -python: - namespace: azure.mgmt.applicationinsights.v2019_10_17_preview - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2019_10_17_preview -``` ```yaml $(tag) == 'package-2019-10-17-preview' && $(python) && $(track2) namespace: azure.mgmt.applicationinsights.v2019_10_17_preview output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2019_10_17_preview @@ -117,11 +74,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi These settings apply only when `--tag=package-2018-05-01-preview --python` is specified on the command line. -``` yaml $(tag) == 'package-2018-05-01-preview' && $(python) && !$(track2) -python: - namespace: azure.mgmt.applicationinsights.v2018_05_01_preview - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_05_01_preview -``` ``` yaml $(tag) == 'package-2018-05-01-preview' && $(python) && $(track2) namespace: azure.mgmt.applicationinsights.v2018_05_01_preview output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_05_01_preview @@ -131,11 +83,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi These settings apply only when `--tag=package-2020-02-02-preview --python` is specified on the command line. -``` yaml $(tag) == 'package-2020-02-02-preview' && $(python) && !$(track2) -python: - namespace: azure.mgmt.applicationinsights.v2020_02_02_preview - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_02_02_preview -``` ``` yaml $(tag) == 'package-2020-02-02-preview' && $(python) && $(track2) namespace: azure.mgmt.applicationinsights.v2020_02_02_preview output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_02_02_preview @@ -145,11 +92,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi These settings apply only when `--tag=package-2020-03-01-preview --python` is specified on the command line. -``` yaml $(tag) == 'package-2020-03-01-preview' && $(python) && !$(track2) -python: - namespace: azure.mgmt.applicationinsights.v2020_03_01_preview - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_03_01_preview -``` ``` yaml $(tag) == 'package-2020-03-01-preview' && $(python) && $(track2) namespace: azure.mgmt.applicationinsights.v2020_03_01_preview output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_03_01_preview @@ -159,12 +101,11 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi These settings apply only when `--tag=package-preview-2020-06-only --python` is specified on the command line. -``` yaml $(tag) == 'package-preview-2020-06-only' && $(python) && !$(track2) -python: - namespace: azure.mgmt.applicationinsights.v2020_06_02_preview - output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02_preview -``` ``` yaml $(tag) == 'package-preview-2020-06-only' && $(python) && $(track2) namespace: azure.mgmt.applicationinsights.v2020_06_02_preview output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02_preview ``` +```yaml $(python) && $(track2) +modelerfour: + lenient-model-deduplication: true +``` \ No newline at end of file diff --git a/specification/attestation/resource-manager/readme.md b/specification/attestation/resource-manager/readme.md index f4edbed26196..0d12a8f1ec0d 100644 --- a/specification/attestation/resource-manager/readme.md +++ b/specification/attestation/resource-manager/readme.md @@ -68,7 +68,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/attestation/resource-manager/readme.python.md b/specification/attestation/resource-manager/readme.python.md index b84b53a2d352..04f82b281991 100644 --- a/specification/attestation/resource-manager/readme.python.md +++ b/specification/attestation/resource-manager/readme.python.md @@ -4,19 +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) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.attestation - package-name: azure-mgmt-attestation - package-version: 0.1.0 - clear-output-folder: true -``` ``` yaml $(python) && $(track2) -python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.attestation @@ -26,16 +14,7 @@ clear-output-folder: true modelerfour: lenient-model-deduplication: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation/azure/mgmt/attestation -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation -``` + ``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation/azure/mgmt/attestation @@ -44,3 +23,8 @@ output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation/azure/mg 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/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md index 6f8b4e786064..c036d33e3008 100644 --- a/specification/batch/resource-manager/readme.md +++ b/specification/batch/resource-manager/readme.md @@ -177,7 +177,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/batch/resource-manager/readme.python.md b/specification/batch/resource-manager/readme.python.md index 66e1624afbd8..1339116842fd 100644 --- a/specification/batch/resource-manager/readme.python.md +++ b/specification/batch/resource-manager/readme.python.md @@ -4,19 +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) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.batch - package-name: azure-mgmt-batch - clear-output-folder: true -``` - ``` yaml $(python) && $(track2) -python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.batch @@ -25,18 +13,12 @@ package-version: 14.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' +``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch/azure/mgmt/batch -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch/azure/mgmt/batch ``` -``` yaml $(python) && $(python-mode) == 'create' +``` yaml $(python) && $(python-mode) == 'create' && $(track2) basic-setup-py: true output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch ``` diff --git a/specification/cost-management/resource-manager/readme.md b/specification/cost-management/resource-manager/readme.md index 3ee8c75f9c3f..4cbe311bdc14 100644 --- a/specification/cost-management/resource-manager/readme.md +++ b/specification/cost-management/resource-manager/readme.md @@ -228,7 +228,6 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-go - - repo: azure-sdk-for-python - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -256,6 +255,10 @@ csharp: See configuration in [readme.go.md](./readme.go.md) +## Python + +See configuration in [readme.python.md](./readme.python.md) + ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/cost-management/resource-manager/readme.python.md b/specification/cost-management/resource-manager/readme.python.md index 0a2ccb6be4f0..450889764cbd 100644 --- a/specification/cost-management/resource-manager/readme.python.md +++ b/specification/cost-management/resource-manager/readme.python.md @@ -4,48 +4,26 @@ 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) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.costmanagement - package-name: azure-mgmt-costmanagement - package-version: 1.2.0 - clear-output-folder: true -``` - ``` yaml $(python) && $(track2) -python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.costmanagement package-name: azure-mgmt-costmanagement package-version: 1.0.0b1 clear-output-folder: true -modelerfour: - lenient-model-deduplication: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/costmanagement/azure-mgmt-costmanagement/azure/mgmt/costmanagement -``` ``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/costmanagement/azure-mgmt-costmanagement/azure/mgmt/costmanagement ``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/costmanagement/azure-mgmt-costmanagement -``` - ``` yaml $(python) && $(python-mode) == 'create' && $(track2) basic-setup-py: true output-folder: $(python-sdks-folder)/costmanagement/azure-mgmt-costmanagement ``` +``` yaml $(python) && $(track2) +modelerfour: + lenient-model-deduplication: true +``` diff --git a/specification/databox/resource-manager/readme.md b/specification/databox/resource-manager/readme.md index cbc5359579e8..bc310b60bc8b 100644 --- a/specification/databox/resource-manager/readme.md +++ b/specification/databox/resource-manager/readme.md @@ -86,9 +86,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python - after_scripts: - - python ./scripts/multiapi_init_gen.py azure-mgmt-databox - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/databox/resource-manager/readme.python.md b/specification/databox/resource-manager/readme.python.md index a4a1d6053bd0..69c3d8ffe82a 100644 --- a/specification/databox/resource-manager/readme.python.md +++ b/specification/databox/resource-manager/readme.python.md @@ -4,26 +4,12 @@ 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) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.databox - package-name: azure-mgmt-databox - package-version: 0.1.0 - title: DataBoxManagementClient - description: The DataBox Client. - clear-output-folder: true - no-namespace-folders: true -``` - ``` yaml $(python) && $(track2) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.databox package-name: azure-mgmt-databox -package-version: 0.1.0 +package-version: 1.0.0b1 title: DataBoxManagementClient description: The DataBox Client. clear-output-folder: true @@ -34,16 +20,9 @@ no-namespace-folders: true Generate all API versions currently shipped for this package -```yaml $(python) && $(multiapi) && !$(track2) -batch: - - tag: package-2021-03 - - tag: package-2020-11 - - tag: package-2020-04 - - tag: package-2019-09 - - tag: package-2018-01 -``` ```yaml $(python) && $(multiapi) && $(track2) +clear-output-folder: true batch: - tag: package-2021-03 - tag: package-2020-11 @@ -64,11 +43,6 @@ perform-load: false These settings apply only when `--tag=package-2021-03 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2021-03' && $(python) && !$(track2) -python: - namespace: azure.mgmt.databox.v2021_03_01 - output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2021_03_01 -``` ``` yaml $(tag) == 'package-2021-03' && $(python) && $(track2) namespace: azure.mgmt.databox.v2021_03_01 output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2021_03_01 @@ -79,11 +53,6 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab These settings apply only when `--tag=package-2020-11 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2020-11' && $(python) && !$(track2) -python: - namespace: azure.mgmt.databox.v2020_11_01 - output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_11_01 -``` ``` yaml $(tag) == 'package-2020-11' && $(python) && $(track2) namespace: azure.mgmt.databox.v2020_11_01 output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_11_01 @@ -94,11 +63,6 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab These settings apply only when `--tag=package-2020-04 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2020-04' && $(python) && !$(track2) -python: - namespace: azure.mgmt.databox.v2020_04_01 - output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_04_01 -``` ``` yaml $(tag) == 'package-2020-04' && $(python) && $(track2) namespace: azure.mgmt.databox.v2020_04_01 output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_04_01 @@ -109,11 +73,6 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab These settings apply only when `--tag=package-2019-09 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2019-09' && $(python) && !$(track2) -python: - namespace: azure.mgmt.databox.v2019_09_01 - output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2019_09_01 -``` ``` yaml $(tag) == 'package-2019-09' && $(python) && $(track2) namespace: azure.mgmt.databox.v2019_09_01 output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2019_09_01 @@ -124,11 +83,6 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab These settings apply only when `--tag=package-2018-01 --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2018-01' && $(python) && !$(track2) -python: - namespace: azure.mgmt.databox.v2018_01_01 - output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2018_01_01 -``` ``` yaml $(tag) == 'package-2018-01' && $(python) && $(track2) namespace: azure.mgmt.databox.v2018_01_01 output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2018_01_01 diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md index 7b97dcdd2306..be8bfacf90fd 100644 --- a/specification/netapp/resource-manager/readme.md +++ b/specification/netapp/resource-manager/readme.md @@ -214,7 +214,6 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - - repo: azure-sdk-for-python - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-net - repo: azure-sdk-for-js diff --git a/specification/netapp/resource-manager/readme.python.md b/specification/netapp/resource-manager/readme.python.md index 7745e61921a1..036ec8288f0c 100644 --- a/specification/netapp/resource-manager/readme.python.md +++ b/specification/netapp/resource-manager/readme.python.md @@ -4,39 +4,15 @@ 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) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.netapp - package-name: azure-mgmt-netapp - package-version: 1.0.0 - clear-output-folder: true -``` ``` yaml $(python) && $(track2) -python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.netapp package-name: azure-mgmt-netapp -package-version: 1.0.0 +package-version: 1.0.0b1 clear-output-folder: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/netapp/azure-mgmt-netapp/azure/mgmt/netapp -``` - -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/netapp/azure-mgmt-netapp -``` - ``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/netapp/azure-mgmt-netapp/azure/mgmt/netapp diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md index b02b0f47a11a..fe322809c162 100644 --- a/specification/search/resource-manager/readme.md +++ b/specification/search/resource-manager/readme.md @@ -133,7 +133,7 @@ csharp: See configuration in [readme.go.md](./readme.go.md) -## Go +## Python See configuration in [readme.python.md](./readme.python.md) diff --git a/specification/synapse/resource-manager/readme.md b/specification/synapse/resource-manager/readme.md index 7964ac7fbbc5..9eb0af312862 100644 --- a/specification/synapse/resource-manager/readme.md +++ b/specification/synapse/resource-manager/readme.md @@ -265,7 +265,6 @@ swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-js - repo: azure-sdk-for-java - - repo: azure-sdk-for-python - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-go - repo: azure-resource-manager-schemas diff --git a/specification/synapse/resource-manager/readme.python.md b/specification/synapse/resource-manager/readme.python.md index 52ab82b7a6d4..06e05495007f 100644 --- a/specification/synapse/resource-manager/readme.python.md +++ b/specification/synapse/resource-manager/readme.python.md @@ -4,39 +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) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.synapse - package-name: azure-mgmt-synapse - package-version: 0.1.0 - clear-output-folder: true -``` ``` yaml $(python) && $(track2) python-mode: create azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: azure.mgmt.synapse package-name: azure-mgmt-synapse -package-version: 0.1.0 +package-version: 1.0.0b1 clear-output-folder: true -modelerfour: - lenient-model-deduplication: true ``` -``` yaml $(python) && $(python-mode) == 'update' && !$(track2) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/synapse/azure-mgmt-synapse/azure/mgmt/synapse -``` -``` yaml $(python) && $(python-mode) == 'create' && !$(track2) -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/synapse/azure-mgmt-synapse -``` ``` yaml $(python) && $(python-mode) == 'update' && $(track2) no-namespace-folders: true output-folder: $(python-sdks-folder)/synapse/azure-mgmt-synapse/azure/mgmt/synapse @@ -45,3 +22,8 @@ output-folder: $(python-sdks-folder)/synapse/azure-mgmt-synapse/azure/mgmt/synap basic-setup-py: true output-folder: $(python-sdks-folder)/synapse/azure-mgmt-synapse ``` + +``` yaml $(python) && $(track2) +modelerfour: + lenient-model-deduplication: true +```