Skip to content

Commit 6e76538

Browse files
zhangyan133Yan Zhang (WICRESOFT NORTH AMERICA LTD)msyyc
authored
trafficmanager wave4 (Azure#14166)
* trafficmanager wave4 * Update readme.python.md Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <[email protected]> Co-authored-by: msyyc <[email protected]>
1 parent 7e3842b commit 6e76538

File tree

2 files changed

+46
-24
lines changed

2 files changed

+46
-24
lines changed

specification/trafficmanager/resource-manager/readme.md

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ This is not used by Autorest itself.
183183
swagger-to-sdk:
184184
- repo: azure-sdk-for-net
185185
- repo: azure-sdk-for-python
186+
- repo: azure-sdk-for-python-track2
186187
- repo: azure-libraries-for-java
187188
- repo: azure-sdk-for-go
188189
- repo: azure-sdk-for-node
@@ -212,30 +213,7 @@ csharp:
212213

213214
## Python
214215

215-
These settings apply only when `--python` is specified on the command line.
216-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
217-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
218-
219-
``` yaml $(python)
220-
python-mode: create
221-
python:
222-
azure-arm: true
223-
license-header: MICROSOFT_MIT_NO_VERSION
224-
payload-flattening-threshold: 2
225-
namespace: azure.mgmt.trafficmanager
226-
package-name: azure-mgmt-trafficmanager
227-
clear-output-folder: true
228-
```
229-
``` yaml $(python) && $(python-mode) == 'update'
230-
python:
231-
no-namespace-folders: true
232-
output-folder: $(python-sdks-folder)/trafficmanager/azure-mgmt-trafficmanager/azure/mgmt/trafficmanager
233-
```
234-
``` yaml $(python) && $(python-mode) == 'create'
235-
python:
236-
basic-setup-py: true
237-
output-folder: $(python-sdks-folder)/trafficmanager/azure-mgmt-trafficmanager
238-
```
216+
See configuration in [readme.python.md](./readme.python.md)
239217

240218
## Go
241219

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## Python
2+
3+
These settings apply only when `--python` is specified on the command line.
4+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
5+
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
6+
7+
``` yaml $(python)&& !$(track2)
8+
python-mode: create
9+
python:
10+
azure-arm: true
11+
license-header: MICROSOFT_MIT_NO_VERSION
12+
payload-flattening-threshold: 2
13+
namespace: azure.mgmt.trafficmanager
14+
package-name: azure-mgmt-trafficmanager
15+
package-version: 1.0.0b1
16+
clear-output-folder: true
17+
```
18+
``` yaml $(python) && $(track2)
19+
python-mode: create
20+
azure-arm: true
21+
license-header: MICROSOFT_MIT_NO_VERSION
22+
namespace: azure.mgmt.trafficmanager
23+
package-name: azure-mgmt-trafficmanager
24+
package-version: 1.0.0b1
25+
clear-output-folder: true
26+
```
27+
``` yaml $(python) && $(python-mode) == 'update'&& !$(track2)
28+
python:
29+
no-namespace-folders: true
30+
output-folder: $(python-sdks-folder)/trafficmanager/azure-mgmt-trafficmanager/azure/mgmt/trafficmanager
31+
```
32+
``` yaml $(python) && $(python-mode) == 'create'&& !$(track2)
33+
python:
34+
basic-setup-py: true
35+
output-folder: $(python-sdks-folder)/trafficmanager/azure-mgmt-trafficmanager
36+
```
37+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
38+
no-namespace-folders: true
39+
output-folder: $(python-sdks-folder)/trafficmanager/azure-mgmt-trafficmanager/azure/mgmt/trafficmanager
40+
```
41+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
42+
basic-setup-py: true
43+
output-folder: $(python-sdks-folder)/trafficmanager/azure-mgmt-trafficmanager
44+
```

0 commit comments

Comments
 (0)