Skip to content

Commit

Permalink
Python conf for Network 2018-06 (#3535)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel committed Jul 30, 2018
1 parent a09c1b7 commit 526f843
Show file tree
Hide file tree
Showing 2 changed files with 179 additions and 169 deletions.
171 changes: 2 additions & 169 deletions specification/network/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ input-file:
- Microsoft.Network/preview/2015-05-01-preview/network.json
```

## Suppression
## Suppression
``` yaml
directive:
- suppress: RequiredPropertiesMissingInResourceModel
Expand All @@ -593,7 +593,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
Expand Down Expand Up @@ -899,173 +899,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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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.
Expand Down
177 changes: 177 additions & 0 deletions specification/network/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
@@ -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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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
```

0 comments on commit 526f843

Please sign in to comment.