Skip to content

Commit 68a3fb8

Browse files
BigCat20196visingl
authored andcommitted
[Msi] update readme.python to Multiapi (#18408)
* update readme.python to multiapi * Update readme.python.md * Update readme.python.md
1 parent 6c6baa8 commit 68a3fb8

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

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

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,44 @@ Use `--python-mode=update` if you already have a setup.py and just want to updat
88
azure-arm: true
99
license-header: MICROSOFT_MIT_NO_VERSION
1010
package-name: azure-mgmt-msi
11-
namespace: azure.mgmt.msi
1211
package-version: 1.0.0b1
12+
no-namespace-folders: true
13+
```
14+
15+
### Python multi-api
16+
17+
Generate all API versions currently shipped for this package
18+
19+
20+
```yaml $(multiapi) && $(python)
1321
clear-output-folder: true
22+
batch:
23+
- tag: package-preview-2021-09
24+
- tag: package-2018-11-30
25+
- multiapiscript: true
1426
```
1527
16-
``` yaml $(python)
17-
no-namespace-folders: true
18-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-msi/azure/mgmt/msi
28+
``` yaml $(multiapiscript)
29+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-msi/azure/mgmt/msi/
30+
perform-load: false
31+
```
32+
33+
### Tag: package-2019-09-preview and python
34+
35+
These settings apply only when `--tag=package-preview-2021-09 --python` is specified on the command line.
36+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
37+
38+
``` yaml $(tag) == 'package-preview-2021-09'
39+
namespace: azure.mgmt.msi.v2019_09_01_preview
40+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-msi/azure/mgmt/msi/v2019_09_01_preview
41+
```
42+
43+
### Tag: package-2018-11-30 and python
44+
45+
These settings apply only when `--tag=package-2018-11-30 --python` is specified on the command line.
46+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
47+
48+
``` yaml $(tag) == 'package-2018-11-30'
49+
namespace: azure.mgmt.msi.v2018_11_30
50+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-msi/azure/mgmt/msi/v2018_11_30
1951
```

0 commit comments

Comments
 (0)