Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 46 additions & 2 deletions specification/web/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ These settings apply only when `--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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python)
``` yaml $(python) && !$(track2)
python-mode: create
python:
azure-arm: true
Expand All @@ -16,11 +16,21 @@ python:
no-namespace-folders: true
```

``` yaml $(python) && $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-web
package-version: 0.42.0
clear-output-folder: true
no-namespace-folders: true
python-mode: update
```

### Python multi-api

Generate all API versions currently shipped for this package

```yaml $(python) && $(multiapi)
```yaml $(python) && $(multiapi) && !$(track2)
batch:
- tag: package-2019-08-only
- tag: package-2018-11-only
Expand All @@ -32,12 +42,32 @@ batch:
- tag: package-2015-04-only
```

```yaml $(python) && $(multiapi) && $(track2)
batch:
- tag: package-2019-08-only
- tag: package-2018-11-only
- tag: package-2018-02-only
- tag: package-2016-09-only
- tag: package-2016-08-only
- tag: package-2016-03-only
- tag: package-2015-08-only
- tag: package-2015-04-only
- multiapiscript: true
```

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/
perform-load: false
```

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

These settings apply only when `--tag=package-2019-08-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-2019-08-only' && $(python)
namespace: azure.mgmt.web.v2019_08_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01
python:
namespace: azure.mgmt.web.v2019_08_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01
Expand All @@ -49,6 +79,8 @@ These settings apply only when `--tag=package-2018-11-only --python` is specifie
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2018-11-only' && $(python)
namespace: azure.mgmt.web.v2018_11_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01
python:
namespace: azure.mgmt.web.v2018_11_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2018_11_01
Expand All @@ -60,6 +92,8 @@ These settings apply only when `--tag=package-2018-02-only --python` is specifie
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2018-02-only' && $(python)
namespace: azure.mgmt.web.v2018_02_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01
python:
namespace: azure.mgmt.web.v2018_02_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2018_02_01
Expand All @@ -71,6 +105,8 @@ These settings apply only when `--tag=package-2016-09-only --python` is specifie
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2016-09-only' && $(python)
namespace: azure.mgmt.web.v2016_09_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01
python:
namespace: azure.mgmt.web.v2016_09_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2016_09_01
Expand All @@ -82,6 +118,8 @@ These settings apply only when `--tag=package-2016-08-only --python` is specifie
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2016-08-only' && $(python)
namespace: azure.mgmt.web.v2016_08_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01
python:
namespace: azure.mgmt.web.v2016_08_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2016_08_01
Expand All @@ -93,6 +131,8 @@ These settings apply only when `--tag=package-2016-03-only --python` is specifie
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2016-03-only' && $(python)
namespace: azure.mgmt.web.v2016_03_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01
python:
namespace: azure.mgmt.web.v2016_03_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2016_03_01
Expand All @@ -104,6 +144,8 @@ These settings apply only when `--tag=package-2019-04-only --python` is specifie
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2015-08-only' && $(python)
namespace: azure.mgmt.web.v2015_08_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01
python:
namespace: azure.mgmt.web.v2015_08_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2015_08_01
Expand All @@ -115,6 +157,8 @@ These settings apply only when `--tag=package-2019-04-only --python` is specifie
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2015-04-only' && $(python)
namespace: azure.mgmt.web.v2015_04_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01
python:
namespace: azure.mgmt.web.v2015_04_01
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2015_04_01
Expand Down