Skip to content

Commit

Permalink
ACR conf for 2018-09 and Python (#3824)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel authored Sep 6, 2018
1 parent 60b6248 commit bcdbcb3
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 70 deletions.
70 changes: 0 additions & 70 deletions specification/containerregistry/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,76 +125,6 @@ csharp:
clear-output-folder: true
```

## 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-containerregistry
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-09
- tag: package-2018-02-preview
- tag: package-2017-10
- tag: package-2017-03
```

### Tag: package-2018-09 and python

These settings apply only when `--tag=package-2018-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-2018-09' && $(python)
python:
namespace: azure.mgmt.containerregistry.v2018_09_01
output-folder: $(python-sdks-folder)/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01
```

### Tag: package-2018-02-preview and python

These settings apply only when `--tag=package-2018-02-preview --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-preview' && $(python)
python:
namespace: azure.mgmt.containerregistry.v2018_02_01_preview
output-folder: $(python-sdks-folder)/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_02_01_preview
```

### 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.containerregistry.v2017_10_01
output-folder: $(python-sdks-folder)/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2017_10_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.containerregistry.v2017_03_01
output-folder: $(python-sdks-folder)/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2017_03_01
```


## Go

Expand Down
69 changes: 69 additions & 0 deletions specification/containerregistry/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
## 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-containerregistry
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-09
- tag: package-2018-02-preview
- tag: package-2017-10
- tag: package-2017-03
```
### Tag: package-2018-09 and python
These settings apply only when `--tag=package-2018-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-2018-09' && $(python)
python:
namespace: azure.mgmt.containerregistry.v2018_09_01
output-folder: $(python-sdks-folder)/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01
```

### Tag: package-2018-02-preview and python

These settings apply only when `--tag=package-2018-02-preview --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-preview' && $(python)
python:
namespace: azure.mgmt.containerregistry.v2018_02_01_preview
output-folder: $(python-sdks-folder)/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_02_01_preview
```

### 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.containerregistry.v2017_10_01
output-folder: $(python-sdks-folder)/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2017_10_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.containerregistry.v2017_03_01
output-folder: $(python-sdks-folder)/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2017_03_01
```

0 comments on commit bcdbcb3

Please sign in to comment.