@azure/arm-advisor 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -81
- package/dist/index.js +1913 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/advisorManagementClient.d.ts +22 -0
- package/dist-esm/src/advisorManagementClient.d.ts.map +1 -0
- package/dist-esm/src/advisorManagementClient.js +55 -0
- package/dist-esm/src/advisorManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +457 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +55 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +21 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +315 -268
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +19 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +81 -61
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/configurations.d.ts +62 -0
- package/dist-esm/src/operations/configurations.d.ts.map +1 -0
- package/dist-esm/src/operations/configurations.js +260 -0
- package/dist-esm/src/operations/configurations.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/recommendationMetadata.d.ts +38 -0
- package/dist-esm/src/operations/recommendationMetadata.d.ts.map +1 -0
- package/dist-esm/src/operations/recommendationMetadata.js +148 -0
- package/dist-esm/src/operations/recommendationMetadata.js.map +1 -0
- package/dist-esm/src/operations/recommendations.d.ts +57 -0
- package/dist-esm/src/operations/recommendations.d.ts.map +1 -0
- package/dist-esm/src/operations/recommendations.js +220 -0
- package/dist-esm/src/operations/recommendations.js.map +1 -0
- package/dist-esm/src/operations/suppressions.d.ts +65 -0
- package/dist-esm/src/operations/suppressions.d.ts.map +1 -0
- package/dist-esm/src/operations/suppressions.js +242 -0
- package/dist-esm/src/operations/suppressions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurations.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/recommendationMetadata.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/recommendationMetadata.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/recommendationMetadata.js +9 -0
- package/dist-esm/src/operationsInterfaces/recommendationMetadata.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/recommendations.d.ts +35 -0
- package/dist-esm/src/operationsInterfaces/recommendations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/recommendations.js +9 -0
- package/dist-esm/src/operationsInterfaces/recommendations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/suppressions.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/suppressions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/suppressions.js +9 -0
- package/dist-esm/src/operationsInterfaces/suppressions.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +4 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +43 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +63 -32
- package/review/arm-advisor.api.md +466 -0
- package/rollup.config.js +181 -30
- package/src/advisorManagementClient.ts +82 -43
- package/src/index.ts +12 -0
- package/src/models/index.ts +408 -691
- package/src/models/mappers.ts +324 -269
- package/src/models/parameters.ts +105 -62
- package/src/operations/configurations.ts +210 -202
- package/src/operations/index.ts +3 -5
- package/src/operations/operations.ts +89 -75
- package/src/operations/recommendationMetadata.ts +111 -114
- package/src/operations/recommendations.ts +172 -203
- package/src/operations/suppressions.ts +201 -239
- package/src/operationsInterfaces/configurations.ts +65 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/recommendationMetadata.ts +36 -0
- package/src/operationsInterfaces/recommendations.ts +63 -0
- package/src/operationsInterfaces/suppressions.ts +78 -0
- package/tsconfig.json +3 -3
- package/types/arm-advisor.d.ts +679 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-advisor.js +0 -1737
- package/dist/arm-advisor.js.map +0 -1
- package/dist/arm-advisor.min.js +0 -1
- package/dist/arm-advisor.min.js.map +0 -1
- package/esm/advisorManagementClient.d.ts +0 -28
- package/esm/advisorManagementClient.d.ts.map +0 -1
- package/esm/advisorManagementClient.js +0 -42
- package/esm/advisorManagementClient.js.map +0 -1
- package/esm/advisorManagementClientContext.d.ts +0 -22
- package/esm/advisorManagementClientContext.d.ts.map +0 -1
- package/esm/advisorManagementClientContext.js +0 -61
- package/esm/advisorManagementClientContext.js.map +0 -1
- package/esm/models/configurationsMappers.d.ts +0 -2
- package/esm/models/configurationsMappers.d.ts.map +0 -1
- package/esm/models/configurationsMappers.js +0 -9
- package/esm/models/configurationsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -746
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -23
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -15
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/recommendationMetadataMappers.d.ts +0 -2
- package/esm/models/recommendationMetadataMappers.d.ts.map +0 -1
- package/esm/models/recommendationMetadataMappers.js +0 -9
- package/esm/models/recommendationMetadataMappers.js.map +0 -1
- package/esm/models/recommendationsMappers.d.ts +0 -2
- package/esm/models/recommendationsMappers.d.ts.map +0 -1
- package/esm/models/recommendationsMappers.js +0 -9
- package/esm/models/recommendationsMappers.js.map +0 -1
- package/esm/models/suppressionsMappers.d.ts +0 -2
- package/esm/models/suppressionsMappers.d.ts.map +0 -1
- package/esm/models/suppressionsMappers.js +0 -9
- package/esm/models/suppressionsMappers.js.map +0 -1
- package/esm/operations/configurations.d.ts +0 -109
- package/esm/operations/configurations.d.ts.map +0 -1
- package/esm/operations/configurations.js +0 -178
- package/esm/operations/configurations.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/recommendationMetadata.d.ts +0 -64
- package/esm/operations/recommendationMetadata.d.ts.map +0 -1
- package/esm/operations/recommendationMetadata.js +0 -108
- package/esm/operations/recommendationMetadata.js.map +0 -1
- package/esm/operations/recommendations.d.ts +0 -112
- package/esm/operations/recommendations.d.ts.map +0 -1
- package/esm/operations/recommendations.js +0 -168
- package/esm/operations/recommendations.js.map +0 -1
- package/esm/operations/suppressions.d.ts +0 -135
- package/esm/operations/suppressions.d.ts.map +0 -1
- package/esm/operations/suppressions.js +0 -182
- package/esm/operations/suppressions.js.map +0 -1
- package/src/advisorManagementClientContext.ts +0 -68
- package/src/models/configurationsMappers.ts +0 -21
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/recommendationMetadataMappers.ts +0 -15
- package/src/models/recommendationsMappers.ts +0 -21
- package/src/models/suppressionsMappers.ts +0 -20
package/src/models/mappers.ts
CHANGED
|
@@ -1,41 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
11
10
|
|
|
12
|
-
export const
|
|
13
|
-
export const BaseResource = BaseResourceMapper;
|
|
14
|
-
|
|
15
|
-
export const MetadataSupportedValueDetail: msRest.CompositeMapper = {
|
|
16
|
-
serializedName: "MetadataSupportedValueDetail",
|
|
17
|
-
type: {
|
|
18
|
-
name: "Composite",
|
|
19
|
-
className: "MetadataSupportedValueDetail",
|
|
20
|
-
modelProperties: {
|
|
21
|
-
id: {
|
|
22
|
-
serializedName: "id",
|
|
23
|
-
type: {
|
|
24
|
-
name: "String"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
displayName: {
|
|
28
|
-
serializedName: "displayName",
|
|
29
|
-
type: {
|
|
30
|
-
name: "String"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export const MetadataEntity: msRest.CompositeMapper = {
|
|
38
|
-
serializedName: "MetadataEntity",
|
|
11
|
+
export const MetadataEntity: coreClient.CompositeMapper = {
|
|
39
12
|
type: {
|
|
40
13
|
name: "Composite",
|
|
41
14
|
className: "MetadataEntity",
|
|
@@ -102,8 +75,119 @@ export const MetadataEntity: msRest.CompositeMapper = {
|
|
|
102
75
|
}
|
|
103
76
|
};
|
|
104
77
|
|
|
105
|
-
export const
|
|
106
|
-
|
|
78
|
+
export const MetadataSupportedValueDetail: coreClient.CompositeMapper = {
|
|
79
|
+
type: {
|
|
80
|
+
name: "Composite",
|
|
81
|
+
className: "MetadataSupportedValueDetail",
|
|
82
|
+
modelProperties: {
|
|
83
|
+
id: {
|
|
84
|
+
serializedName: "id",
|
|
85
|
+
type: {
|
|
86
|
+
name: "String"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
displayName: {
|
|
90
|
+
serializedName: "displayName",
|
|
91
|
+
type: {
|
|
92
|
+
name: "String"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
export const ARMErrorResponseBody: coreClient.CompositeMapper = {
|
|
100
|
+
type: {
|
|
101
|
+
name: "Composite",
|
|
102
|
+
className: "ARMErrorResponseBody",
|
|
103
|
+
modelProperties: {
|
|
104
|
+
message: {
|
|
105
|
+
serializedName: "message",
|
|
106
|
+
type: {
|
|
107
|
+
name: "String"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
code: {
|
|
111
|
+
serializedName: "code",
|
|
112
|
+
type: {
|
|
113
|
+
name: "String"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export const ArmErrorResponse: coreClient.CompositeMapper = {
|
|
121
|
+
type: {
|
|
122
|
+
name: "Composite",
|
|
123
|
+
className: "ArmErrorResponse",
|
|
124
|
+
modelProperties: {
|
|
125
|
+
error: {
|
|
126
|
+
serializedName: "error",
|
|
127
|
+
type: {
|
|
128
|
+
name: "Composite",
|
|
129
|
+
className: "ARMErrorResponseBody"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
export const MetadataEntityListResult: coreClient.CompositeMapper = {
|
|
137
|
+
type: {
|
|
138
|
+
name: "Composite",
|
|
139
|
+
className: "MetadataEntityListResult",
|
|
140
|
+
modelProperties: {
|
|
141
|
+
value: {
|
|
142
|
+
serializedName: "value",
|
|
143
|
+
type: {
|
|
144
|
+
name: "Sequence",
|
|
145
|
+
element: {
|
|
146
|
+
type: {
|
|
147
|
+
name: "Composite",
|
|
148
|
+
className: "MetadataEntity"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
nextLink: {
|
|
154
|
+
serializedName: "nextLink",
|
|
155
|
+
type: {
|
|
156
|
+
name: "String"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
export const ConfigurationListResult: coreClient.CompositeMapper = {
|
|
164
|
+
type: {
|
|
165
|
+
name: "Composite",
|
|
166
|
+
className: "ConfigurationListResult",
|
|
167
|
+
modelProperties: {
|
|
168
|
+
value: {
|
|
169
|
+
serializedName: "value",
|
|
170
|
+
type: {
|
|
171
|
+
name: "Sequence",
|
|
172
|
+
element: {
|
|
173
|
+
type: {
|
|
174
|
+
name: "Composite",
|
|
175
|
+
className: "ConfigData"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
nextLink: {
|
|
181
|
+
serializedName: "nextLink",
|
|
182
|
+
type: {
|
|
183
|
+
name: "String"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
export const DigestConfig: coreClient.CompositeMapper = {
|
|
107
191
|
type: {
|
|
108
192
|
name: "Composite",
|
|
109
193
|
className: "DigestConfig",
|
|
@@ -153,29 +237,28 @@ export const DigestConfig: msRest.CompositeMapper = {
|
|
|
153
237
|
}
|
|
154
238
|
};
|
|
155
239
|
|
|
156
|
-
export const Resource:
|
|
157
|
-
serializedName: "Resource",
|
|
240
|
+
export const Resource: coreClient.CompositeMapper = {
|
|
158
241
|
type: {
|
|
159
242
|
name: "Composite",
|
|
160
243
|
className: "Resource",
|
|
161
244
|
modelProperties: {
|
|
162
245
|
id: {
|
|
163
|
-
readOnly: true,
|
|
164
246
|
serializedName: "id",
|
|
247
|
+
readOnly: true,
|
|
165
248
|
type: {
|
|
166
249
|
name: "String"
|
|
167
250
|
}
|
|
168
251
|
},
|
|
169
252
|
name: {
|
|
170
|
-
readOnly: true,
|
|
171
253
|
serializedName: "name",
|
|
254
|
+
readOnly: true,
|
|
172
255
|
type: {
|
|
173
256
|
name: "String"
|
|
174
257
|
}
|
|
175
258
|
},
|
|
176
259
|
type: {
|
|
177
|
-
readOnly: true,
|
|
178
260
|
serializedName: "type",
|
|
261
|
+
readOnly: true,
|
|
179
262
|
type: {
|
|
180
263
|
name: "String"
|
|
181
264
|
}
|
|
@@ -184,33 +267,25 @@ export const Resource: msRest.CompositeMapper = {
|
|
|
184
267
|
}
|
|
185
268
|
};
|
|
186
269
|
|
|
187
|
-
export const
|
|
188
|
-
serializedName: "ConfigData",
|
|
270
|
+
export const ResourceRecommendationBaseListResult: coreClient.CompositeMapper = {
|
|
189
271
|
type: {
|
|
190
272
|
name: "Composite",
|
|
191
|
-
className: "
|
|
273
|
+
className: "ResourceRecommendationBaseListResult",
|
|
192
274
|
modelProperties: {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
serializedName: "properties.exclude",
|
|
196
|
-
type: {
|
|
197
|
-
name: "Boolean"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
lowCpuThreshold: {
|
|
201
|
-
serializedName: "properties.lowCpuThreshold",
|
|
275
|
+
nextLink: {
|
|
276
|
+
serializedName: "nextLink",
|
|
202
277
|
type: {
|
|
203
278
|
name: "String"
|
|
204
279
|
}
|
|
205
280
|
},
|
|
206
|
-
|
|
207
|
-
serializedName: "
|
|
281
|
+
value: {
|
|
282
|
+
serializedName: "value",
|
|
208
283
|
type: {
|
|
209
284
|
name: "Sequence",
|
|
210
285
|
element: {
|
|
211
286
|
type: {
|
|
212
287
|
name: "Composite",
|
|
213
|
-
className: "
|
|
288
|
+
className: "ResourceRecommendationBase"
|
|
214
289
|
}
|
|
215
290
|
}
|
|
216
291
|
}
|
|
@@ -219,20 +294,19 @@ export const ConfigData: msRest.CompositeMapper = {
|
|
|
219
294
|
}
|
|
220
295
|
};
|
|
221
296
|
|
|
222
|
-
export const
|
|
223
|
-
serializedName: "ARMErrorResponseBody",
|
|
297
|
+
export const ShortDescription: coreClient.CompositeMapper = {
|
|
224
298
|
type: {
|
|
225
299
|
name: "Composite",
|
|
226
|
-
className: "
|
|
300
|
+
className: "ShortDescription",
|
|
227
301
|
modelProperties: {
|
|
228
|
-
|
|
229
|
-
serializedName: "
|
|
302
|
+
problem: {
|
|
303
|
+
serializedName: "problem",
|
|
230
304
|
type: {
|
|
231
305
|
name: "String"
|
|
232
306
|
}
|
|
233
307
|
},
|
|
234
|
-
|
|
235
|
-
serializedName: "
|
|
308
|
+
solution: {
|
|
309
|
+
serializedName: "solution",
|
|
236
310
|
type: {
|
|
237
311
|
name: "String"
|
|
238
312
|
}
|
|
@@ -241,37 +315,122 @@ export const ARMErrorResponseBody: msRest.CompositeMapper = {
|
|
|
241
315
|
}
|
|
242
316
|
};
|
|
243
317
|
|
|
244
|
-
export const
|
|
245
|
-
serializedName: "ArmErrorResponse",
|
|
318
|
+
export const ResourceMetadata: coreClient.CompositeMapper = {
|
|
246
319
|
type: {
|
|
247
320
|
name: "Composite",
|
|
248
|
-
className: "
|
|
321
|
+
className: "ResourceMetadata",
|
|
249
322
|
modelProperties: {
|
|
250
|
-
|
|
251
|
-
serializedName: "
|
|
323
|
+
resourceId: {
|
|
324
|
+
serializedName: "resourceId",
|
|
325
|
+
type: {
|
|
326
|
+
name: "String"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
source: {
|
|
330
|
+
serializedName: "source",
|
|
331
|
+
type: {
|
|
332
|
+
name: "String"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
action: {
|
|
336
|
+
serializedName: "action",
|
|
337
|
+
type: {
|
|
338
|
+
name: "Dictionary",
|
|
339
|
+
value: {
|
|
340
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
singular: {
|
|
345
|
+
serializedName: "singular",
|
|
346
|
+
type: {
|
|
347
|
+
name: "String"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
plural: {
|
|
351
|
+
serializedName: "plural",
|
|
352
|
+
type: {
|
|
353
|
+
name: "String"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
export const OperationEntityListResult: coreClient.CompositeMapper = {
|
|
361
|
+
type: {
|
|
362
|
+
name: "Composite",
|
|
363
|
+
className: "OperationEntityListResult",
|
|
364
|
+
modelProperties: {
|
|
365
|
+
nextLink: {
|
|
366
|
+
serializedName: "nextLink",
|
|
367
|
+
type: {
|
|
368
|
+
name: "String"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
value: {
|
|
372
|
+
serializedName: "value",
|
|
373
|
+
type: {
|
|
374
|
+
name: "Sequence",
|
|
375
|
+
element: {
|
|
376
|
+
type: {
|
|
377
|
+
name: "Composite",
|
|
378
|
+
className: "OperationEntity"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
export const OperationEntity: coreClient.CompositeMapper = {
|
|
388
|
+
type: {
|
|
389
|
+
name: "Composite",
|
|
390
|
+
className: "OperationEntity",
|
|
391
|
+
modelProperties: {
|
|
392
|
+
name: {
|
|
393
|
+
serializedName: "name",
|
|
394
|
+
type: {
|
|
395
|
+
name: "String"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
display: {
|
|
399
|
+
serializedName: "display",
|
|
252
400
|
type: {
|
|
253
401
|
name: "Composite",
|
|
254
|
-
className: "
|
|
402
|
+
className: "OperationDisplayInfo"
|
|
255
403
|
}
|
|
256
404
|
}
|
|
257
405
|
}
|
|
258
406
|
}
|
|
259
407
|
};
|
|
260
408
|
|
|
261
|
-
export const
|
|
262
|
-
serializedName: "ShortDescription",
|
|
409
|
+
export const OperationDisplayInfo: coreClient.CompositeMapper = {
|
|
263
410
|
type: {
|
|
264
411
|
name: "Composite",
|
|
265
|
-
className: "
|
|
412
|
+
className: "OperationDisplayInfo",
|
|
266
413
|
modelProperties: {
|
|
267
|
-
|
|
268
|
-
serializedName: "
|
|
414
|
+
description: {
|
|
415
|
+
serializedName: "description",
|
|
269
416
|
type: {
|
|
270
417
|
name: "String"
|
|
271
418
|
}
|
|
272
419
|
},
|
|
273
|
-
|
|
274
|
-
serializedName: "
|
|
420
|
+
operation: {
|
|
421
|
+
serializedName: "operation",
|
|
422
|
+
type: {
|
|
423
|
+
name: "String"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
provider: {
|
|
427
|
+
serializedName: "provider",
|
|
428
|
+
type: {
|
|
429
|
+
name: "String"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
resource: {
|
|
433
|
+
serializedName: "resource",
|
|
275
434
|
type: {
|
|
276
435
|
name: "String"
|
|
277
436
|
}
|
|
@@ -280,30 +439,68 @@ export const ShortDescription: msRest.CompositeMapper = {
|
|
|
280
439
|
}
|
|
281
440
|
};
|
|
282
441
|
|
|
283
|
-
export const
|
|
284
|
-
serializedName: "ResourceMetadata",
|
|
442
|
+
export const SuppressionContractListResult: coreClient.CompositeMapper = {
|
|
285
443
|
type: {
|
|
286
444
|
name: "Composite",
|
|
287
|
-
className: "
|
|
445
|
+
className: "SuppressionContractListResult",
|
|
288
446
|
modelProperties: {
|
|
289
|
-
|
|
290
|
-
serializedName: "
|
|
447
|
+
nextLink: {
|
|
448
|
+
serializedName: "nextLink",
|
|
291
449
|
type: {
|
|
292
450
|
name: "String"
|
|
293
451
|
}
|
|
294
452
|
},
|
|
295
|
-
|
|
296
|
-
serializedName: "
|
|
453
|
+
value: {
|
|
454
|
+
serializedName: "value",
|
|
455
|
+
type: {
|
|
456
|
+
name: "Sequence",
|
|
457
|
+
element: {
|
|
458
|
+
type: {
|
|
459
|
+
name: "Composite",
|
|
460
|
+
className: "SuppressionContract"
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
export const ConfigData: coreClient.CompositeMapper = {
|
|
470
|
+
type: {
|
|
471
|
+
name: "Composite",
|
|
472
|
+
className: "ConfigData",
|
|
473
|
+
modelProperties: {
|
|
474
|
+
...Resource.type.modelProperties,
|
|
475
|
+
exclude: {
|
|
476
|
+
serializedName: "properties.exclude",
|
|
477
|
+
type: {
|
|
478
|
+
name: "Boolean"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
lowCpuThreshold: {
|
|
482
|
+
serializedName: "properties.lowCpuThreshold",
|
|
297
483
|
type: {
|
|
298
484
|
name: "String"
|
|
299
485
|
}
|
|
486
|
+
},
|
|
487
|
+
digests: {
|
|
488
|
+
serializedName: "properties.digests",
|
|
489
|
+
type: {
|
|
490
|
+
name: "Sequence",
|
|
491
|
+
element: {
|
|
492
|
+
type: {
|
|
493
|
+
name: "Composite",
|
|
494
|
+
className: "DigestConfig"
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
300
498
|
}
|
|
301
499
|
}
|
|
302
500
|
}
|
|
303
501
|
};
|
|
304
502
|
|
|
305
|
-
export const ResourceRecommendationBase:
|
|
306
|
-
serializedName: "ResourceRecommendationBase",
|
|
503
|
+
export const ResourceRecommendationBase: coreClient.CompositeMapper = {
|
|
307
504
|
type: {
|
|
308
505
|
name: "Composite",
|
|
309
506
|
className: "ResourceRecommendationBase",
|
|
@@ -344,9 +541,7 @@ export const ResourceRecommendationBase: msRest.CompositeMapper = {
|
|
|
344
541
|
type: {
|
|
345
542
|
name: "Dictionary",
|
|
346
543
|
value: {
|
|
347
|
-
type: {
|
|
348
|
-
name: "Object"
|
|
349
|
-
}
|
|
544
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
350
545
|
}
|
|
351
546
|
}
|
|
352
547
|
},
|
|
@@ -384,11 +579,7 @@ export const ResourceRecommendationBase: msRest.CompositeMapper = {
|
|
|
384
579
|
serializedName: "properties.extendedProperties",
|
|
385
580
|
type: {
|
|
386
581
|
name: "Dictionary",
|
|
387
|
-
value: {
|
|
388
|
-
type: {
|
|
389
|
-
name: "String"
|
|
390
|
-
}
|
|
391
|
-
}
|
|
582
|
+
value: { type: { name: "String" } }
|
|
392
583
|
}
|
|
393
584
|
},
|
|
394
585
|
resourceMetadata: {
|
|
@@ -397,247 +588,111 @@ export const ResourceRecommendationBase: msRest.CompositeMapper = {
|
|
|
397
588
|
name: "Composite",
|
|
398
589
|
className: "ResourceMetadata"
|
|
399
590
|
}
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
};
|
|
404
|
-
|
|
405
|
-
export const OperationDisplayInfo: msRest.CompositeMapper = {
|
|
406
|
-
serializedName: "OperationDisplayInfo",
|
|
407
|
-
type: {
|
|
408
|
-
name: "Composite",
|
|
409
|
-
className: "OperationDisplayInfo",
|
|
410
|
-
modelProperties: {
|
|
591
|
+
},
|
|
411
592
|
description: {
|
|
412
|
-
serializedName: "description",
|
|
593
|
+
serializedName: "properties.description",
|
|
413
594
|
type: {
|
|
414
595
|
name: "String"
|
|
415
596
|
}
|
|
416
597
|
},
|
|
417
|
-
|
|
418
|
-
serializedName: "
|
|
598
|
+
label: {
|
|
599
|
+
serializedName: "properties.label",
|
|
419
600
|
type: {
|
|
420
601
|
name: "String"
|
|
421
602
|
}
|
|
422
603
|
},
|
|
423
|
-
|
|
424
|
-
serializedName: "
|
|
604
|
+
learnMoreLink: {
|
|
605
|
+
serializedName: "properties.learnMoreLink",
|
|
425
606
|
type: {
|
|
426
607
|
name: "String"
|
|
427
608
|
}
|
|
428
609
|
},
|
|
429
|
-
|
|
430
|
-
serializedName: "
|
|
431
|
-
type: {
|
|
432
|
-
name: "String"
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
export const OperationEntity: msRest.CompositeMapper = {
|
|
440
|
-
serializedName: "OperationEntity",
|
|
441
|
-
type: {
|
|
442
|
-
name: "Composite",
|
|
443
|
-
className: "OperationEntity",
|
|
444
|
-
modelProperties: {
|
|
445
|
-
name: {
|
|
446
|
-
serializedName: "name",
|
|
447
|
-
type: {
|
|
448
|
-
name: "String"
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
display: {
|
|
452
|
-
serializedName: "display",
|
|
453
|
-
type: {
|
|
454
|
-
name: "Composite",
|
|
455
|
-
className: "OperationDisplayInfo"
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
export const SuppressionContract: msRest.CompositeMapper = {
|
|
463
|
-
serializedName: "SuppressionContract",
|
|
464
|
-
type: {
|
|
465
|
-
name: "Composite",
|
|
466
|
-
className: "SuppressionContract",
|
|
467
|
-
modelProperties: {
|
|
468
|
-
...Resource.type.modelProperties,
|
|
469
|
-
suppressionId: {
|
|
470
|
-
serializedName: "properties.suppressionId",
|
|
610
|
+
potentialBenefits: {
|
|
611
|
+
serializedName: "properties.potentialBenefits",
|
|
471
612
|
type: {
|
|
472
613
|
name: "String"
|
|
473
614
|
}
|
|
474
615
|
},
|
|
475
|
-
|
|
476
|
-
serializedName: "properties.
|
|
477
|
-
type: {
|
|
478
|
-
name: "String"
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
export const RecommendationsGenerateHeaders: msRest.CompositeMapper = {
|
|
486
|
-
serializedName: "recommendations-generate-headers",
|
|
487
|
-
type: {
|
|
488
|
-
name: "Composite",
|
|
489
|
-
className: "RecommendationsGenerateHeaders",
|
|
490
|
-
modelProperties: {
|
|
491
|
-
location: {
|
|
492
|
-
serializedName: "location",
|
|
493
|
-
type: {
|
|
494
|
-
name: "String"
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
retryAfter: {
|
|
498
|
-
serializedName: "retry-after",
|
|
499
|
-
type: {
|
|
500
|
-
name: "String"
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
};
|
|
506
|
-
|
|
507
|
-
export const MetadataEntityListResult: msRest.CompositeMapper = {
|
|
508
|
-
serializedName: "MetadataEntityListResult",
|
|
509
|
-
type: {
|
|
510
|
-
name: "Composite",
|
|
511
|
-
className: "MetadataEntityListResult",
|
|
512
|
-
modelProperties: {
|
|
513
|
-
value: {
|
|
514
|
-
serializedName: "",
|
|
616
|
+
actions: {
|
|
617
|
+
serializedName: "properties.actions",
|
|
515
618
|
type: {
|
|
516
619
|
name: "Sequence",
|
|
517
620
|
element: {
|
|
518
621
|
type: {
|
|
519
|
-
name: "
|
|
520
|
-
|
|
622
|
+
name: "Dictionary",
|
|
623
|
+
value: {
|
|
624
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
625
|
+
}
|
|
521
626
|
}
|
|
522
627
|
}
|
|
523
628
|
}
|
|
524
629
|
},
|
|
525
|
-
|
|
526
|
-
serializedName: "
|
|
527
|
-
type: {
|
|
528
|
-
name: "String"
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
};
|
|
534
|
-
|
|
535
|
-
export const ConfigurationListResult: msRest.CompositeMapper = {
|
|
536
|
-
serializedName: "ConfigurationListResult",
|
|
537
|
-
type: {
|
|
538
|
-
name: "Composite",
|
|
539
|
-
className: "ConfigurationListResult",
|
|
540
|
-
modelProperties: {
|
|
541
|
-
value: {
|
|
542
|
-
serializedName: "",
|
|
630
|
+
remediation: {
|
|
631
|
+
serializedName: "properties.remediation",
|
|
543
632
|
type: {
|
|
544
|
-
name: "
|
|
545
|
-
|
|
546
|
-
type: {
|
|
547
|
-
name: "Composite",
|
|
548
|
-
className: "ConfigData"
|
|
549
|
-
}
|
|
633
|
+
name: "Dictionary",
|
|
634
|
+
value: {
|
|
635
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
550
636
|
}
|
|
551
637
|
}
|
|
552
638
|
},
|
|
553
|
-
|
|
554
|
-
serializedName: "
|
|
639
|
+
exposedMetadataProperties: {
|
|
640
|
+
serializedName: "properties.exposedMetadataProperties",
|
|
555
641
|
type: {
|
|
556
|
-
name: "
|
|
642
|
+
name: "Dictionary",
|
|
643
|
+
value: {
|
|
644
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
645
|
+
}
|
|
557
646
|
}
|
|
558
647
|
}
|
|
559
648
|
}
|
|
560
649
|
}
|
|
561
650
|
};
|
|
562
651
|
|
|
563
|
-
export const
|
|
564
|
-
serializedName: "ResourceRecommendationBaseListResult",
|
|
652
|
+
export const SuppressionContract: coreClient.CompositeMapper = {
|
|
565
653
|
type: {
|
|
566
654
|
name: "Composite",
|
|
567
|
-
className: "
|
|
655
|
+
className: "SuppressionContract",
|
|
568
656
|
modelProperties: {
|
|
569
|
-
|
|
570
|
-
|
|
657
|
+
...Resource.type.modelProperties,
|
|
658
|
+
suppressionId: {
|
|
659
|
+
serializedName: "properties.suppressionId",
|
|
571
660
|
type: {
|
|
572
661
|
name: "String"
|
|
573
662
|
}
|
|
574
663
|
},
|
|
575
|
-
|
|
576
|
-
serializedName: "",
|
|
577
|
-
type: {
|
|
578
|
-
name: "Sequence",
|
|
579
|
-
element: {
|
|
580
|
-
type: {
|
|
581
|
-
name: "Composite",
|
|
582
|
-
className: "ResourceRecommendationBase"
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
export const OperationEntityListResult: msRest.CompositeMapper = {
|
|
592
|
-
serializedName: "OperationEntityListResult",
|
|
593
|
-
type: {
|
|
594
|
-
name: "Composite",
|
|
595
|
-
className: "OperationEntityListResult",
|
|
596
|
-
modelProperties: {
|
|
597
|
-
nextLink: {
|
|
598
|
-
serializedName: "nextLink",
|
|
664
|
+
ttl: {
|
|
665
|
+
serializedName: "properties.ttl",
|
|
599
666
|
type: {
|
|
600
667
|
name: "String"
|
|
601
668
|
}
|
|
602
669
|
},
|
|
603
|
-
|
|
604
|
-
serializedName: "",
|
|
670
|
+
expirationTimeStamp: {
|
|
671
|
+
serializedName: "properties.expirationTimeStamp",
|
|
672
|
+
readOnly: true,
|
|
605
673
|
type: {
|
|
606
|
-
name: "
|
|
607
|
-
element: {
|
|
608
|
-
type: {
|
|
609
|
-
name: "Composite",
|
|
610
|
-
className: "OperationEntity"
|
|
611
|
-
}
|
|
612
|
-
}
|
|
674
|
+
name: "DateTime"
|
|
613
675
|
}
|
|
614
676
|
}
|
|
615
677
|
}
|
|
616
678
|
}
|
|
617
679
|
};
|
|
618
680
|
|
|
619
|
-
export const
|
|
620
|
-
serializedName: "SuppressionContractListResult",
|
|
681
|
+
export const RecommendationsGenerateHeaders: coreClient.CompositeMapper = {
|
|
621
682
|
type: {
|
|
622
683
|
name: "Composite",
|
|
623
|
-
className: "
|
|
684
|
+
className: "RecommendationsGenerateHeaders",
|
|
624
685
|
modelProperties: {
|
|
625
|
-
|
|
626
|
-
serializedName: "
|
|
686
|
+
location: {
|
|
687
|
+
serializedName: "location",
|
|
627
688
|
type: {
|
|
628
689
|
name: "String"
|
|
629
690
|
}
|
|
630
691
|
},
|
|
631
|
-
|
|
632
|
-
serializedName: "",
|
|
692
|
+
retryAfter: {
|
|
693
|
+
serializedName: "retry-after",
|
|
633
694
|
type: {
|
|
634
|
-
name: "
|
|
635
|
-
element: {
|
|
636
|
-
type: {
|
|
637
|
-
name: "Composite",
|
|
638
|
-
className: "SuppressionContract"
|
|
639
|
-
}
|
|
640
|
-
}
|
|
695
|
+
name: "String"
|
|
641
696
|
}
|
|
642
697
|
}
|
|
643
698
|
}
|