@azure/arm-resourcehealth 1.1.0 → 3.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +21 -21
  3. package/README.md +98 -100
  4. package/dist/index.js +1811 -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/index.d.ts +6 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +13 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/microsoftResourceHealth.d.ts +20 -0
  13. package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -0
  14. package/dist-esm/src/microsoftResourceHealth.js +27 -0
  15. package/dist-esm/src/microsoftResourceHealth.js.map +1 -0
  16. package/dist-esm/src/microsoftResourceHealthContext.d.ts +17 -0
  17. package/dist-esm/src/microsoftResourceHealthContext.d.ts.map +1 -0
  18. package/dist-esm/src/microsoftResourceHealthContext.js +50 -0
  19. package/dist-esm/src/microsoftResourceHealthContext.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +402 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +22 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +21 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +393 -170
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +12 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/parameters.js +52 -36
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/availabilityStatuses.d.ts +102 -0
  33. package/dist-esm/src/operations/availabilityStatuses.d.ts.map +1 -0
  34. package/dist-esm/src/operations/availabilityStatuses.js +407 -0
  35. package/dist-esm/src/operations/availabilityStatuses.js.map +1 -0
  36. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts +51 -0
  37. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts.map +1 -0
  38. package/dist-esm/src/operations/childAvailabilityStatuses.js +173 -0
  39. package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -0
  40. package/dist-esm/src/operations/childResources.d.ts +43 -0
  41. package/dist-esm/src/operations/childResources.d.ts.map +1 -0
  42. package/dist-esm/src/operations/childResources.js +143 -0
  43. package/dist-esm/src/operations/childResources.js.map +1 -0
  44. package/dist-esm/src/operations/emergingIssues.d.ts +37 -0
  45. package/dist-esm/src/operations/emergingIssues.d.ts.map +1 -0
  46. package/dist-esm/src/operations/emergingIssues.js +143 -0
  47. package/dist-esm/src/operations/emergingIssues.js.map +1 -0
  48. package/dist-esm/src/operations/index.d.ts +6 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +13 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/operations.d.ts +18 -0
  53. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/operations.js +46 -0
  55. package/dist-esm/src/operations/operations.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts +40 -0
  57. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/availabilityStatuses.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/availabilityStatuses.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
  61. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/childResources.d.ts +15 -0
  65. package/dist-esm/src/operationsInterfaces/childResources.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/childResources.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/childResources.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts +16 -0
  69. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/emergingIssues.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/emergingIssues.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  73. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  75. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
  77. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +68 -34
  85. package/review/arm-resourcehealth.api.md +396 -0
  86. package/rollup.config.js +184 -27
  87. package/src/index.ts +13 -0
  88. package/src/microsoftResourceHealth.ts +53 -0
  89. package/src/microsoftResourceHealthContext.ts +71 -0
  90. package/src/models/index.ts +478 -0
  91. package/{lib → src}/models/mappers.ts +409 -175
  92. package/src/models/parameters.ts +127 -0
  93. package/src/operations/availabilityStatuses.ts +479 -0
  94. package/src/operations/childAvailabilityStatuses.ts +210 -0
  95. package/src/operations/childResources.ts +168 -0
  96. package/src/operations/emergingIssues.ts +165 -0
  97. package/src/operations/index.ts +13 -0
  98. package/src/operations/operations.ts +59 -0
  99. package/src/operationsInterfaces/availabilityStatuses.ts +67 -0
  100. package/src/operationsInterfaces/childAvailabilityStatuses.ts +43 -0
  101. package/src/operationsInterfaces/childResources.ts +30 -0
  102. package/src/operationsInterfaces/emergingIssues.ts +34 -0
  103. package/src/operationsInterfaces/index.ts +13 -0
  104. package/src/operationsInterfaces/operations.ts +21 -0
  105. package/tsconfig.json +4 -4
  106. package/types/arm-resourcehealth.d.ts +588 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-resourcehealth.js +0 -1037
  109. package/dist/arm-resourcehealth.js.map +0 -1
  110. package/dist/arm-resourcehealth.min.js +0 -1
  111. package/dist/arm-resourcehealth.min.js.map +0 -1
  112. package/esm/microsoftResourceHealth.d.ts +0 -20
  113. package/esm/microsoftResourceHealth.d.ts.map +0 -1
  114. package/esm/microsoftResourceHealth.js +0 -35
  115. package/esm/microsoftResourceHealth.js.map +0 -1
  116. package/esm/microsoftResourceHealthContext.d.ts +0 -17
  117. package/esm/microsoftResourceHealthContext.d.ts.map +0 -1
  118. package/esm/microsoftResourceHealthContext.js +0 -57
  119. package/esm/microsoftResourceHealthContext.js.map +0 -1
  120. package/esm/models/availabilityStatusesMappers.d.ts +0 -2
  121. package/esm/models/availabilityStatusesMappers.d.ts.map +0 -1
  122. package/esm/models/availabilityStatusesMappers.js +0 -11
  123. package/esm/models/availabilityStatusesMappers.js.map +0 -1
  124. package/esm/models/index.d.ts +0 -589
  125. package/esm/models/index.d.ts.map +0 -1
  126. package/esm/models/index.js +0 -10
  127. package/esm/models/index.js.map +0 -1
  128. package/esm/models/mappers.d.ts +0 -16
  129. package/esm/models/mappers.d.ts.map +0 -1
  130. package/esm/models/mappers.js.map +0 -1
  131. package/esm/models/operationsMappers.d.ts +0 -2
  132. package/esm/models/operationsMappers.d.ts.map +0 -1
  133. package/esm/models/operationsMappers.js +0 -11
  134. package/esm/models/operationsMappers.js.map +0 -1
  135. package/esm/models/parameters.d.ts +0 -10
  136. package/esm/models/parameters.d.ts.map +0 -1
  137. package/esm/models/parameters.js.map +0 -1
  138. package/esm/operations/availabilityStatuses.d.ts +0 -166
  139. package/esm/operations/availabilityStatuses.d.ts.map +0 -1
  140. package/esm/operations/availabilityStatuses.js +0 -225
  141. package/esm/operations/availabilityStatuses.js.map +0 -1
  142. package/esm/operations/index.d.ts +0 -3
  143. package/esm/operations/index.d.ts.map +0 -1
  144. package/esm/operations/index.js +0 -12
  145. package/esm/operations/index.js.map +0 -1
  146. package/esm/operations/operations.d.ts +0 -28
  147. package/esm/operations/operations.d.ts.map +0 -1
  148. package/esm/operations/operations.js +0 -51
  149. package/esm/operations/operations.js.map +0 -1
  150. package/lib/microsoftResourceHealth.ts +0 -45
  151. package/lib/microsoftResourceHealthContext.ts +0 -63
  152. package/lib/models/availabilityStatusesMappers.ts +0 -22
  153. package/lib/models/index.ts +0 -628
  154. package/lib/models/operationsMappers.ts +0 -17
  155. package/lib/models/parameters.ts +0 -98
  156. package/lib/operations/availabilityStatuses.ts +0 -416
  157. package/lib/operations/index.ts +0 -12
  158. package/lib/operations/operations.ts +0 -74
