Skip to content

Commit 27ec242

Browse files
authored
add eventgrid track2 config (#12188)
1 parent b54f814 commit 27ec242

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

specification/eventgrid/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,15 +15,34 @@ python:
1515
package-version: 2.2.0
1616
clear-output-folder: true
1717
```
18+
``` yaml $(python) && $(track2)
19+
python-mode: create
20+
azure-arm: true
21+
license-header: MICROSOFT_MIT_NO_VERSION
22+
namespace: azure.mgmt.eventgrid
23+
package-name: azure-mgmt-eventgrid
24+
package-version: 2.2.0
25+
clear-output-folder: true
26+
```
1827
19-
``` yaml $(python) && $(python-mode) == 'update'
28+
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
2029
python:
2130
no-namespace-folders: true
2231
output-folder: $(python-sdks-folder)/eventgrid/azure-mgmt-eventgrid/azure/mgmt/eventgrid
2332
```
2433
25-
``` yaml $(python) && $(python-mode) == 'create'
34+
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
2635
python:
2736
basic-setup-py: true
2837
output-folder: $(python-sdks-folder)/eventgrid/azure-mgmt-eventgrid
2938
```
39+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
40+
no-namespace-folders: true
41+
output-folder: $(python-sdks-folder)/eventgrid/azure-mgmt-eventgrid/azure/mgmt/eventgrid
42+
```
43+
44+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
45+
basic-setup-py: true
46+
output-folder: $(python-sdks-folder)/eventgrid/azure-mgmt-eventgrid
47+
```
48+

0 commit comments

Comments
 (0)