11## Python
22
3- These settings apply only when ` --python ` is specified on the command line.
4- Please also specify ` --python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone> ` .
5- Use ` --python-mode=update ` if you already have a setup.py and just want to update the code itself.
6-
7- ``` yaml $(python)
8- python-mode : create
9- python :
10- azure-arm : true
11- license-header : MICROSOFT_MIT_NO_VERSION
12- payload-flattening-threshold : 2
13- package-name : azure-mgmt-authorization
14- clear-output-folder : true
15- no-namespace-folders : true
3+ These settings apply only when ` --track2 ` is specified on the command line.
4+
5+ ``` yaml $(track2)
6+ azure-arm : true
7+ license-header : MICROSOFT_MIT_NO_VERSION
8+ package-name : azure-mgmt-authorization
9+ no-namespace-folders : true
10+ package-version : 1.0.0b1
1611` ` `
1712
1813### Python multi-api
1914
2015Generate all API versions currently shipped for this package
2116
22- ` ` ` yaml $(python) && $(multiapi)
17+ ` ` ` yaml $(multiapi)
18+ clear-output-folder : true
2319batch :
2420 - tag : package-2021-03-01-preview-only
2521 - tag : package-2021-01-01-preview-only
@@ -31,103 +27,99 @@ batch:
3127 - tag : package-2018-01-01-preview-only
3228 - tag : package-2015-07-01
3329 - tag : package-2015-06-01-preview
30+ - multiapiscript : true
31+ ` ` `
32+ ` ` ` yaml $(multiapiscript)
33+ output-folder : $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/
34+ clear-output-folder : false
35+ perform-load : false
3436` ` `
3537
3638### Tag: package-2021-03-01-preview-only and python
3739
3840These settings apply only when ` --tag=package-2021-03-01-preview-only --python` is specified on the command line.
3941
4042` ` ` yaml $(tag) == 'package-2021-03-01-preview-only' && $(python)
41- python:
42- namespace: azure.mgmt.authorization.v2021_03_01_preview
43- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2021_03_01_preview
43+ namespace: azure.mgmt.authorization.v2021_03_01_preview
44+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2021_03_01_preview
4445` ` `
4546
4647# ## Tag: package-2020-04-01-preview-only and python
4748
4849These settings apply only when `--tag=package-2020-04-01-preview-only --python` is specified on the command line.
4950
5051` ` ` yaml $(tag) == 'package-2020-04-01-preview-only' && $(python)
51- python:
52- namespace: azure.mgmt.authorization.v2020_04_01_preview
53- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2020_04_01_preview
52+ namespace: azure.mgmt.authorization.v2020_04_01_preview
53+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2020_04_01_preview
5454` ` `
5555
5656# ## Tag: package-2018-09-01-preview-only and python
5757
5858These settings apply only when `--tag=package-2018-09-01-preview-only --python` is specified on the command line.
5959
6060` ` ` yaml $(tag) == 'package-2018-09-01-preview-only' && $(python)
61- python:
62- namespace: azure.mgmt.authorization.v2018_09_01_preview
63- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_09_01_preview
61+ namespace: azure.mgmt.authorization.v2018_09_01_preview
62+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_09_01_preview
6463` ` `
6564
6665# ## Tag: package-2018-07-01-preview-only and python
6766
6867These settings apply only when `--tag=package-2018-07-01-preview-only --python` is specified on the command line.
6968
7069` ` ` yaml $(tag) == 'package-2018-07-01-preview-only' && $(python)
71- python:
72- namespace: azure.mgmt.authorization.v2018_07_01_preview
73- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_07_01_preview
70+ namespace: azure.mgmt.authorization.v2018_07_01_preview
71+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_07_01_preview
7472` ` `
7573
7674# ## Tag: package-2018-05-01-preview and python
7775
7876These settings apply only when `--tag=package-2018-05-01-preview --python` is specified on the command line.
7977
8078` ` ` yaml $(tag) == 'package-2018-05-01-preview' && $(python)
81- python:
82- namespace: azure.mgmt.authorization.v2018_05_01_preview
83- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_05_01_preview
79+ namespace: azure.mgmt.authorization.v2018_05_01_preview
80+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_05_01_preview
8481` ` `
8582
8683# ## Tag: package-2018-01-01-preview-only and python
8784
8885These settings apply only when `--tag=package-2018-01-01-preview-only --python` is specified on the command line.
8986
9087` ` ` yaml $(tag) == 'package-2018-01-01-preview-only' && $(python)
91- python:
92- namespace: azure.mgmt.authorization.v2018_01_01_preview
93- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_01_01_preview
88+ namespace: azure.mgmt.authorization.v2018_01_01_preview
89+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_01_01_preview
9490` ` `
9591
9692# ## Tag: package-2015-07-01 and python
9793
9894These settings apply only when `--tag=package-2015-07-01 --python` is specified on the command line.
9995
10096` ` ` yaml $(tag) == 'package-2015-07-01' && $(python)
101- python:
102- namespace: azure.mgmt.authorization.v2015_07_01
103- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2015_07_01
97+ namespace: azure.mgmt.authorization.v2015_07_01
98+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2015_07_01
10499` ` `
105100
106101# ## Tag: 2015-06-01-preview and python
107102
108103These settings apply only when `--tag=2015-06-01-preview --python` is specified on the command line.
109104
110105` ` ` yaml $(tag) == 'package-2015-06-01-preview' && $(python)
111- python:
112- namespace: azure.mgmt.authorization.v2015_06_01
113- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2015_06_01
106+ namespace: azure.mgmt.authorization.v2015_06_01
107+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2015_06_01
114108` ` `
115109
116110# ## Tag: package-2021-01-01-preview-only and python
117111
118112These settings apply only when `--tag=package-2021-01-01-preview-only --python` is specified on the command line.
119113
120114` ` ` yaml $(tag) == 'package-2021-01-01-preview-only' && $(python)
121- python:
122- namespace: azure.mgmt.authorization.v2021_01_01_preview
123- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2021_01_01_preview
115+ namespace: azure.mgmt.authorization.v2021_01_01_preview
116+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2021_01_01_preview
124117` ` `
125118# ## Tag: package-2020-10-01-preview and python
126119
127120These settings apply only when `--tag=package-2020-10-01-preview --python` is specified on the command line.
128121
129122` ` ` yaml $(tag) == 'package-2020-10-01-preview' && $(python)
130- python:
131- namespace: azure.mgmt.authorization.v2020_10_01_preview
132- output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2020_10_01_preview
123+ namespace: azure.mgmt.authorization.v2020_10_01_preview
124+ output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2020_10_01_preview
133125` ` `
0 commit comments