@azure/arm-advisor 1.2.0 → 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.
Files changed (170) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +75 -73
  4. package/dist/index.js +1913 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/advisorManagementClient.d.ts +22 -0
  9. package/dist-esm/src/advisorManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/advisorManagementClient.js +55 -0
  11. package/dist-esm/src/advisorManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +457 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +55 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +21 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +407 -190
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +19 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/parameters.js +85 -53
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/configurations.d.ts +62 -0
  29. package/dist-esm/src/operations/configurations.d.ts.map +1 -0
  30. package/dist-esm/src/operations/configurations.js +260 -0
  31. package/dist-esm/src/operations/configurations.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +4 -5
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/operations.d.ts +32 -0
  37. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/operations.js +120 -0
  39. package/dist-esm/src/operations/operations.js.map +1 -0
  40. package/dist-esm/src/operations/recommendationMetadata.d.ts +38 -0
  41. package/dist-esm/src/operations/recommendationMetadata.d.ts.map +1 -0
  42. package/dist-esm/src/operations/recommendationMetadata.js +148 -0
  43. package/dist-esm/src/operations/recommendationMetadata.js.map +1 -0
  44. package/dist-esm/src/operations/recommendations.d.ts +57 -0
  45. package/dist-esm/src/operations/recommendations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/recommendations.js +220 -0
  47. package/dist-esm/src/operations/recommendations.js.map +1 -0
  48. package/dist-esm/src/operations/suppressions.d.ts +65 -0
  49. package/dist-esm/src/operations/suppressions.d.ts.map +1 -0
  50. package/dist-esm/src/operations/suppressions.js +242 -0
  51. package/dist-esm/src/operations/suppressions.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/configurations.d.ts +33 -0
  53. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/configurations.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  57. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  59. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  61. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/recommendationMetadata.d.ts +17 -0
  65. package/dist-esm/src/operationsInterfaces/recommendationMetadata.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/recommendationMetadata.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/recommendationMetadata.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/recommendations.d.ts +35 -0
  69. package/dist-esm/src/operationsInterfaces/recommendations.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/recommendations.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/recommendations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/suppressions.d.ts +43 -0
  73. package/dist-esm/src/operationsInterfaces/suppressions.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/suppressions.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/suppressions.js.map +1 -0
  76. package/dist-esm/test/sampleTest.d.ts +4 -0
  77. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  78. package/dist-esm/test/sampleTest.js +43 -0
  79. package/dist-esm/test/sampleTest.js.map +1 -0
  80. package/package.json +68 -34
  81. package/review/arm-advisor.api.md +466 -0
  82. package/rollup.config.js +184 -27
  83. package/src/advisorManagementClient.ts +95 -0
  84. package/src/index.ts +12 -0
  85. package/src/models/index.ts +531 -0
  86. package/{lib → src}/models/mappers.ts +421 -185
  87. package/src/models/parameters.ts +194 -0
  88. package/src/operations/configurations.ts +315 -0
  89. package/{lib → src}/operations/index.ts +4 -5
  90. package/src/operations/operations.ts +137 -0
  91. package/src/operations/recommendationMetadata.ts +174 -0
  92. package/src/operations/recommendations.ts +264 -0
  93. package/src/operations/suppressions.ts +296 -0
  94. package/src/operationsInterfaces/configurations.ts +65 -0
  95. package/src/operationsInterfaces/index.ts +13 -0
  96. package/src/operationsInterfaces/operations.ts +22 -0
  97. package/src/operationsInterfaces/recommendationMetadata.ts +36 -0
  98. package/src/operationsInterfaces/recommendations.ts +63 -0
  99. package/src/operationsInterfaces/suppressions.ts +78 -0
  100. package/tsconfig.json +4 -4
  101. package/types/arm-advisor.d.ts +679 -0
  102. package/types/tsdoc-metadata.json +11 -0
  103. package/dist/arm-advisor.js +0 -1422
  104. package/dist/arm-advisor.js.map +0 -1
  105. package/dist/arm-advisor.min.js +0 -1
  106. package/dist/arm-advisor.min.js.map +0 -1
  107. package/esm/advisorManagementClient.d.ts +0 -21
  108. package/esm/advisorManagementClient.d.ts.map +0 -1
  109. package/esm/advisorManagementClient.js +0 -36
  110. package/esm/advisorManagementClient.js.map +0 -1
  111. package/esm/advisorManagementClientContext.d.ts +0 -16
  112. package/esm/advisorManagementClientContext.d.ts.map +0 -1
  113. package/esm/advisorManagementClientContext.js +0 -56
  114. package/esm/advisorManagementClientContext.js.map +0 -1
  115. package/esm/models/configurationsMappers.d.ts +0 -2
  116. package/esm/models/configurationsMappers.d.ts.map +0 -1
  117. package/esm/models/configurationsMappers.js +0 -11
  118. package/esm/models/configurationsMappers.js.map +0 -1
  119. package/esm/models/index.d.ts +0 -655
  120. package/esm/models/index.d.ts.map +0 -1
  121. package/esm/models/index.js +0 -10
  122. package/esm/models/index.js.map +0 -1
  123. package/esm/models/mappers.d.ts +0 -18
  124. package/esm/models/mappers.d.ts.map +0 -1
  125. package/esm/models/mappers.js.map +0 -1
  126. package/esm/models/operationsMappers.d.ts +0 -2
  127. package/esm/models/operationsMappers.d.ts.map +0 -1
  128. package/esm/models/operationsMappers.js +0 -11
  129. package/esm/models/operationsMappers.js.map +0 -1
  130. package/esm/models/parameters.d.ts +0 -14
  131. package/esm/models/parameters.d.ts.map +0 -1
  132. package/esm/models/parameters.js.map +0 -1
  133. package/esm/models/recommendationsMappers.d.ts +0 -2
  134. package/esm/models/recommendationsMappers.d.ts.map +0 -1
  135. package/esm/models/recommendationsMappers.js +0 -11
  136. package/esm/models/recommendationsMappers.js.map +0 -1
  137. package/esm/models/suppressionsMappers.d.ts +0 -2
  138. package/esm/models/suppressionsMappers.d.ts.map +0 -1
  139. package/esm/models/suppressionsMappers.js +0 -11
  140. package/esm/models/suppressionsMappers.js.map +0 -1
  141. package/esm/operations/configurations.d.ts +0 -109
  142. package/esm/operations/configurations.d.ts.map +0 -1
  143. package/esm/operations/configurations.js +0 -178
  144. package/esm/operations/configurations.js.map +0 -1
  145. package/esm/operations/index.d.ts.map +0 -1
  146. package/esm/operations/index.js.map +0 -1
  147. package/esm/operations/operations.d.ts +0 -46
  148. package/esm/operations/operations.d.ts.map +0 -1
  149. package/esm/operations/operations.js +0 -77
  150. package/esm/operations/operations.js.map +0 -1
  151. package/esm/operations/recommendations.d.ts +0 -112
  152. package/esm/operations/recommendations.d.ts.map +0 -1
  153. package/esm/operations/recommendations.js +0 -168
  154. package/esm/operations/recommendations.js.map +0 -1
  155. package/esm/operations/suppressions.d.ts +0 -135
  156. package/esm/operations/suppressions.d.ts.map +0 -1
  157. package/esm/operations/suppressions.js +0 -182
  158. package/esm/operations/suppressions.js.map +0 -1
  159. package/lib/advisorManagementClient.ts +0 -48
  160. package/lib/advisorManagementClientContext.ts +0 -62
  161. package/lib/models/configurationsMappers.ts +0 -18
  162. package/lib/models/index.ts +0 -698
  163. package/lib/models/operationsMappers.ts +0 -17
  164. package/lib/models/parameters.ts +0 -139
  165. package/lib/models/recommendationsMappers.ts +0 -21
  166. package/lib/models/suppressionsMappers.ts +0 -20
  167. package/lib/operations/configurations.ts +0 -307
  168. package/lib/operations/operations.ts +0 -123
  169. package/lib/operations/recommendations.ts +0 -295
  170. package/lib/operations/suppressions.ts +0 -334
