Skip to content

Commit 14a3c4a

Browse files
authored
add portal track2 config (#12069)
1 parent e2f0283 commit 14a3c4a

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

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

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
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

6-
```yaml $(python)
6+
```yaml $(python) && !$(track2)
77
python:
88
azure-arm: true
99
license-header: MICROSOFT_MIT_NO_VERSION
@@ -13,9 +13,30 @@ python:
1313
package-version: 0.1.0
1414
clear-output-folder: true
1515
```
16+
```yaml $(python) && $(track2)
17+
azure-arm: true
18+
license-header: MICROSOFT_MIT_NO_VERSION
19+
namespace: azure.mgmt.portal
20+
package-name: azure-mgmt-portal
21+
package-version: 0.1.0
22+
clear-output-folder: true
23+
```
1624
17-
```yaml $(python)
25+
```yaml $(python) && $(python-mode) == 'create' && !$(track2)
26+
python:
27+
basic-setup-py: true
28+
output-folder: $(python-sdks-folder)/portal/azure-mgmt-portal
29+
```
30+
```yaml $(python) && $(python-mode) == 'update' && !$(track2)
1831
python:
1932
no-namespace-folders: true
2033
output-folder: $(python-sdks-folder)/portal/azure-mgmt-portal/azure/mgmt/portal
2134
```
35+
```yaml $(python) && $(python-mode) == 'create' && $(track2)
36+
basic-setup-py: true
37+
output-folder: $(python-sdks-folder)/portal/azure-mgmt-portal
38+
```
39+
```yaml $(python) && $(python-mode) == 'update' && $(track2)
40+
no-namespace-folders: true
41+
output-folder: $(python-sdks-folder)/portal/azure-mgmt-portal/azure/mgmt/portal
42+
```

0 commit comments

Comments
 (0)