Skip to content

Commit

Permalink
config readme and python (Azure#17469)
Browse files Browse the repository at this point in the history
* config readme and python

* config python
  • Loading branch information
BigCat20196 authored and mstrisoline committed Feb 1, 2022
1 parent 3ad00a7 commit 0d5bbf4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
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

0 comments on commit 0d5bbf4

Please sign in to comment.