Skip to content

Commit

Permalink
add redhatopenshift track2 config (Azure#12045)
Browse files Browse the repository at this point in the history
  • Loading branch information
00Kai0 authored and josuh committed Jan 6, 2021
1 parent c626d04 commit b5a2e7a
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions specification/redhatopenshift/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

```yaml $(python)
```yaml $(python) && !$(track2)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
Expand All @@ -11,23 +11,46 @@ python:
clear-output-folder: true
no-namespace-folders: true
```
```yaml $(python) && $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-redhatopenshift
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-04-30
```
```yaml $(python) && $(multiapi) && $(track2)
batch:
- tag: package-2020-04-30
- multiapiscript: true
```
``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/
clear-output-folder: false
perform-load: false
```
### Tag: package-2020-04-30 and python
These settings apply only when `--tag=package-2020-04-30 --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-30' && $(python)
``` yaml $(tag) == 'package-2020-04-30' && $(python) && !$(track2)
python:
namespace: azure.mgmt.redhatopenshift.v2020_04_30
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30
```

``` yaml $(tag) == 'package-2020-04-30' && $(python) && $(track2)
namespace: azure.mgmt.redhatopenshift.v2020_04_30
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30
```

0 comments on commit b5a2e7a

Please sign in to comment.