Skip to content

Commit b5a2e7a

Browse files
00Kai0josuh
authored andcommitted
add redhatopenshift track2 config (Azure#12045)
1 parent c626d04 commit b5a2e7a

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

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

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
These settings apply only when `--python` is specified on the command line.
44

5-
```yaml $(python)
5+
```yaml $(python) && !$(track2)
66
python:
77
azure-arm: true
88
license-header: MICROSOFT_MIT_NO_VERSION
@@ -11,23 +11,46 @@ python:
1111
clear-output-folder: true
1212
no-namespace-folders: true
1313
```
14+
```yaml $(python) && $(track2)
15+
azure-arm: true
16+
license-header: MICROSOFT_MIT_NO_VERSION
17+
package-name: azure-mgmt-redhatopenshift
18+
clear-output-folder: true
19+
no-namespace-folders: true
20+
```
1421
1522
### Python multi-api
1623
1724
Generate all API versions currently shipped for this package
1825
19-
```yaml $(python) && $(multiapi)
26+
```yaml $(python) && $(multiapi) && !$(track2)
27+
batch:
28+
- tag: package-2020-04-30
29+
```
30+
```yaml $(python) && $(multiapi) && $(track2)
2031
batch:
2132
- tag: package-2020-04-30
33+
- multiapiscript: true
34+
```
35+
36+
``` yaml $(multiapiscript)
37+
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/
38+
clear-output-folder: false
39+
perform-load: false
2240
```
2341
2442
### Tag: package-2020-04-30 and python
2543
2644
These settings apply only when `--tag=package-2020-04-30 --python` is specified on the command line.
2745
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
2846

29-
``` yaml $(tag) == 'package-2020-04-30' && $(python)
47+
``` yaml $(tag) == 'package-2020-04-30' && $(python) && !$(track2)
3048
python:
3149
namespace: azure.mgmt.redhatopenshift.v2020_04_30
3250
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30
3351
```
52+
53+
``` yaml $(tag) == 'package-2020-04-30' && $(python) && $(track2)
54+
namespace: azure.mgmt.redhatopenshift.v2020_04_30
55+
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30
56+
```

0 commit comments

Comments
 (0)