1
1
## Python
2
2
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) && !$(track2)
8
- python-mode : create
9
- python :
10
- azure-arm : true
11
- license-header : MICROSOFT_MIT_NO_VERSION
12
- payload-flattening-threshold : 2
13
- namespace : azure.mgmt.recoveryservicesbackup
14
- package-name : azure-mgmt-recoveryservicesbackup
15
- package-version : 0.1.0
16
- clear-output-folder : true
17
- ` ` `
18
- ` ` ` yaml $(python) && $(track2)
19
- python-mode : create
3
+ These settings apply only when ` --track2 ` is specified on the command line.
4
+
5
+ ``` yaml $(track2)
20
6
azure-arm : true
21
7
license-header : MICROSOFT_MIT_NO_VERSION
22
- namespace : azure.mgmt.recoveryservicesbackup
23
8
package-name : azure-mgmt-recoveryservicesbackup
24
9
package-version : 1.0.0b1
25
- clear-output-folder : true
26
- modelerfour :
27
- lenient-model-deduplication : true
28
- ` ` `
29
- ` ` ` yaml $(python) && $(python-mode) == 'update' && !$(track2)
30
- python :
31
- no-namespace-folders : true
32
- output-folder : $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup
10
+ no-namespace-folders : true
33
11
` ` `
34
- ` ` ` yaml $(python) && $(python-mode) == 'create' && !$(track2)
35
- python :
36
- basic-setup-py : true
37
- output-folder : $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservicesbackup
12
+
13
+ ### Python multi-api
14
+
15
+ Generate all API versions currently shipped for this package
16
+
17
+ ` ` ` yaml $(track2)
18
+ clear-output-folder : true
19
+ batch :
20
+ - tag : package-passivestamp-2018-12-20
21
+ - tag : package-2021-10
38
22
` ` `
39
- ` ` ` yaml $(python) && $(python-mode) == 'update' && $(track2)
40
- no-namespace-folders : true
41
- output-folder : $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup
23
+
24
+ ### Tag: package-passivestamp-2018-12-20 and python
25
+
26
+ These settings apply only when ` --tag=package-passivestamp-2018-12-20 --python` is specified on the command line.
27
+ Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
28
+
29
+ ` ` ` yaml $(tag) == 'package-passivestamp-2018-12-20'
30
+ title: Recovery Services Backup Passive Client
31
+ namespace: azure.mgmt.recoveryservicesbackup.passivestamp
32
+ output-folder: $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/passivestamp
42
33
` ` `
43
- ` ` ` yaml $(python) && $(python-mode) == 'create' && $(track2)
44
- basic-setup-py : true
45
- output-folder : $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservicesbackup
34
+
35
+ # ## Tag: package-2021-10 and python
36
+
37
+ These settings apply only when `--tag=package-2021-10 --python` is specified on the command line.
38
+ Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
39
+
40
+ ` ` ` yaml $(tag) == 'package-2021-10'
41
+ namespace: azure.mgmt.recoveryservicesbackup.activestamp
42
+ output-folder: $(python-sdks-folder)/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/activestamp
46
43
` ` `
47
44
45
+
46
+
48
47
` ` ` yaml $(python) && $(track2)
48
+ modelerfour:
49
+ lenient-model-deduplication: true
49
50
directive:
50
51
- from: swagger-document
51
52
where: $.definitions.ProtectionIntent
@@ -56,5 +57,4 @@ directive:
56
57
transform: >
57
58
$['required'] = ['featureType'];
58
59
59
-
60
- ` ` `
60
+ ` ` `
0 commit comments