Skip to content

Commit b9c8d9b

Browse files
zhangyan133Yan Zhang (WICRESOFT NORTH AMERICA LTD)
authored andcommitted
track2 configure (Azure#13396)
Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>
1 parent 5ff5938 commit b9c8d9b

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

specification/containerinstance/resource-manager/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ This is not used by Autorest itself.
150150
swagger-to-sdk:
151151
- repo: azure-sdk-for-net
152152
- repo: azure-sdk-for-python
153+
- repo: azure-sdk-for-python-track2
153154
- repo: azure-sdk-for-java
154155
- repo: azure-sdk-for-go
155156
- repo: azure-sdk-for-js

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

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

7-
``` yaml $(python)
7+
``` yaml $(python) && !$(track2)
88
python-mode: create
99
python:
1010
azure-arm: true
@@ -15,13 +15,33 @@ python:
1515
package-version: 1.0.0
1616
clear-output-folder: true
1717
```
18-
``` yaml $(python) && $(python-mode) == 'update'
18+
19+
``` yaml $(python) && $(track2)
20+
azure-arm: true
21+
license-header: MICROSOFT_MIT_NO_VERSION
22+
namespace: azure.mgmt.containerinstance
23+
package-name: azure-mgmt-containerinstance
24+
package-version: 1.0.0
25+
```
26+
27+
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
1928
python:
2029
no-namespace-folders: true
2130
output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance
2231
```
23-
``` yaml $(python) && $(python-mode) == 'create'
32+
33+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
34+
no-namespace-folders: true
35+
output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance
36+
```
37+
38+
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
2439
python:
2540
basic-setup-py: true
2641
output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance
2742
```
43+
44+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
45+
basic-setup-py: true
46+
output-folder: $(python-sdks-folder)/containerinstance/azure-mgmt-containerinstance
47+
```

0 commit comments

Comments
 (0)