Skip to content

Commit 25af5c1

Browse files
authored
alertsmanagement,applicationinsights,attestation,batch,cost-management,netapp,synapse (Azure#15000)
1 parent 7f530e3 commit 25af5c1

File tree

17 files changed

+37
-267
lines changed

17 files changed

+37
-267
lines changed

specification/alertsmanagement/resource-manager/readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ This is not used by Autorest itself.
147147
``` yaml $(swagger-to-sdk)
148148
swagger-to-sdk:
149149
- repo: azure-sdk-for-net
150-
- repo: azure-sdk-for-python
151150
- repo: azure-sdk-for-python-track2
152151
- repo: azure-libraries-for-java
153152
- repo: azure-sdk-for-go

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

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,28 @@ 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) && !$(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.alertsmanagement
14-
package-name: azure-mgmt-alertsmanagement
15-
clear-output-folder: true
16-
```
177

188
``` yaml $(python) && $(track2)
19-
python-mode: create
209
azure-arm: true
2110
license-header: MICROSOFT_MIT_NO_VERSION
2211
namespace: azure.mgmt.alertsmanagement
2312
package-name: azure-mgmt-alertsmanagement
2413
package-version: 1.0.0b1
2514
clear-output-folder: true
26-
modelerfour:
27-
lenient-model-deduplication: true
2815
```
2916
30-
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
31-
python:
32-
no-namespace-folders: true
33-
output-folder: $(python-sdks-folder)/alertsmanagement/azure-mgmt-alertsmanagement/azure/mgmt/alertsmanagement
34-
```
3517
3618
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
3719
no-namespace-folders: true
3820
output-folder: $(python-sdks-folder)/alertsmanagement/azure-mgmt-alertsmanagement/azure/mgmt/alertsmanagement
3921
```
4022
41-
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
42-
python:
43-
basic-setup-py: true
44-
output-folder: $(python-sdks-folder)/alertsmanagement/azure-mgmt-alertsmanagement
45-
```
46-
4723
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
4824
basic-setup-py: true
4925
output-folder: $(python-sdks-folder)/alertsmanagement/azure-mgmt-alertsmanagement
26+
```
27+
28+
``` yaml $(python) && $(track2)
29+
modelerfour:
30+
lenient-model-deduplication: true
5031
```

specification/applicationinsights/resource-manager/readme.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,6 @@ This is not used by Autorest itself.
435435
``` yaml $(swagger-to-sdk)
436436
swagger-to-sdk:
437437
- repo: azure-sdk-for-net
438-
- repo: azure-sdk-for-python
439-
after_scripts:
440-
- python ./scripts/multiapi_init_gen.py --default-api-version=2020-03-01-preview azure-mgmt-applicationinsights
441438
- repo: azure-sdk-for-python-track2
442439
- repo: azure-sdk-for-java
443440
- repo: azure-sdk-for-go
Lines changed: 6 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,20 @@
11
## Python
22

3-
## python
43
These settings apply only when `--python` is specified on the command line.
54

6-
```yaml $(python) && !$(track2)
7-
python-mode: create
8-
python:
9-
azure-arm: true
10-
license-header: MICROSOFT_MIT_NO_VERSION
11-
payload-flattening-threshold: 2
12-
package-name: azure-mgmt-applicationinsights
13-
clear-output-folder: true
14-
no-namespace-folders: true
15-
```
165
```yaml $(python) && $(track2)
176
python-mode: create
187
azure-arm: true
198
license-header: MICROSOFT_MIT_NO_VERSION
209
package-name: azure-mgmt-applicationinsights
10+
package-version: 1.0.0b1
2111
clear-output-folder: true
2212
no-namespace-folders: true
23-
modelerfour:
24-
lenient-model-deduplication: true
2513
```
2614
### Python multi-api
2715
28-
``` yaml $(python) && $(multiapi) && !$(track2)
29-
batch:
30-
- tag: package-2015-05
31-
- tag: package-2017-10
32-
- tag: package-2018-05-01-preview
33-
- tag: package-2018-06-17-preview
34-
- tag: package-2019-10-17-preview
35-
- tag: package-2020-02-02-preview
36-
- tag: package-2020-02-02
37-
- tag: package-2020-03-01-preview
38-
- tag: package-preview-2020-06-only
39-
```
4016
``` yaml $(python) && $(multiapi) && $(track2)
17+
clear-output-folder: true
4118
batch:
4219
- tag: package-2015-05
4320
- tag: package-2017-10
@@ -61,11 +38,6 @@ perform-load: false
6138
6239
These settings apply only when `--tag=package-2015-05 --python` is specified on the command line.
6340

64-
``` yaml $(tag) == 'package-2015-05' && $(python) && !$(track2)
65-
python:
66-
namespace: azure.mgmt.applicationinsights.v2015_05_01
67-
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01
68-
```
6941
``` yaml $(tag) == 'package-2015-05' && $(python) && $(track2)
7042
namespace: azure.mgmt.applicationinsights.v2015_05_01
7143
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01
@@ -75,11 +47,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi
7547

7648
These settings apply only when `--tag=package-2017-10 --python` is specified on the command line.
7749

78-
``` yaml $(tag) == 'package-2017-10' && $(python) && !$(track2)
79-
python:
80-
namespace: azure.mgmt.applicationinsights.v2017_10_01
81-
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2017_10_01
82-
```
8350
``` yaml $(tag) == 'package-2017-10' && $(python) && $(track2)
8451
namespace: azure.mgmt.applicationinsights.v2017_10_01
8552
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2017_10_01
@@ -89,11 +56,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi
8956

9057
These settings apply only when `--tag=package-2018-06-17-preview --python` is specified on the command line.
9158

92-
``` yaml $(tag) == 'package-2018-06-17-preview' && $(python) && !$(track2)
93-
python:
94-
namespace: azure.mgmt.applicationinsights.v2018_06_17_preview
95-
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_06_17_preview
96-
```
9759
``` yaml $(tag) == 'package-2018-06-17-preview' && $(python) && $(track2)
9860
namespace: azure.mgmt.applicationinsights.v2018_06_17_preview
9961
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_06_17_preview
@@ -103,11 +65,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi
10365

10466
These settings apply only when `--tag=package-2019-10-17-preview --python` is specified on the command line.
10567

106-
```yaml $(tag) == 'package-2019-10-17-preview' && $(python) && !$(track2)
107-
python:
108-
namespace: azure.mgmt.applicationinsights.v2019_10_17_preview
109-
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2019_10_17_preview
110-
```
11168
```yaml $(tag) == 'package-2019-10-17-preview' && $(python) && $(track2)
11269
namespace: azure.mgmt.applicationinsights.v2019_10_17_preview
11370
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2019_10_17_preview
@@ -117,11 +74,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi
11774

11875
These settings apply only when `--tag=package-2018-05-01-preview --python` is specified on the command line.
11976

120-
``` yaml $(tag) == 'package-2018-05-01-preview' && $(python) && !$(track2)
121-
python:
122-
namespace: azure.mgmt.applicationinsights.v2018_05_01_preview
123-
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_05_01_preview
124-
```
12577
``` yaml $(tag) == 'package-2018-05-01-preview' && $(python) && $(track2)
12678
namespace: azure.mgmt.applicationinsights.v2018_05_01_preview
12779
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_05_01_preview
@@ -131,11 +83,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi
13183

13284
These settings apply only when `--tag=package-2020-02-02-preview --python` is specified on the command line.
13385

134-
``` yaml $(tag) == 'package-2020-02-02-preview' && $(python) && !$(track2)
135-
python:
136-
namespace: azure.mgmt.applicationinsights.v2020_02_02_preview
137-
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_02_02_preview
138-
```
13986
``` yaml $(tag) == 'package-2020-02-02-preview' && $(python) && $(track2)
14087
namespace: azure.mgmt.applicationinsights.v2020_02_02_preview
14188
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_02_02_preview
@@ -145,11 +92,6 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi
14592

14693
These settings apply only when `--tag=package-2020-03-01-preview --python` is specified on the command line.
14794

148-
``` yaml $(tag) == 'package-2020-03-01-preview' && $(python) && !$(track2)
149-
python:
150-
namespace: azure.mgmt.applicationinsights.v2020_03_01_preview
151-
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_03_01_preview
152-
```
15395
``` yaml $(tag) == 'package-2020-03-01-preview' && $(python) && $(track2)
15496
namespace: azure.mgmt.applicationinsights.v2020_03_01_preview
15597
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_03_01_preview
@@ -159,12 +101,11 @@ output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationi
159101

160102
These settings apply only when `--tag=package-preview-2020-06-only --python` is specified on the command line.
161103

162-
``` yaml $(tag) == 'package-preview-2020-06-only' && $(python) && !$(track2)
163-
python:
164-
namespace: azure.mgmt.applicationinsights.v2020_06_02_preview
165-
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02_preview
166-
```
167104
``` yaml $(tag) == 'package-preview-2020-06-only' && $(python) && $(track2)
168105
namespace: azure.mgmt.applicationinsights.v2020_06_02_preview
169106
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02_preview
170107
```
108+
```yaml $(python) && $(track2)
109+
modelerfour:
110+
lenient-model-deduplication: true
111+
```

specification/attestation/resource-manager/readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ This is not used by Autorest itself.
6868
``` yaml $(swagger-to-sdk)
6969
swagger-to-sdk:
7070
- repo: azure-sdk-for-net
71-
- repo: azure-sdk-for-python
7271
- repo: azure-sdk-for-python-track2
7372
- repo: azure-sdk-for-go
7473
- repo: azure-sdk-for-js

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

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +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) && !$(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.attestation
14-
package-name: azure-mgmt-attestation
15-
package-version: 0.1.0
16-
clear-output-folder: true
17-
```
187
``` yaml $(python) && $(track2)
19-
python-mode: create
208
azure-arm: true
219
license-header: MICROSOFT_MIT_NO_VERSION
2210
namespace: azure.mgmt.attestation
@@ -26,16 +14,7 @@ clear-output-folder: true
2614
modelerfour:
2715
lenient-model-deduplication: true
2816
```
29-
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
30-
python:
31-
no-namespace-folders: true
32-
output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation/azure/mgmt/attestation
33-
```
34-
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
35-
python:
36-
basic-setup-py: true
37-
output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation
38-
```
17+
3918
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
4019
no-namespace-folders: true
4120
output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation/azure/mgmt/attestation
@@ -44,3 +23,8 @@ output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation/azure/mg
4423
basic-setup-py: true
4524
output-folder: $(python-sdks-folder)/attestation/azure-mgmt-attestation
4625
```
26+
27+
``` yaml $(python) && $(track2)
28+
modelerfour:
29+
lenient-model-deduplication: true
30+
```

specification/batch/resource-manager/readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ This is not used by Autorest itself.
177177
``` yaml $(swagger-to-sdk)
178178
swagger-to-sdk:
179179
- repo: azure-sdk-for-net
180-
- repo: azure-sdk-for-python
181180
- repo: azure-sdk-for-python-track2
182181
- repo: azure-sdk-for-java
183182
- repo: azure-sdk-for-go

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

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +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) && !$(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.batch
14-
package-name: azure-mgmt-batch
15-
clear-output-folder: true
16-
```
17-
187
``` yaml $(python) && $(track2)
19-
python-mode: create
208
azure-arm: true
219
license-header: MICROSOFT_MIT_NO_VERSION
2210
namespace: azure.mgmt.batch
@@ -25,18 +13,12 @@ package-version: 14.0.0b1
2513
clear-output-folder: true
2614
```
2715
28-
``` yaml $(python) && $(python-mode) == 'update'
16+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
2917
no-namespace-folders: true
3018
output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch/azure/mgmt/batch
31-
python:
32-
no-namespace-folders: true
33-
output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch/azure/mgmt/batch
3419
```
3520
36-
``` yaml $(python) && $(python-mode) == 'create'
21+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
3722
basic-setup-py: true
3823
output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch
39-
python:
40-
basic-setup-py: true
41-
output-folder: $(python-sdks-folder)/batch/azure-mgmt-batch
4224
```

specification/cost-management/resource-manager/readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ This is not used by Autorest itself.
228228
swagger-to-sdk:
229229
- repo: azure-sdk-for-net
230230
- repo: azure-sdk-for-go
231-
- repo: azure-sdk-for-python
232231
- repo: azure-sdk-for-python-track2
233232
- repo: azure-sdk-for-node
234233
- repo: azure-sdk-for-ruby
@@ -256,6 +255,10 @@ csharp:
256255

257256
See configuration in [readme.go.md](./readme.go.md)
258257

258+
## Python
259+
260+
See configuration in [readme.python.md](./readme.python.md)
261+
259262
## Java
260263

261264
These settings apply only when `--java` is specified on the command line.

specification/cost-management/resource-manager/readme.python.md

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,26 @@ 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) && !$(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.costmanagement
14-
package-name: azure-mgmt-costmanagement
15-
package-version: 1.2.0
16-
clear-output-folder: true
17-
```
18-
197
``` yaml $(python) && $(track2)
20-
python-mode: create
218
azure-arm: true
229
license-header: MICROSOFT_MIT_NO_VERSION
2310
namespace: azure.mgmt.costmanagement
2411
package-name: azure-mgmt-costmanagement
2512
package-version: 1.0.0b1
2613
clear-output-folder: true
27-
modelerfour:
28-
lenient-model-deduplication: true
2914
```
3015
31-
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
32-
python:
33-
no-namespace-folders: true
34-
output-folder: $(python-sdks-folder)/costmanagement/azure-mgmt-costmanagement/azure/mgmt/costmanagement
35-
```
3616
3717
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
3818
no-namespace-folders: true
3919
output-folder: $(python-sdks-folder)/costmanagement/azure-mgmt-costmanagement/azure/mgmt/costmanagement
4020
```
4121
42-
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
43-
python:
44-
basic-setup-py: true
45-
output-folder: $(python-sdks-folder)/costmanagement/azure-mgmt-costmanagement
46-
```
47-
4822
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
4923
basic-setup-py: true
5024
output-folder: $(python-sdks-folder)/costmanagement/azure-mgmt-costmanagement
5125
```
26+
``` yaml $(python) && $(track2)
27+
modelerfour:
28+
lenient-model-deduplication: true
29+
```

0 commit comments

Comments
 (0)