@@ -1,77 +1,30 @@
1
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.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
- import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
11
- export var CloudError = CloudErrorMapper;
12
- export var BaseResource = BaseResourceMapper;
13
- export var AvailabilityStatusPropertiesRecentlyResolvedState = {
14
- serializedName: "availabilityStatus_properties_recentlyResolvedState",
8
+ export const AvailabilityStatusListResult = {
15
9
  type: {
16
10
  name: "Composite",
17
- className: "AvailabilityStatusPropertiesRecentlyResolvedState",
18
- modelProperties: {
19
- unavailableOccurredTime: {
20
- serializedName: "unavailableOccurredTime",
21
- type: {
22
- name: "DateTime"
23
- }
24
- },
25
- resolvedTime: {
26
- serializedName: "resolvedTime",
27
- type: {
28
- name: "DateTime"
29
- }
30
- },
31
- unavailabilitySummary: {
32
- serializedName: "unavailabilitySummary",
33
- type: {
34
- name: "String"
35
- }
36
- }
37
- }
38
- }
39
- };
40
- export var RecommendedAction = {
41
- serializedName: "recommendedAction",
42
- type: {
43
- name: "Composite",
44
- className: "RecommendedAction",
11
+ className: "AvailabilityStatusListResult",
45
12
  modelProperties: {
46
- action: {
47
- serializedName: "action",
48
- type: {
49
- name: "String"
50
- }
51
- },
52
- actionUrl: {
53
- serializedName: "actionUrl",
13
+ value: {
14
+ serializedName: "value",
15
+ required: true,
54
16
  type: {
55
- name: "String"
17
+ name: "Sequence",
18
+ element: {
19
+ type: {
20
+ name: "Composite",
21
+ className: "AvailabilityStatus"
22
+ }
23
+ }
56
24
  }
57
25
  },
58
- actionUrlText: {
59
- serializedName: "actionUrlText",
60
- type: {
61
- name: "String"
62
- }
63
- }
64
- }
65
- }
66
- };
67
- export var ServiceImpactingEventStatus = {
68
- serializedName: "serviceImpactingEvent_status",
69
- type: {
70
- name: "Composite",
71
- className: "ServiceImpactingEventStatus",
72
- modelProperties: {
73
- value: {
74
- serializedName: "value",
26
+ nextLink: {
27
+ serializedName: "nextLink",
75
28
  type: {
76
29
  name: "String"
77
30
  }
@@ -79,82 +32,46 @@ export var ServiceImpactingEventStatus = {
79
32
  }
80
33
  }
81
34
  };
82
- export var ServiceImpactingEventIncidentProperties = {
83
- serializedName: "serviceImpactingEvent_incidentProperties",
35
+ export const AvailabilityStatus = {
84
36
  type: {
85
37
  name: "Composite",
86
- className: "ServiceImpactingEventIncidentProperties",
38
+ className: "AvailabilityStatus",
87
39
  modelProperties: {
88
- title: {
89
- serializedName: "title",
40
+ id: {
41
+ serializedName: "id",
90
42
  type: {
91
43
  name: "String"
92
44
  }
93
45
  },
94
- service: {
95
- serializedName: "service",
46
+ name: {
47
+ serializedName: "name",
96
48
  type: {
97
49
  name: "String"
98
50
  }
99
51
  },
100
- region: {
101
- serializedName: "region",
52
+ type: {
53
+ serializedName: "type",
102
54
  type: {
103
55
  name: "String"
104
56
  }
105
57
  },
106
- incidentType: {
107
- serializedName: "incidentType",
108
- type: {
109
- name: "String"
110
- }
111
- }
112
- }
113
- }
114
- };
115
- export var ServiceImpactingEvent = {
116
- serializedName: "serviceImpactingEvent",
117
- type: {
118
- name: "Composite",
119
- className: "ServiceImpactingEvent",
120
- modelProperties: {
121
- eventStartTime: {
122
- serializedName: "eventStartTime",
123
- type: {
124
- name: "DateTime"
125
- }
126
- },
127
- eventStatusLastModifiedTime: {
128
- serializedName: "eventStatusLastModifiedTime",
129
- type: {
130
- name: "DateTime"
131
- }
132
- },
133
- correlationId: {
134
- serializedName: "correlationId",
58
+ location: {
59
+ serializedName: "location",
135
60
  type: {
136
61
  name: "String"
137
62
  }
138
63
  },
139
- status: {
140
- serializedName: "status",
141
- type: {
142
- name: "Composite",
143
- className: "ServiceImpactingEventStatus"
144
- }
145
- },
146
- incidentProperties: {
147
- serializedName: "incidentProperties",
64
+ properties: {
65
+ serializedName: "properties",
148
66
  type: {
149
67
  name: "Composite",
150
- className: "ServiceImpactingEventIncidentProperties"
68
+ className: "AvailabilityStatusProperties"
151
69
  }
152
70
  }
153
71
  }
154
72
  }
155
73
  };
156
- export var AvailabilityStatusProperties = {
157
- serializedName: "availabilityStatus_properties",
74
+ export const AvailabilityStatusProperties = {
158
75
  type: {
159
76
  name: "Composite",
160
77
  className: "AvailabilityStatusProperties",
@@ -163,11 +80,7 @@ export var AvailabilityStatusProperties = {
163
80
  serializedName: "availabilityState",
164
81
  type: {
165
82
  name: "Enum",
166
- allowedValues: [
167
- "Available",
168
- "Unavailable",
169
- "Unknown"
170
- ]
83
+ allowedValues: ["Available", "Unavailable", "Unknown"]
171
84
  }
172
85
  },
173
86
  summary: {
@@ -234,10 +147,7 @@ export var AvailabilityStatusProperties = {
234
147
  serializedName: "reasonChronicity",
235
148
  type: {
236
149
  name: "Enum",
237
- allowedValues: [
238
- "Transient",
239
- "Persistent"
240
- ]
150
+ allowedValues: ["Transient", "Persistent"]
241
151
  }
242
152
  },
243
153
  reportedTime: {
@@ -280,48 +190,216 @@ export var AvailabilityStatusProperties = {
280
190
  }
281
191
  }
282
192
  };
283
- export var AvailabilityStatus = {
284
- serializedName: "availabilityStatus",
193
+ export const AvailabilityStatusPropertiesRecentlyResolvedState = {
285
194
  type: {
286
195
  name: "Composite",
287
- className: "AvailabilityStatus",
196
+ className: "AvailabilityStatusPropertiesRecentlyResolvedState",
288
197
  modelProperties: {
289
- id: {
290
- serializedName: "id",
198
+ unavailableOccurredTime: {
199
+ serializedName: "unavailableOccurredTime",
200
+ type: {
201
+ name: "DateTime"
202
+ }
203
+ },
204
+ resolvedTime: {
205
+ serializedName: "resolvedTime",
206
+ type: {
207
+ name: "DateTime"
208
+ }
209
+ },
210
+ unavailabilitySummary: {
211
+ serializedName: "unavailabilitySummary",
212
+ type: {
213
+ name: "String"
214
+ }
215
+ }
216
+ }
217
+ }
218
+ };
219
+ export const RecommendedAction = {
220
+ type: {
221
+ name: "Composite",
222
+ className: "RecommendedAction",
223
+ modelProperties: {
224
+ action: {
225
+ serializedName: "action",
291
226
  type: {
292
227
  name: "String"
293
228
  }
294
229
  },
295
- name: {
296
- serializedName: "name",
230
+ actionUrl: {
231
+ serializedName: "actionUrl",
297
232
  type: {
298
233
  name: "String"
299
234
  }
300
235
  },
301
- type: {
302
- serializedName: "type",
236
+ actionUrlText: {
237
+ serializedName: "actionUrlText",
303
238
  type: {
304
239
  name: "String"
305
240
  }
241
+ }
242
+ }
243
+ }
244
+ };
245
+ export const ServiceImpactingEvent = {
246
+ type: {
247
+ name: "Composite",
248
+ className: "ServiceImpactingEvent",
249
+ modelProperties: {
250
+ eventStartTime: {
251
+ serializedName: "eventStartTime",
252
+ type: {
253
+ name: "DateTime"
254
+ }
306
255
  },
307
- location: {
308
- serializedName: "location",
256
+ eventStatusLastModifiedTime: {
257
+ serializedName: "eventStatusLastModifiedTime",
258
+ type: {
259
+ name: "DateTime"
260
+ }
261
+ },
262
+ correlationId: {
263
+ serializedName: "correlationId",
309
264
  type: {
310
265
  name: "String"
311
266
  }
312
267
  },
313
- properties: {
314
- serializedName: "properties",
268
+ status: {
269
+ serializedName: "status",
315
270
  type: {
316
271
  name: "Composite",
317
- className: "AvailabilityStatusProperties"
272
+ className: "ServiceImpactingEventStatus"
273
+ }
274
+ },
275
+ incidentProperties: {
276
+ serializedName: "incidentProperties",
277
+ type: {
278
+ name: "Composite",
279
+ className: "ServiceImpactingEventIncidentProperties"
318
280
  }
319
281
  }
320
282
  }
321
283
  }
322
284
  };
323
- export var OperationDisplay = {
324
- serializedName: "operation_display",
285
+ export const ServiceImpactingEventStatus = {
286
+ type: {
287
+ name: "Composite",
288
+ className: "ServiceImpactingEventStatus",
289
+ modelProperties: {
290
+ value: {
291
+ serializedName: "value",
292
+ type: {
293
+ name: "String"
294
+ }
295
+ }
296
+ }
297
+ }
298
+ };
299
+ export const ServiceImpactingEventIncidentProperties = {
300
+ type: {
301
+ name: "Composite",
302
+ className: "ServiceImpactingEventIncidentProperties",
303
+ modelProperties: {
304
+ title: {
305
+ serializedName: "title",
306
+ type: {
307
+ name: "String"
308
+ }
309
+ },
310
+ service: {
311
+ serializedName: "service",
312
+ type: {
313
+ name: "String"
314
+ }
315
+ },
316
+ region: {
317
+ serializedName: "region",
318
+ type: {
319
+ name: "String"
320
+ }
321
+ },
322
+ incidentType: {
323
+ serializedName: "incidentType",
324
+ type: {
325
+ name: "String"
326
+ }
327
+ }
328
+ }
329
+ }
330
+ };
331
+ export const ErrorResponse = {
332
+ type: {
333
+ name: "Composite",
334
+ className: "ErrorResponse",
335
+ modelProperties: {
336
+ code: {
337
+ serializedName: "code",
338
+ readOnly: true,
339
+ type: {
340
+ name: "String"
341
+ }
342
+ },
343
+ message: {
344
+ serializedName: "message",
345
+ readOnly: true,
346
+ type: {
347
+ name: "String"
348
+ }
349
+ },
350
+ details: {
351
+ serializedName: "details",
352
+ readOnly: true,
353
+ type: {
354
+ name: "String"
355
+ }
356
+ }
357
+ }
358
+ }
359
+ };
360
+ export const OperationListResult = {
361
+ type: {
362
+ name: "Composite",
363
+ className: "OperationListResult",
364
+ modelProperties: {
365
+ value: {
366
+ serializedName: "value",
367
+ required: true,
368
+ type: {
369
+ name: "Sequence",
370
+ element: {
371
+ type: {
372
+ name: "Composite",
373
+ className: "Operation"
374
+ }
375
+ }
376
+ }
377
+ }
378
+ }
379
+ }
380
+ };
381
+ export const Operation = {
382
+ type: {
383
+ name: "Composite",
384
+ className: "Operation",
385
+ modelProperties: {
386
+ name: {
387
+ serializedName: "name",
388
+ type: {
389
+ name: "String"
390
+ }
391
+ },
392
+ display: {
393
+ serializedName: "display",
394
+ type: {
395
+ name: "Composite",
396
+ className: "OperationDisplay"
397
+ }
398
+ }
399
+ }
400
+ }
401
+ };
402
+ export const OperationDisplay = {
325
403
  type: {
326
404
  name: "Composite",
327
405
  className: "OperationDisplay",
@@ -353,43 +431,105 @@ export var OperationDisplay = {
353
431
  }
354
432
  }
355
433
  };
356
- export var Operation = {
357
- serializedName: "operation",
434
+ export const StatusBanner = {
358
435
  type: {
359
436
  name: "Composite",
360
- className: "Operation",
437
+ className: "StatusBanner",
361
438
  modelProperties: {
362
- name: {
363
- serializedName: "name",
439
+ title: {
440
+ serializedName: "title",
364
441
  type: {
365
442
  name: "String"
366
443
  }
367
444
  },
368
- display: {
369
- serializedName: "display",
445
+ message: {
446
+ serializedName: "message",
370
447
  type: {
371
- name: "Composite",
372
- className: "OperationDisplay"
448
+ name: "String"
449
+ }
450
+ },
451
+ cloud: {
452
+ serializedName: "cloud",
453
+ type: {
454
+ name: "String"
455
+ }
456
+ },
457
+ lastModifiedTime: {
458
+ serializedName: "lastModifiedTime",
459
+ type: {
460
+ name: "DateTime"
373
461
  }
374
462
  }
375
463
  }
376
464
  }
377
465
  };
378
- export var OperationListResult = {
379
- serializedName: "operationListResult",
466
+ export const StatusActiveEvent = {
380
467
  type: {
381
468
  name: "Composite",
382
- className: "OperationListResult",
469
+ className: "StatusActiveEvent",
383
470
  modelProperties: {
384
- value: {
385
- required: true,
386
- serializedName: "value",
471
+ title: {
472
+ serializedName: "title",
473
+ type: {
474
+ name: "String"
475
+ }
476
+ },
477
+ description: {
478
+ serializedName: "description",
479
+ type: {
480
+ name: "String"
481
+ }
482
+ },
483
+ trackingId: {
484
+ serializedName: "trackingId",
485
+ type: {
486
+ name: "String"
487
+ }
488
+ },
489
+ startTime: {
490
+ serializedName: "startTime",
491
+ type: {
492
+ name: "DateTime"
493
+ }
494
+ },
495
+ cloud: {
496
+ serializedName: "cloud",
497
+ type: {
498
+ name: "String"
499
+ }
500
+ },
501
+ severity: {
502
+ serializedName: "severity",
503
+ type: {
504
+ name: "String"
505
+ }
506
+ },
507
+ stage: {
508
+ serializedName: "stage",
509
+ type: {
510
+ name: "String"
511
+ }
512
+ },
513
+ published: {
514
+ serializedName: "published",
515
+ type: {
516
+ name: "Boolean"
517
+ }
518
+ },
519
+ lastModifiedTime: {
520
+ serializedName: "lastModifiedTime",
521
+ type: {
522
+ name: "DateTime"
523
+ }
524
+ },
525
+ impacts: {
526
+ serializedName: "impacts",
387
527
  type: {
388
528
  name: "Sequence",
389
529
  element: {
390
530
  type: {
391
531
  name: "Composite",
392
- className: "Operation"
532
+ className: "EmergingIssueImpact"
393
533
  }
394
534
  }
395
535
  }
@@ -397,29 +537,80 @@ export var OperationListResult = {
397
537
  }
398
538
  }
399
539
  };
400
- export var ErrorResponse = {
401
- serializedName: "ErrorResponse",
540
+ export const EmergingIssueImpact = {
402
541
  type: {
403
542
  name: "Composite",
404
- className: "ErrorResponse",
543
+ className: "EmergingIssueImpact",
405
544
  modelProperties: {
406
- code: {
545
+ id: {
546
+ serializedName: "id",
547
+ type: {
548
+ name: "String"
549
+ }
550
+ },
551
+ name: {
552
+ serializedName: "name",
553
+ type: {
554
+ name: "String"
555
+ }
556
+ },
557
+ regions: {
558
+ serializedName: "regions",
559
+ type: {
560
+ name: "Sequence",
561
+ element: {
562
+ type: {
563
+ name: "Composite",
564
+ className: "ImpactedRegion"
565
+ }
566
+ }
567
+ }
568
+ }
569
+ }
570
+ }
571
+ };
572
+ export const ImpactedRegion = {
573
+ type: {
574
+ name: "Composite",
575
+ className: "ImpactedRegion",
576
+ modelProperties: {
577
+ id: {
578
+ serializedName: "id",
579
+ type: {
580
+ name: "String"
581
+ }
582
+ },
583
+ name: {
584
+ serializedName: "name",
585
+ type: {
586
+ name: "String"
587
+ }
588
+ }
589
+ }
590
+ }
591
+ };
592
+ export const Resource = {
593
+ type: {
594
+ name: "Composite",
595
+ className: "Resource",
596
+ modelProperties: {
597
+ id: {
598
+ serializedName: "id",
407
599
  readOnly: true,
408
- serializedName: "code",
409
600
  type: {
410
601
  name: "String"
411
602
  }
412
603
  },
413
- message: {
604
+ name: {
605
+ serializedName: "name",
414
606
  readOnly: true,
415
- serializedName: "message",
416
607
  type: {
417
608
  name: "String"
418
609
  }
419
610
  },
420
- details: {
611
+ type: {
612
+ serializedName: "type",
421
613
  readOnly: true,
422
- serializedName: "details",
423
614
  type: {
424
615
  name: "String"
425
616
  }
@@ -427,21 +618,19 @@ export var ErrorResponse = {
427
618
  }
428
619
  }
429
620
  };
430
- export var AvailabilityStatusListResult = {
431
- serializedName: "availabilityStatusListResult",
621
+ export const EmergingIssueListResult = {
432
622
  type: {
433
623
  name: "Composite",
434
- className: "AvailabilityStatusListResult",
624
+ className: "EmergingIssueListResult",
435
625
  modelProperties: {
436
626
  value: {
437
- required: true,
438
- serializedName: "",
627
+ serializedName: "value",
439
628
  type: {
440
629
  name: "Sequence",
441
630
  element: {
442
631
  type: {
443
632
  name: "Composite",
444
- className: "AvailabilityStatus"
633
+ className: "EmergingIssuesGetResult"
445
634
  }
446
635
  }
447
636
  }
@@ -455,4 +644,38 @@ export var AvailabilityStatusListResult = {
455
644
  }
456
645
  }
457
646
  };
647
+ export const EmergingIssuesGetResult = {
648
+ type: {
649
+ name: "Composite",
650
+ className: "EmergingIssuesGetResult",
651
+ modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { refreshTimestamp: {
652
+ serializedName: "properties.refreshTimestamp",
653
+ type: {
654
+ name: "DateTime"
655
+ }
656
+ }, statusBanners: {
657
+ serializedName: "properties.statusBanners",
658
+ type: {
659
+ name: "Sequence",
660
+ element: {
661
+ type: {
662
+ name: "Composite",
663
+ className: "StatusBanner"
664
+ }
665
+ }
666
+ }
667
+ }, statusActiveEvents: {
668
+ serializedName: "properties.statusActiveEvents",
669
+ type: {
670
+ name: "Sequence",
671
+ element: {
672
+ type: {
673
+ name: "Composite",
674
+ className: "StatusActiveEvent"
675
+ }
676
+ }
677
+ }
678
+ } })
679
+ }
680
+ };
458
681
  //# sourceMappingURL=mappers.js.map