@@ -1,655 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * @interface
6
- * An interface representing ConfigDataProperties.
7
- * The list of property name/value pairs.
8
- *
9
- */
10
- export interface ConfigDataProperties {
11
- /**
12
- * @member {boolean} [exclude] Exclude the resource from Advisor evaluations.
13
- * Valid values: False (default) or True.
14
- */
15
- exclude?: boolean;
16
- /**
17
- * @member {string} [lowCpuThreshold] Minimum percentage threshold for
18
- * Advisor low CPU utilization evaluation. Valid only for subscriptions.
19
- * Valid values: 5 (default), 10, 15 or 20.
20
- */
21
- lowCpuThreshold?: string;
22
- /**
23
- * @property Describes unknown properties. The value of an unknown property
24
- * can be of "any" type.
25
- */
26
- [property: string]: any;
27
- }
28
- /**
29
- * @interface
30
- * An interface representing ConfigData.
31
- * The Advisor configuration data structure.
32
- *
33
- */
34
- export interface ConfigData {
35
- /**
36
- * @member {string} [id] The resource Id of the configuration resource.
37
- */
38
- id?: string;
39
- /**
40
- * @member {string} [type] The type of the configuration resource.
41
- */
42
- type?: string;
43
- /**
44
- * @member {string} [name] The name of the configuration resource.
45
- */
46
- name?: string;
47
- /**
48
- * @member {ConfigDataProperties} [properties] The list of property
49
- * name/value pairs.
50
- */
51
- properties?: ConfigDataProperties;
52
- }
53
- /**
54
- * @interface
55
- * An interface representing ARMErrorResponseBody.
56
- * ARM error response body.
57
- *
58
- */
59
- export interface ARMErrorResponseBody {
60
- /**
61
- * @member {string} [message] Gets or sets the string that describes the
62
- * error in detail and provides debugging information.
63
- */
64
- message?: string;
65
- /**
66
- * @member {string} [code] Gets or sets the string that can be used to
67
- * programmatically identify the error.
68
- */
69
- code?: string;
70
- }
71
- /**
72
- * @interface
73
- * An interface representing ShortDescription.
74
- * A summary of the recommendation.
75
- *
76
- */
77
- export interface ShortDescription {
78
- /**
79
- * @member {string} [problem] The issue or opportunity identified by the
80
- * recommendation.
81
- */
82
- problem?: string;
83
- /**
84
- * @member {string} [solution] The remediation action suggested by the
85
- * recommendation.
86
- */
87
- solution?: string;
88
- }
89
- /**
90
- * @interface
91
- * An interface representing Resource.
92
- * An Azure resource.
93
- *
94
- * @extends BaseResource
95
- */
96
- export interface Resource extends BaseResource {
97
- /**
98
- * @member {string} [id] The resource ID.
99
- * **NOTE: This property will not be serialized. It can only be populated by
100
- * the server.**
101
- */
102
- readonly id?: string;
103
- /**
104
- * @member {string} [name] The name of the resource.
105
- * **NOTE: This property will not be serialized. It can only be populated by
106
- * the server.**
107
- */
108
- readonly name?: string;
109
- /**
110
- * @member {string} [type] The type of the resource.
111
- * **NOTE: This property will not be serialized. It can only be populated by
112
- * the server.**
113
- */
114
- readonly type?: string;
115
- }
116
- /**
117
- * @interface
118
- * An interface representing ResourceRecommendationBase.
119
- * Advisor Recommendation.
120
- *
121
- * @extends Resource
122
- */
123
- export interface ResourceRecommendationBase extends Resource {
124
- /**
125
- * @member {Category} [category] The category of the recommendation. Possible
126
- * values include: 'HighAvailability', 'Security', 'Performance', 'Cost'
127
- */
128
- category?: Category;
129
- /**
130
- * @member {Impact} [impact] The business impact of the recommendation.
131
- * Possible values include: 'High', 'Medium', 'Low'
132
- */
133
- impact?: Impact;
134
- /**
135
- * @member {string} [impactedField] The resource type identified by Advisor.
136
- */
137
- impactedField?: string;
138
- /**
139
- * @member {string} [impactedValue] The resource identified by Advisor.
140
- */
141
- impactedValue?: string;
142
- /**
143
- * @member {Date} [lastUpdated] The most recent time that Advisor checked the
144
- * validity of the recommendation.
145
- */
146
- lastUpdated?: Date;
147
- /**
148
- * @member {{ [propertyName: string]: any }} [metadata] The recommendation
149
- * metadata.
150
- */
151
- metadata?: {
152
- [propertyName: string]: any;
153
- };
154
- /**
155
- * @member {string} [recommendationTypeId] The recommendation-type GUID.
156
- */
157
- recommendationTypeId?: string;
158
- /**
159
- * @member {Risk} [risk] The potential risk of not implementing the
160
- * recommendation. Possible values include: 'Error', 'Warning', 'None'
161
- */
162
- risk?: Risk;
163
- /**
164
- * @member {ShortDescription} [shortDescription] A summary of the
165
- * recommendation.
166
- */
167
- shortDescription?: ShortDescription;
168
- /**
169
- * @member {string[]} [suppressionIds] The list of snoozed and dismissed
170
- * rules for the recommendation.
171
- */
172
- suppressionIds?: string[];
173
- /**
174
- * @member {{ [propertyName: string]: string }} [extendedProperties] Extended
175
- * properties
176
- */
177
- extendedProperties?: {
178
- [propertyName: string]: string;
179
- };
180
- }
181
- /**
182
- * @interface
183
- * An interface representing OperationDisplayInfo.
184
- * The operation supported by Advisor.
185
- *
186
- */
187
- export interface OperationDisplayInfo {
188
- /**
189
- * @member {string} [description] The description of the operation.
190
- */
191
- description?: string;
192
- /**
193
- * @member {string} [operation] The action that users can perform, based on
194
- * their permission level.
195
- */
196
- operation?: string;
197
- /**
198
- * @member {string} [provider] Service provider: Microsoft Advisor.
199
- */
200
- provider?: string;
201
- /**
202
- * @member {string} [resource] Resource on which the operation is performed.
203
- */
204
- resource?: string;
205
- }
206
- /**
207
- * @interface
208
- * An interface representing OperationEntity.
209
- * The operation supported by Advisor.
210
- *
211
- */
212
- export interface OperationEntity {
213
- /**
214
- * @member {string} [name] Operation name: {provider}/{resource}/{operation}.
215
- */
216
- name?: string;
217
- /**
218
- * @member {OperationDisplayInfo} [display] The operation supported by
219
- * Advisor.
220
- */
221
- display?: OperationDisplayInfo;
222
- }
223
- /**
224
- * @interface
225
- * An interface representing SuppressionContract.
226
- * The details of the snoozed or dismissed rule; for example, the duration,
227
- * name, and GUID associated with the rule.
228
- *
229
- * @extends Resource
230
- */
231
- export interface SuppressionContract extends Resource {
232
- /**
233
- * @member {string} [suppressionId] The GUID of the suppression.
234
- */
235
- suppressionId?: string;
236
- /**
237
- * @member {string} [ttl] The duration for which the suppression is valid.
238
- */
239
- ttl?: string;
240
- }
241
- /**
242
- * @interface
243
- * An interface representing RecommendationsListOptionalParams.
244
- * Optional Parameters.
245
- *
246
- * @extends RequestOptionsBase
247
- */
248
- export interface RecommendationsListOptionalParams extends msRest.RequestOptionsBase {
249
- /**
250
- * @member {string} [filter] The filter to apply to the recommendations.
251
- */
252
- filter?: string;
253
- /**
254
- * @member {number} [top] The number of recommendations per page if a paged
255
- * version of this API is being used.
256
- */
257
- top?: number;
258
- /**
259
- * @member {string} [skipToken] The page-continuation token to use with a
260
- * paged version of this API.
261
- */
262
- skipToken?: string;
263
- }
264
- /**
265
- * @interface
266
- * An interface representing SuppressionsListOptionalParams.
267
- * Optional Parameters.
268
- *
269
- * @extends RequestOptionsBase
270
- */
271
- export interface SuppressionsListOptionalParams extends msRest.RequestOptionsBase {
272
- /**
273
- * @member {number} [top] The number of suppressions per page if a paged
274
- * version of this API is being used.
275
- */
276
- top?: number;
277
- /**
278
- * @member {string} [skipToken] The page-continuation token to use with a
279
- * paged version of this API.
280
- */
281
- skipToken?: string;
282
- }
283
- /**
284
- * @interface
285
- * An interface representing AdvisorManagementClientOptions.
286
- * @extends AzureServiceClientOptions
287
- */
288
- export interface AdvisorManagementClientOptions extends AzureServiceClientOptions {
289
- /**
290
- * @member {string} [baseUri]
291
- */
292
- baseUri?: string;
293
- }
294
- /**
295
- * @interface
296
- * An interface representing RecommendationsGenerateHeaders.
297
- * Defines headers for Generate operation.
298
- *
299
- */
300
- export interface RecommendationsGenerateHeaders {
301
- /**
302
- * @member {string} [location] The URL where the status of the asynchronous
303
- * operation can be checked.
304
- */
305
- location: string;
306
- /**
307
- * @member {string} [retryAfter] The amount of delay to use while the status
308
- * of the operation is checked. The value is expressed in seconds.
309
- */
310
- retryAfter: string;
311
- }
312
- /**
313
- * @interface
314
- * An interface representing the ConfigurationListResult.
315
- * The list of Advisor configurations.
316
- *
317
- * @extends Array<ConfigData>
318
- */
319
- export interface ConfigurationListResult extends Array<ConfigData> {
320
- /**
321
- * @member {string} [nextLink] The link used to get the next page of
322
- * configurations.
323
- */
324
- nextLink?: string;
325
- }
326
- /**
327
- * @interface
328
- * An interface representing the ResourceRecommendationBaseListResult.
329
- * The list of Advisor recommendations.
330
- *
331
- * @extends Array<ResourceRecommendationBase>
332
- */
333
- export interface ResourceRecommendationBaseListResult extends Array<ResourceRecommendationBase> {
334
- /**
335
- * @member {string} [nextLink] The link used to get the next page of
336
- * recommendations.
337
- */
338
- nextLink?: string;
339
- }
340
- /**
341
- * @interface
342
- * An interface representing the OperationEntityListResult.
343
- * The list of Advisor operations.
344
- *
345
- * @extends Array<OperationEntity>
346
- */
347
- export interface OperationEntityListResult extends Array<OperationEntity> {
348
- /**
349
- * @member {string} [nextLink] The link used to get the next page of
350
- * operations.
351
- */
352
- nextLink?: string;
353
- }
354
- /**
355
- * @interface
356
- * An interface representing the SuppressionContractListResult.
357
- * The list of Advisor suppressions.
358
- *
359
- * @extends Array<SuppressionContract>
360
- */
361
- export interface SuppressionContractListResult extends Array<SuppressionContract> {
362
- /**
363
- * @member {string} [nextLink] The link used to get the next page of
364
- * suppressions.
365
- */
366
- nextLink?: string;
367
- }
368
- /**
369
- * Defines values for Category.
370
- * Possible values include: 'HighAvailability', 'Security', 'Performance', 'Cost'
371
- * @readonly
372
- * @enum {string}
373
- */
374
- export declare type Category = 'HighAvailability' | 'Security' | 'Performance' | 'Cost';
375
- /**
376
- * Defines values for Impact.
377
- * Possible values include: 'High', 'Medium', 'Low'
378
- * @readonly
379
- * @enum {string}
380
- */
381
- export declare type Impact = 'High' | 'Medium' | 'Low';
382
- /**
383
- * Defines values for Risk.
384
- * Possible values include: 'Error', 'Warning', 'None'
385
- * @readonly
386
- * @enum {string}
387
- */
388
- export declare type Risk = 'Error' | 'Warning' | 'None';
389
- /**
390
- * Contains response data for the listBySubscription operation.
391
- */
392
- export declare type ConfigurationsListBySubscriptionResponse = ConfigurationListResult & {
393
- /**
394
- * The underlying HTTP response.
395
- */
396
- _response: msRest.HttpResponse & {
397
- /**
398
- * The response body as text (string format)
399
- */
400
- bodyAsText: string;
401
- /**
402
- * The response body as parsed JSON or XML
403
- */
404
- parsedBody: ConfigurationListResult;
405
- };
406
- };
407
- /**
408
- * Contains response data for the createInSubscription operation.
409
- */
410
- export declare type ConfigurationsCreateInSubscriptionResponse = ARMErrorResponseBody & {
411
- /**
412
- * The underlying HTTP response.
413
- */
414
- _response: msRest.HttpResponse & {
415
- /**
416
- * The response body as text (string format)
417
- */
418
- bodyAsText: string;
419
- /**
420
- * The response body as parsed JSON or XML
421
- */
422
- parsedBody: ARMErrorResponseBody;
423
- };
424
- };
425
- /**
426
- * Contains response data for the listByResourceGroup operation.
427
- */
428
- export declare type ConfigurationsListByResourceGroupResponse = ConfigurationListResult & {
429
- /**
430
- * The underlying HTTP response.
431
- */
432
- _response: msRest.HttpResponse & {
433
- /**
434
- * The response body as text (string format)
435
- */
436
- bodyAsText: string;
437
- /**
438
- * The response body as parsed JSON or XML
439
- */
440
- parsedBody: ConfigurationListResult;
441
- };
442
- };
443
- /**
444
- * Contains response data for the createInResourceGroup operation.
445
- */
446
- export declare type ConfigurationsCreateInResourceGroupResponse = ARMErrorResponseBody & {
447
- /**
448
- * The underlying HTTP response.
449
- */
450
- _response: msRest.HttpResponse & {
451
- /**
452
- * The response body as text (string format)
453
- */
454
- bodyAsText: string;
455
- /**
456
- * The response body as parsed JSON or XML
457
- */
458
- parsedBody: ARMErrorResponseBody;
459
- };
460
- };
461
- /**
462
- * Contains response data for the listBySubscriptionNext operation.
463
- */
464
- export declare type ConfigurationsListBySubscriptionNextResponse = ConfigurationListResult & {
465
- /**
466
- * The underlying HTTP response.
467
- */
468
- _response: msRest.HttpResponse & {
469
- /**
470
- * The response body as text (string format)
471
- */
472
- bodyAsText: string;
473
- /**
474
- * The response body as parsed JSON or XML
475
- */
476
- parsedBody: ConfigurationListResult;
477
- };
478
- };
479
- /**
480
- * Contains response data for the generate operation.
481
- */
482
- export declare type RecommendationsGenerateResponse = RecommendationsGenerateHeaders & {
483
- /**
484
- * The underlying HTTP response.
485
- */
486
- _response: msRest.HttpResponse & {
487
- /**
488
- * The parsed HTTP response headers.
489
- */
490
- parsedHeaders: RecommendationsGenerateHeaders;
491
- };
492
- };
493
- /**
494
- * Contains response data for the list operation.
495
- */
496
- export declare type RecommendationsListResponse = ResourceRecommendationBaseListResult & {
497
- /**
498
- * The underlying HTTP response.
499
- */
500
- _response: msRest.HttpResponse & {
501
- /**
502
- * The response body as text (string format)
503
- */
504
- bodyAsText: string;
505
- /**
506
- * The response body as parsed JSON or XML
507
- */
508
- parsedBody: ResourceRecommendationBaseListResult;
509
- };
510
- };
511
- /**
512
- * Contains response data for the get operation.
513
- */
514
- export declare type RecommendationsGetResponse = ResourceRecommendationBase & {
515
- /**
516
- * The underlying HTTP response.
517
- */
518
- _response: msRest.HttpResponse & {
519
- /**
520
- * The response body as text (string format)
521
- */
522
- bodyAsText: string;
523
- /**
524
- * The response body as parsed JSON or XML
525
- */
526
- parsedBody: ResourceRecommendationBase;
527
- };
528
- };
529
- /**
530
- * Contains response data for the listNext operation.
531
- */
532
- export declare type RecommendationsListNextResponse = ResourceRecommendationBaseListResult & {
533
- /**
534
- * The underlying HTTP response.
535
- */
536
- _response: msRest.HttpResponse & {
537
- /**
538
- * The response body as text (string format)
539
- */
540
- bodyAsText: string;
541
- /**
542
- * The response body as parsed JSON or XML
543
- */
544
- parsedBody: ResourceRecommendationBaseListResult;
545
- };
546
- };
547
- /**
548
- * Contains response data for the list operation.
549
- */
550
- export declare type OperationsListResponse = OperationEntityListResult & {
551
- /**
552
- * The underlying HTTP response.
553
- */
554
- _response: msRest.HttpResponse & {
555
- /**
556
- * The response body as text (string format)
557
- */
558
- bodyAsText: string;
559
- /**
560
- * The response body as parsed JSON or XML
561
- */
562
- parsedBody: OperationEntityListResult;
563
- };
564
- };
565
- /**
566
- * Contains response data for the listNext operation.
567
- */
568
- export declare type OperationsListNextResponse = OperationEntityListResult & {
569
- /**
570
- * The underlying HTTP response.
571
- */
572
- _response: msRest.HttpResponse & {
573
- /**
574
- * The response body as text (string format)
575
- */
576
- bodyAsText: string;
577
- /**
578
- * The response body as parsed JSON or XML
579
- */
580
- parsedBody: OperationEntityListResult;
581
- };
582
- };
583
- /**
584
- * Contains response data for the get operation.
585
- */
586
- export declare type SuppressionsGetResponse = SuppressionContract & {
587
- /**
588
- * The underlying HTTP response.
589
- */
590
- _response: msRest.HttpResponse & {
591
- /**
592
- * The response body as text (string format)
593
- */
594
- bodyAsText: string;
595
- /**
596
- * The response body as parsed JSON or XML
597
- */
598
- parsedBody: SuppressionContract;
599
- };
600
- };
601
- /**
602
- * Contains response data for the create operation.
603
- */
604
- export declare type SuppressionsCreateResponse = SuppressionContract & {
605
- /**
606
- * The underlying HTTP response.
607
- */
608
- _response: msRest.HttpResponse & {
609
- /**
610
- * The response body as text (string format)
611
- */
612
- bodyAsText: string;
613
- /**
614
- * The response body as parsed JSON or XML
615
- */
616
- parsedBody: SuppressionContract;
617
- };
618
- };
619
- /**
620
- * Contains response data for the list operation.
621
- */
622
- export declare type SuppressionsListResponse = SuppressionContractListResult & {
623
- /**
624
- * The underlying HTTP response.
625
- */
626
- _response: msRest.HttpResponse & {
627
- /**
628
- * The response body as text (string format)
629
- */
630
- bodyAsText: string;
631
- /**
632
- * The response body as parsed JSON or XML
633
- */
634
- parsedBody: SuppressionContractListResult;
635
- };
636
- };
637
- /**
638
- * Contains response data for the listNext operation.
639
- */
640
- export declare type SuppressionsListNextResponse = SuppressionContractListResult & {
641
- /**
642
- * The underlying HTTP response.
643
- */
644
- _response: msRest.HttpResponse & {
645
- /**
646
- * The response body as text (string format)
647
- */
648
- bodyAsText: string;
649
- /**
650
- * The response body as parsed JSON or XML
651
- */
652
- parsedBody: SuppressionContractListResult;
653
- };
654
- };
655
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/models/index.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;AAGpC;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC;CACzB;AAED;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAA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CAAC;AAEF;;GAEG;AACH,oBAAY,wBAAwB,GAAG,6BAA6B,GAAG;IACrE;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,YAAY,GAAG;QAC7B;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QACnB;;WAEG;QACH,UAAU,EAAE,6BAA6B,CAAC;KAC3C,CAAC;CACL,CAAC;AAEF;;GAEG;AACH,oBAAY,4BAA4B,GAAG,6BAA6B,GAAG;IACzE;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,YAAY,GAAG;QAC7B;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QACnB;;WAEG;QACH,UAAU,EAAE,6BAA6B,CAAC;KAC3C,CAAC;CACL,CAAC"}
@@ -1,10 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
@@ -1,18 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- export declare const CloudError: msRest.CompositeMapper;
3
- export declare const BaseResource: msRest.CompositeMapper;
4
- export declare const ConfigDataProperties: msRest.CompositeMapper;
5
- export declare const ConfigData: msRest.CompositeMapper;
6
- export declare const ARMErrorResponseBody: msRest.CompositeMapper;
7
- export declare const ShortDescription: msRest.CompositeMapper;
8
- export declare const Resource: msRest.CompositeMapper;
9
- export declare const ResourceRecommendationBase: msRest.CompositeMapper;
10
- export declare const OperationDisplayInfo: msRest.CompositeMapper;
11
- export declare const OperationEntity: msRest.CompositeMapper;
12
- export declare const SuppressionContract: msRest.CompositeMapper;
13
- export declare const RecommendationsGenerateHeaders: msRest.CompositeMapper;
14
- export declare const ConfigurationListResult: msRest.CompositeMapper;
15
- export declare const ResourceRecommendationBaseListResult: msRest.CompositeMapper;
16
- export declare const OperationEntityListResult: msRest.CompositeMapper;
17
- export declare const SuppressionContractListResult: msRest.CompositeMapper;
18
- //# sourceMappingURL=mappers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../lib/models/mappers.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,eAAO,MAAM,UAAU,wBAAmB,CAAC;AAC3C,eAAO,MAAM,YAAY,wBAAqB,CAAC;AAE/C,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,eAyBzC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,eAsC/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,eAoBzC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,eAoBrC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,eA6B7B,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,eA2F/C,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,eAgCzC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,eAqBpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,eAqBxC,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,eAoBnD,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,eA0B5C,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,MAAM,CAAC,eA0BzD,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,eA0B9C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,eA0BlD,CAAC"}