@azure/arm-resourcehealth 1.2.0 → 3.0.0-alpha.20211215.1

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