Skip to content

Commit d95daf6

Browse files
authored
add applicationinsights track2 config (#12001)
* add applicationinsights track2 config * fix
1 parent b8daa04 commit d95daf6

File tree

1 file changed

+76
-9
lines changed

1 file changed

+76
-9
lines changed

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

Lines changed: 76 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## python
44
These settings apply only when `--python` is specified on the command line.
55

6-
```yaml $(python)
6+
```yaml $(python) && !$(track2)
77
python-mode: create
88
python:
99
azure-arm: true
@@ -13,9 +13,30 @@ python:
1313
clear-output-folder: true
1414
no-namespace-folders: true
1515
```
16+
```yaml $(python) && $(track2)
17+
python-mode: create
18+
azure-arm: true
19+
license-header: MICROSOFT_MIT_NO_VERSION
20+
package-name: azure-mgmt-applicationinsights
21+
clear-output-folder: true
22+
no-namespace-folders: true
23+
modelerfour:
24+
lenient-model-deduplication: true
25+
```
1626
### Python multi-api
1727
18-
``` yaml $(python) && $(multiapi)
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-03-01-preview
37+
- tag: package-preview-2020-06-only
38+
```
39+
``` yaml $(python) && $(multiapi) && $(track2)
1940
batch:
2041
- tag: package-2015-05
2142
- tag: package-2017-10
@@ -25,77 +46,123 @@ batch:
2546
- tag: package-2020-02-02-preview
2647
- tag: package-2020-03-01-preview
2748
- tag: package-preview-2020-06-only
49+
- multiapiscript: true
50+
```
51+
52+
``` yaml $(multiapiscript)
53+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/
54+
clear-output-folder: false
55+
perform-load: false
2856
```
2957
3058
### Tag: package-2015-05 and python
3159
3260
These settings apply only when `--tag=package-2015-05 --python` is specified on the command line.
3361

34-
``` yaml $(tag) == 'package-2015-05' && $(python)
62+
``` yaml $(tag) == 'package-2015-05' && $(python) && !$(track2)
3563
python:
3664
namespace: azure.mgmt.applicationinsights.v2015_05_01
3765
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01
3866
```
67+
``` yaml $(tag) == 'package-2015-05' && $(python) && $(track2)
68+
namespace: azure.mgmt.applicationinsights.v2015_05_01
69+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2015_05_01
70+
```
3971

4072
### Tag: package-2017-10 and python
4173

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

44-
``` yaml $(tag) == 'package-2017-10' && $(python)
76+
``` yaml $(tag) == 'package-2017-10' && $(python) && !$(track2)
4577
python:
4678
namespace: azure.mgmt.applicationinsights.v2017_10_01
4779
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2017_10_01
4880
```
81+
``` yaml $(tag) == 'package-2017-10' && $(python) && $(track2)
82+
namespace: azure.mgmt.applicationinsights.v2017_10_01
83+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2017_10_01
84+
```
4985

5086
### Tag: package-2018-06-17-preview and python
5187

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

54-
``` yaml $(tag) == 'package-2018-06-17-preview' && $(python)
90+
``` yaml $(tag) == 'package-2018-06-17-preview' && $(python) && !$(track2)
5591
python:
5692
namespace: azure.mgmt.applicationinsights.v2018_06_17_preview
5793
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_06_17_preview
5894
```
95+
``` yaml $(tag) == 'package-2018-06-17-preview' && $(python) && $(track2)
96+
namespace: azure.mgmt.applicationinsights.v2018_06_17_preview
97+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_06_17_preview
98+
```
5999

60100
### Tag: package-2019-10-17-preview and python
61101

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

64-
```yaml $(tag) == 'package-2019-10-17-preview' && $(python)
104+
```yaml $(tag) == 'package-2019-10-17-preview' && $(python) && !$(track2)
65105
python:
66106
namespace: azure.mgmt.applicationinsights.v2019_10_17_preview
67107
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2019_10_17_preview
68108
```
109+
```yaml $(tag) == 'package-2019-10-17-preview' && $(python) && $(track2)
110+
namespace: azure.mgmt.applicationinsights.v2019_10_17_preview
111+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2019_10_17_preview
112+
```
69113

70114
### Tag: package-2018-05-01-preview and python
71115

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

74-
``` yaml $(tag) == 'package-2018-05-01-preview' && $(python)
118+
``` yaml $(tag) == 'package-2018-05-01-preview' && $(python) && !$(track2)
75119
python:
76120
namespace: azure.mgmt.applicationinsights.v2018_05_01_preview
77121
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_05_01_preview
78122
```
123+
``` yaml $(tag) == 'package-2018-05-01-preview' && $(python) && $(track2)
124+
namespace: azure.mgmt.applicationinsights.v2018_05_01_preview
125+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2018_05_01_preview
126+
```
79127

80128
### Tag: package-2020-02-02-preview and python
81129

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

84-
``` yaml $(tag) == 'package-2020-02-02-preview' && $(python)
132+
``` yaml $(tag) == 'package-2020-02-02-preview' && $(python) && !$(track2)
85133
python:
86134
namespace: azure.mgmt.applicationinsights.v2020_02_02_preview
87135
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_02_02_preview
88136
```
137+
``` yaml $(tag) == 'package-2020-02-02-preview' && $(python) && $(track2)
138+
namespace: azure.mgmt.applicationinsights.v2020_02_02_preview
139+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_02_02_preview
140+
```
89141

90142
### Tag: package-2020-03-01-preview and python
91143

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

94-
``` yaml $(tag) == 'package-2020-03-01-preview' && $(python)
146+
``` yaml $(tag) == 'package-2020-03-01-preview' && $(python) && !$(track2)
95147
python:
96148
namespace: azure.mgmt.applicationinsights.v2020_03_01_preview
97149
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_03_01_preview
98150
```
151+
``` yaml $(tag) == 'package-2020-03-01-preview' && $(python) && $(track2)
152+
namespace: azure.mgmt.applicationinsights.v2020_03_01_preview
153+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_03_01_preview
154+
```
99155

156+
### Tag: package-preview-2020-06-only and python
100157

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

160+
``` yaml $(tag) == 'package-preview-2020-06-only' && $(python) && !$(track2)
161+
python:
162+
namespace: azure.mgmt.applicationinsights.v2020_06_02_preview
163+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02-preview
164+
```
165+
``` yaml $(tag) == 'package-preview-2020-06-only' && $(python) && $(track2)
166+
namespace: azure.mgmt.applicationinsights.v2020_06_02_preview
167+
output-folder: $(python-sdks-folder)/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2020_06_02_preview
168+
```

0 commit comments

Comments
 (0)