Skip to content

Commit e304f0d

Browse files
authored
peering readme t2 config (#14106)
1 parent 1506e7f commit e304f0d

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

specification/peering/resource-manager/readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ This is not used by Autorest itself.
130130
``` yaml $(swagger-to-sdk)
131131
swagger-to-sdk:
132132
- repo: azure-sdk-for-python
133+
- repo: azure-sdk-for-python-track2
133134
- repo: azure-sdk-for-java
134135
- repo: azure-sdk-for-go
135136
- repo: azure-sdk-for-net
@@ -143,6 +144,10 @@ swagger-to-sdk:
143144
- node sdkauto_afterscript.js peering/resource-manager
144145
```
145146

147+
## Python
148+
149+
See configuration in [readme.python.md](./readme.python.md)
150+
146151
## C#
147152

148153
See configuration in [readme.csharp.md](./readme.csharp.md)

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

Lines changed: 21 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,31 @@ python:
1515
package-version: 0.2.0
1616
clear-output-folder: true
1717
```
18-
``` yaml $(python) && $(python-mode) == 'update'
18+
``` yaml $(python) && $(track2)
19+
python-mode: create
20+
azure-arm: true
21+
license-header: MICROSOFT_MIT_NO_VERSION
22+
namespace: azure.mgmt.peering
23+
package-name: azure-mgmt-peering
24+
package-version: 0.2.0
25+
clear-output-folder: true
26+
```
27+
28+
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
1929
python:
2030
no-namespace-folders: true
2131
output-folder: $(python-sdks-folder)/peering/azure-mgmt-peering/azure/mgmt/peering
2232
```
23-
``` yaml $(python) && $(python-mode) == 'create'
33+
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
2434
python:
2535
basic-setup-py: true
2636
output-folder: $(python-sdks-folder)/peering/azure-mgmt-peering
2737
```
38+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
39+
no-namespace-folders: true
40+
output-folder: $(python-sdks-folder)/peering/azure-mgmt-peering/azure/mgmt/peering
41+
```
42+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
43+
basic-setup-py: true
44+
output-folder: $(python-sdks-folder)/peering/azure-mgmt-peering
45+
```

0 commit comments

Comments
 (0)