Skip to content

Commit 28ca3f2

Browse files
authored
add subscription track2 config (#12140)
1 parent 8a3dbe9 commit 28ca3f2

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

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

Lines changed: 19 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
@@ -14,13 +14,29 @@ python:
1414
package-name: azure-mgmt-subscription
1515
clear-output-folder: true
1616
```
17-
``` yaml $(python) && $(python-mode) == 'update'
17+
``` yaml $(python) && $(track2)
18+
python-mode: create
19+
azure-arm: true
20+
license-header: MICROSOFT_MIT_NO_VERSION
21+
namespace: azure.mgmt.subscription
22+
package-name: azure-mgmt-subscription
23+
clear-output-folder: true
24+
```
25+
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
1826
python:
1927
no-namespace-folders: true
2028
output-folder: $(python-sdks-folder)/subscription/azure-mgmt-subscription/azure/mgmt/subscription
2129
```
22-
``` yaml $(python) && $(python-mode) == 'create'
30+
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
2331
python:
2432
basic-setup-py: true
2533
output-folder: $(python-sdks-folder)/subscription/azure-mgmt-subscription
2634
```
35+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
36+
no-namespace-folders: true
37+
output-folder: $(python-sdks-folder)/subscription/azure-mgmt-subscription/azure/mgmt/subscription
38+
```
39+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
40+
basic-setup-py: true
41+
output-folder: $(python-sdks-folder)/subscription/azure-mgmt-subscription
42+
```

0 commit comments

Comments
 (0)