Skip to content

Commit cd25966

Browse files
authored
add appplatform track2 config (#11924)
1 parent ff961b6 commit cd25966

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

specification/appplatform/resource-manager/readme.python.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

7-
``` yaml $(python)
7+
``` yaml $(python) && !$(track2)
88
python-mode: create
99
python:
1010
azure-arm: true
@@ -14,36 +14,66 @@ python:
1414
clear-output-folder: true
1515
no-namespace-folders: true
1616
```
17+
``` yaml $(python) && $(track2)
18+
python-mode: create
19+
azure-arm: true
20+
license-header: MICROSOFT_MIT_NO_VERSION
21+
package-name: azure-mgmt-appplatform
22+
clear-output-folder: true
23+
no-namespace-folders: true
24+
```
1725
1826
### Python multi-api
1927
2028
Generate all API versions currently shipped for this package
2129
22-
```yaml $(python) && $(multiapi)
30+
```yaml $(python) && $(multiapi) && !$(track2)
2331
batch:
2432
- tag: package-2020-07
2533
- tag: package-2019-05-01-preview
2634
```
2735
36+
```yaml $(python) && $(multiapi) && $(track2)
37+
clear-output-folder: true
38+
batch:
39+
- tag: package-2020-07
40+
- tag: package-2019-05-01-preview
41+
- multiapiscript: true
42+
```
43+
44+
``` yaml $(multiapiscript)
45+
output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/
46+
clear-output-folder: false
47+
perform-load: false
48+
```
49+
2850
### Tag: package-2020-07 and python
2951
3052
These settings apply only when `--tag=package-2020-07 --python` is specified on the command line.
3153
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
3254

33-
``` yaml $(tag) == 'package-2020-07' && $(python)
55+
``` yaml $(tag) == 'package-2020-07' && $(python) && !$(track2)
3456
python:
3557
namespace: azure.mgmt.appplatform.v2020_07_01
3658
output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2020_07_01
3759
```
60+
``` yaml $(tag) == 'package-2020-07' && $(python) && $(track2)
61+
namespace: azure.mgmt.appplatform.v2020_07_01
62+
output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2020_07_01
63+
```
3864

3965
### Tag: package-2019-05-01-preview and python
4066

4167
These settings apply only when `--tag=package-2019-05-01-preview --python` is specified on the command line.
4268
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
4369

44-
``` yaml $(tag) == 'package-2019-05-01-preview' && $(python)
70+
``` yaml $(tag) == 'package-2019-05-01-preview' && $(python) && !$(track2)
4571
python:
4672
namespace: azure.mgmt.appplatform.v2019_05_01_preview
4773
output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2019_05_01_preview
4874
```
4975

76+
``` yaml $(tag) == 'package-2019-05-01-preview' && $(python) && $(track2)
77+
namespace: azure.mgmt.appplatform.v2019_05_01_preview
78+
output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2019_05_01_preview
79+
```

0 commit comments

Comments
 (0)