Skip to content

Commit

Permalink
add databox track2 config (Azure#11842)
Browse files Browse the repository at this point in the history
  • Loading branch information
00Kai0 authored and DeMale committed Dec 11, 2020
1 parent f0bd565 commit a2259f3
Showing 1 changed file with 50 additions and 7 deletions.
57 changes: 50 additions & 7 deletions specification/databox/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:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
Expand All @@ -18,58 +18,101 @@ python:
no-namespace-folders: true
```
``` yaml $(python) && $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.databox
package-name: azure-mgmt-databox
package-version: 0.1.0
title: DataBoxManagementClient
description: The DataBox Client.
clear-output-folder: true
no-namespace-folders: true
```
### Python multi-api
Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
```yaml $(python) && $(multiapi) && !$(track2)
batch:
- tag: package-2020-11
- tag: package-2020-04
- tag: package-2019-09
- tag: package-2018-01
```
```yaml $(python) && $(multiapi) && $(track2)
batch:
- tag: package-2020-11
- tag: package-2020-04
- tag: package-2019-09
- tag: package-2018-01
- multiapiscript: true
```
``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/
clear-output-folder: false
perform-load: false
```
### Tag: package-2020-11 and python
These settings apply only when `--tag=package-2020-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-2020-11' && $(python)
``` yaml $(tag) == 'package-2020-11' && $(python) && !$(track2)
python:
namespace: azure.mgmt.databox.v2020_11_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_11_01
```
``` yaml $(tag) == 'package-2020-11' && $(python) && $(track2)
namespace: azure.mgmt.databox.v2020_11_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_11_01
```

### Tag: package-2020-04 and python

These settings apply only when `--tag=package-2020-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-2020-04' && $(python)
``` yaml $(tag) == 'package-2020-04' && $(python) && !$(track2)
python:
namespace: azure.mgmt.databox.v2020_04_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_04_01
```
``` yaml $(tag) == 'package-2020-04' && $(python) && $(track2)
namespace: azure.mgmt.databox.v2020_04_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_04_01
```

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

These settings apply only when `--tag=package-2019-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-2019-09' && $(python)
``` yaml $(tag) == 'package-2019-09' && $(python) && !$(track2)
python:
namespace: azure.mgmt.databox.v2019_09_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2019_09_01
```
``` yaml $(tag) == 'package-2019-09' && $(python) && $(track2)
namespace: azure.mgmt.databox.v2019_09_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2019_09_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)
``` yaml $(tag) == 'package-2018-01' && $(python) && !$(track2)
python:
namespace: azure.mgmt.databox.v2018_01_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2018_01_01
```
```
``` yaml $(tag) == 'package-2018-01' && $(python) && $(track2)
namespace: azure.mgmt.databox.v2018_01_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2018_01_01
```

0 comments on commit a2259f3

Please sign in to comment.