Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config readme and python #17469

Merged
merged 2 commits into from
Jan 25, 2022
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions specification/resources/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ These are the global settings for the Resource API.
openapi-type: arm
```

``` yaml $(package-privatelinks)
tag: package-privatelinks-2020-05
```

``` yaml $(package-features)
tag: package-features-2021-07
```
Expand Down
23 changes: 23 additions & 0 deletions specification/resources/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Generate all API versions currently shipped for this package
```yaml $(multiapi) && $(track2)
clear-output-folder: true
batch:
- tag: package-privatelinks-2020-05
- multiapiscript-privatelinks: true
- tag: package-features-2021-07
- tag: package-features-2015-12
- multiapiscript-features: true
Expand Down Expand Up @@ -70,6 +72,14 @@ batch:
- multiapiscript-templatespecs: true
```

```yaml $(multiapiscript-privatelinks)
package-name: azure-mgmt-resource#privatelinks
multiapiscript: true
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks
clear-output-folder: false
perform-load: false
```

```yaml $(multiapiscript-features)
package-name: azure-mgmt-resource#features
multiapiscript: true
Expand Down Expand Up @@ -136,6 +146,19 @@ clear-output-folder: false
perform-load: false
```

### Tag: package-privatelinks-2020-05 and python

These settings apply only when `--tag=package-privatelinks-2020-05 --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-privatelinks-2020-05'
namespace: azure.mgmt.resource.privatelinks.v2020_05_01
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks/v2020_05_01
python:
namespace: azure.mgmt.resource.privatelinks.v2020_05_01
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks/v2020_05_01
```

### Tag: package-features-2021-07 and python

These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line.
Expand Down