Skip to content

Commit 8dff86d

Browse files
authored
python config (#14984)
1 parent 01ce303 commit 8dff86d

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

specification/resourcehealth/resource-manager/readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ swagger-to-sdk:
8282
- repo: azure-sdk-for-go
8383
- repo: azure-sdk-for-js
8484
- repo: azure-sdk-for-node
85-
- repo: azure-sdk-for-python
85+
- repo: azure-sdk-for-python-track2
8686
- repo: azure-sdk-for-java
8787
- repo: azure-sdk-for-net
8888
- repo: azure-sdk-for-ruby
@@ -95,6 +95,10 @@ swagger-to-sdk:
9595

9696
See configuration in [readme.go.md](./readme.go.md)
9797

98+
## Python
99+
100+
See configuration in [readme.python.md](./readme.python.md)
101+
98102
## Java
99103

100104
These settings apply only when `--java` is specified on the command line.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Python
2+
3+
These settings apply only when `--track2` is specified on the command line.
4+
5+
``` yaml $(track2)
6+
azure-arm: true
7+
license-header: MICROSOFT_MIT_NO_VERSION
8+
package-name: azure-mgmt-resourcehealth
9+
no-namespace-folders: true
10+
package-version: 1.0.0b1
11+
```
12+
13+
### Python multi-api
14+
15+
Generate all API versions currently shipped for this package
16+
17+
```yaml $(multiapi)
18+
clear-output-folder: true
19+
batch:
20+
- tag: package-2015-01
21+
- multiapiscript: true
22+
```
23+
24+
``` yaml $(multiapiscript)
25+
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/
26+
clear-output-folder: false
27+
perform-load: false
28+
```
29+
### Tag: package-2015-01 and python
30+
31+
These settings apply only when `--tag=package-2015-01 --python` is specified on the command line.
32+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
33+
34+
``` yaml $(tag) == 'package-2015-01'
35+
namespace: azure.mgmt.resourcehealth.v2015_01_01
36+
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/v2015_01_01
37+
```

0 commit comments

Comments
 (0)