From 9108db7900be503fb18bc1886200380544caeb03 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Fri, 27 Jul 2018 14:18:10 -0700 Subject: [PATCH] Python conf for Network 2018-06 --- .../network/resource-manager/readme.md | 171 +---------------- .../network/resource-manager/readme.python.md | 177 ++++++++++++++++++ 2 files changed, 179 insertions(+), 169 deletions(-) create mode 100644 specification/network/resource-manager/readme.python.md diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 1923ae076f79..a1ce3517a59b 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -550,7 +550,7 @@ input-file: - Microsoft.Network/preview/2015-05-01-preview/network.json ``` -## Suppression +## Suppression ``` yaml directive: - suppress: RequiredPropertiesMissingInResourceModel @@ -560,7 +560,7 @@ directive: from: applicationSecurityGroup.json reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel - from: azureFirewall.json + from: azureFirewall.json reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel from: checkDnsAvailability.json @@ -866,173 +866,6 @@ output-folder: $(go-sdk-folder)/services/preview/network/mgmt/2015-05-01-preview ``` -## Python - -These settings apply only when `--python` is specified on the command line. - -``` yaml $(python) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - package-name: azure-mgmt-network - clear-output-folder: true - no-namespace-folders: true -``` - -### Python multi-api - -Generate all API versions currently shipped for this package - -```yaml $(python) && $(multiapi) -batch: - - tag: package-2018-04 - - tag: package-2018-02 - - tag: package-2018-01 - - tag: package-2017-11 - - tag: package-2017-10 - - tag: package-2017-09 - - tag: package-2017-08 - - tag: package-2017-06 - - tag: package-2017-03 - - tag: package-2016-12 - - tag: package-2016-09 - - tag: package-2015-06split -``` - -### Tag: package-2018-04 and python - -These settings apply only when `--tag=package-2018-04 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2018-04' && $(python) -python: - namespace: azure.mgmt.network.v2018_04_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2018_04_01 -``` - -### Tag: package-2018-02 and python - -These settings apply only when `--tag=package-2018-02 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2018-02' && $(python) -python: - namespace: azure.mgmt.network.v2018_02_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2018_02_01 -``` - -### Tag: package-2018-01 and python - -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) -python: - namespace: azure.mgmt.network.v2018_01_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2018_01_01 -``` - -### Tag: package-2017-11 and python - -These settings apply only when `--tag=package-2017-11 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2017-11' && $(python) -python: - namespace: azure.mgmt.network.v2017_11_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_11_01 -``` - -### Tag: package-2017-10 and python - -These settings apply only when `--tag=package-2017-10 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2017-10' && $(python) -python: - namespace: azure.mgmt.network.v2017_10_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_10_01 -``` - -### Tag: package-2017-09 and python - -These settings apply only when `--tag=package-2017-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2017-09' && $(python) -python: - namespace: azure.mgmt.network.v2017_09_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_09_01 -``` - -### Tag: package-2017-08 and python - -These settings apply only when `--tag=package-2017-08 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2017-08' && $(python) -python: - namespace: azure.mgmt.network.v2017_08_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_08_01 -``` - -### Tag: package-2017-06 and python - -These settings apply only when `--tag=package-2017-06 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2017-06' && $(python) -python: - namespace: azure.mgmt.network.v2017_06_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_06_01 -``` - -### Tag: package-2017-03 and python - -These settings apply only when `--tag=package-2017-03 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2017-03' && $(python) -python: - namespace: azure.mgmt.network.v2017_03_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_03_01 -``` - -### Tag: package-2016-12 and python - -These settings apply only when `--tag=package-2016-12 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2016-12' && $(python) -python: - namespace: azure.mgmt.network.v2016_12_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2016_12_01 -``` - -### Tag: package-2016-09 and python - -These settings apply only when `--tag=package-2016-09 --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2016-09' && $(python) -python: - namespace: azure.mgmt.network.v2016_09_01 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2016_09_01 -``` - -### Tag: package-2015-06split and python - -These settings apply only when `--tag=package-2015-06split --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2015-06split' && $(python) -python: - namespace: azure.mgmt.network.v2015_06_15 - output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2015_06_15 -``` - - ## Java These settings apply only when `--java` is specified on the command line. diff --git a/specification/network/resource-manager/readme.python.md b/specification/network/resource-manager/readme.python.md new file mode 100644 index 000000000000..d55e6ebbf542 --- /dev/null +++ b/specification/network/resource-manager/readme.python.md @@ -0,0 +1,177 @@ +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + package-name: azure-mgmt-network + clear-output-folder: true + no-namespace-folders: true +``` + +### Python multi-api + +Generate all API versions currently shipped for this package + +```yaml $(python) && $(multiapi) +batch: + - tag: package-2018-06 + - tag: package-2018-04 + - tag: package-2018-02 + - tag: package-2018-01 + - tag: package-2017-11 + - tag: package-2017-10 + - tag: package-2017-09 + - tag: package-2017-08 + - tag: package-2017-06 + - tag: package-2017-03 + - tag: package-2016-12 + - tag: package-2016-09 + - tag: package-2015-06split +``` + +### Tag: package-2018-06 and python + +These settings apply only when `--tag=package-2018-06 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(python) +python: + namespace: azure.mgmt.network.v2018_06_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2018_06_01 +``` + +### Tag: package-2018-04 and python + +These settings apply only when `--tag=package-2018-04 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(python) +python: + namespace: azure.mgmt.network.v2018_04_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2018_04_01 +``` + +### Tag: package-2018-02 and python + +These settings apply only when `--tag=package-2018-02 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(python) +python: + namespace: azure.mgmt.network.v2018_02_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2018_02_01 +``` + +### Tag: package-2018-01 and python + +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) +python: + namespace: azure.mgmt.network.v2018_01_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2018_01_01 +``` + +### Tag: package-2017-11 and python + +These settings apply only when `--tag=package-2017-11 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(python) +python: + namespace: azure.mgmt.network.v2017_11_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_11_01 +``` + +### Tag: package-2017-10 and python + +These settings apply only when `--tag=package-2017-10 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(python) +python: + namespace: azure.mgmt.network.v2017_10_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_10_01 +``` + +### Tag: package-2017-09 and python + +These settings apply only when `--tag=package-2017-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-09' && $(python) +python: + namespace: azure.mgmt.network.v2017_09_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_09_01 +``` + +### Tag: package-2017-08 and python + +These settings apply only when `--tag=package-2017-08 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-08' && $(python) +python: + namespace: azure.mgmt.network.v2017_08_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_08_01 +``` + +### Tag: package-2017-06 and python + +These settings apply only when `--tag=package-2017-06 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-06' && $(python) +python: + namespace: azure.mgmt.network.v2017_06_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_06_01 +``` + +### Tag: package-2017-03 and python + +These settings apply only when `--tag=package-2017-03 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(python) +python: + namespace: azure.mgmt.network.v2017_03_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2017_03_01 +``` + +### Tag: package-2016-12 and python + +These settings apply only when `--tag=package-2016-12 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2016-12' && $(python) +python: + namespace: azure.mgmt.network.v2016_12_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2016_12_01 +``` + +### Tag: package-2016-09 and python + +These settings apply only when `--tag=package-2016-09 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2016-09' && $(python) +python: + namespace: azure.mgmt.network.v2016_09_01 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2016_09_01 +``` + +### Tag: package-2015-06split and python + +These settings apply only when `--tag=package-2015-06split --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2015-06split' && $(python) +python: + namespace: azure.mgmt.network.v2015_06_15 + output-folder: $(python-sdks-folder)/azure-mgmt-network/azure/mgmt/network/v2015_06_15 +```