Skip to content

Commit

Permalink
add 2020-09 and 2020-06 to python multiapi (Azure#13127)
Browse files Browse the repository at this point in the history
  • Loading branch information
00Kai0 authored and mkarmark committed Jul 20, 2021
1 parent 279de1b commit 8d2e5c0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions specification/web/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,7 @@ swagger-to-sdk:
after_scripts:
- python ./scripts/multiapi_init_gen.py azure-mgmt-web
- python ./scripts/trim_aio.py ./sdk/appservice/azure-mgmt-web
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
Expand Down
30 changes: 30 additions & 0 deletions specification/web/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi) && !$(track2)
batch:
- tag: package-2020-09-only
- tag: package-2020-06-only
- tag: package-2019-08-only
- tag: package-2018-11-only
- tag: package-2018-02-only
Expand All @@ -44,6 +46,8 @@ batch:
```yaml $(python) && $(multiapi) && $(track2)
batch:
- tag: package-2020-09-only
- tag: package-2020-06-only
- tag: package-2019-08-only
- tag: package-2018-11-only
- tag: package-2018-02-only
Expand All @@ -60,6 +64,32 @@ output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/
perform-load: false
```
### Tag: package-2020-09-only and python
These settings apply only when `--tag=package-2020-09-only --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-2020-09-only' && $(python)
namespace: azure.mgmt.web.v2020_09_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01
python:
namespace: azure.mgmt.web.v2020_09_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2020_09_01
```

### Tag: package-2020-06-only and python

These settings apply only when `--tag=package-2020-06-only --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-2020-06-only' && $(python)
namespace: azure.mgmt.web.v2020_06_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01
python:
namespace: azure.mgmt.web.v2020_06_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2020_06_01
```

### Tag: package-2019-08-only and python

These settings apply only when `--tag=package-2019-08-only --python` is specified on the command line.
Expand Down

0 comments on commit 8d2e5c0

Please sign in to comment.