Skip to content

Commit 13c4d33

Browse files
00Kai0josuh
authored andcommitted
add serialconsole track2 config (Azure#12046)
1 parent 7a2b625 commit 13c4d33

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

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

Lines changed: 22 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,32 @@ python:
1515
package-version: 0.1.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.serialconsole
23+
package-name: azure-mgmt-serialconsole
24+
package-version: 0.1.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)/serialconsole/azure-mgmt-serialconsole/azure/mgmt/serialconsole
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)/serialconsole/azure-mgmt-serialconsole
37+
```
38+
39+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
40+
no-namespace-folders: true
41+
output-folder: $(python-sdks-folder)/serialconsole/azure-mgmt-serialconsole/azure/mgmt/serialconsole
42+
```
43+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
44+
basic-setup-py: true
45+
output-folder: $(python-sdks-folder)/serialconsole/azure-mgmt-serialconsole
2746
```

0 commit comments

Comments
 (0)