@azure/arm-resourcehealth 2.0.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 (173) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -82
  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 +233 -309
  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 +44 -39
  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/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/{esm → dist-esm/src}/operations/index.js +1 -2
  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/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/availabilityStatuses.js} +2 -7
  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/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js} +2 -2
  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/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  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 +63 -32
  85. package/review/arm-resourcehealth.api.md +396 -0
  86. package/rollup.config.js +181 -30
  87. package/src/index.ts +13 -0
  88. package/src/microsoftResourceHealth.ts +38 -41
  89. package/src/microsoftResourceHealthContext.ts +47 -44
  90. package/src/models/index.ts +322 -878
  91. package/src/models/mappers.ts +232 -320
  92. package/src/models/parameters.ts +58 -40
  93. package/src/operations/availabilityStatuses.ts +325 -276
  94. package/src/operations/childAvailabilityStatuses.ts +137 -130
  95. package/src/operations/childResources.ts +109 -85
  96. package/src/operations/emergingIssues.ts +96 -103
  97. package/src/operations/index.ts +1 -2
  98. package/src/operations/operations.ts +24 -38
  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 +3 -3
  106. package/types/arm-resourcehealth.d.ts +588 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-resourcehealth.js +0 -1743
  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 -29
  113. package/esm/microsoftResourceHealth.d.ts.map +0 -1
  114. package/esm/microsoftResourceHealth.js +0 -42
  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 -61
  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 -9
  123. package/esm/models/availabilityStatusesMappers.js.map +0 -1
  124. package/esm/models/childAvailabilityStatusesMappers.d.ts +0 -2
  125. package/esm/models/childAvailabilityStatusesMappers.d.ts.map +0 -1
  126. package/esm/models/childAvailabilityStatusesMappers.js +0 -9
  127. package/esm/models/childAvailabilityStatusesMappers.js.map +0 -1
  128. package/esm/models/childResourcesMappers.d.ts +0 -2
  129. package/esm/models/childResourcesMappers.d.ts.map +0 -1
  130. package/esm/models/childResourcesMappers.js +0 -9
  131. package/esm/models/childResourcesMappers.js.map +0 -1
  132. package/esm/models/emergingIssuesMappers.d.ts +0 -2
  133. package/esm/models/emergingIssuesMappers.d.ts.map +0 -1
  134. package/esm/models/emergingIssuesMappers.js +0 -9
  135. package/esm/models/emergingIssuesMappers.js.map +0 -1
  136. package/esm/models/index.d.ts +0 -957
  137. package/esm/models/index.d.ts.map +0 -1
  138. package/esm/models/index.js.map +0 -1
  139. package/esm/models/mappers.d.ts +0 -26
  140. package/esm/models/mappers.d.ts.map +0 -1
  141. package/esm/models/mappers.js.map +0 -1
  142. package/esm/models/operationsMappers.d.ts +0 -2
  143. package/esm/models/operationsMappers.d.ts.map +0 -1
  144. package/esm/models/operationsMappers.js.map +0 -1
  145. package/esm/models/parameters.d.ts +0 -11
  146. package/esm/models/parameters.d.ts.map +0 -1
  147. package/esm/models/parameters.js.map +0 -1
  148. package/esm/operations/availabilityStatuses.d.ts +0 -166
  149. package/esm/operations/availabilityStatuses.d.ts.map +0 -1
  150. package/esm/operations/availabilityStatuses.js +0 -239
  151. package/esm/operations/availabilityStatuses.js.map +0 -1
  152. package/esm/operations/childAvailabilityStatuses.d.ts +0 -81
  153. package/esm/operations/childAvailabilityStatuses.d.ts.map +0 -1
  154. package/esm/operations/childAvailabilityStatuses.js +0 -117
  155. package/esm/operations/childAvailabilityStatuses.js.map +0 -1
  156. package/esm/operations/childResources.d.ts +0 -57
  157. package/esm/operations/childResources.d.ts.map +0 -1
  158. package/esm/operations/childResources.js +0 -87
  159. package/esm/operations/childResources.js.map +0 -1
  160. package/esm/operations/emergingIssues.d.ts +0 -61
  161. package/esm/operations/emergingIssues.d.ts.map +0 -1
  162. package/esm/operations/emergingIssues.js +0 -106
  163. package/esm/operations/emergingIssues.js.map +0 -1
  164. package/esm/operations/index.d.ts.map +0 -1
  165. package/esm/operations/index.js.map +0 -1
  166. package/esm/operations/operations.d.ts +0 -28
  167. package/esm/operations/operations.d.ts.map +0 -1
  168. package/esm/operations/operations.js +0 -50
  169. package/esm/operations/operations.js.map +0 -1
  170. package/src/models/availabilityStatusesMappers.ts +0 -19
  171. package/src/models/childAvailabilityStatusesMappers.ts +0 -19
  172. package/src/models/childResourcesMappers.ts +0 -19
  173. package/src/models/emergingIssuesMappers.ts +0 -22
@@ -5,72 +5,26 @@
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
- import { __assign } from "tslib";
9
- import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
10
- export var CloudError = CloudErrorMapper;
11
- export var BaseResource = BaseResourceMapper;
12
- export var AvailabilityStatusPropertiesRecentlyResolvedState = {
13
- serializedName: "availabilityStatus_properties_recentlyResolvedState",
8
+ export const AvailabilityStatusListResult = {
14
9
  type: {
15
10
  name: "Composite",
16
- className: "AvailabilityStatusPropertiesRecentlyResolvedState",
17
- modelProperties: {
18
- unavailableOccurredTime: {
19
- serializedName: "unavailableOccurredTime",
20
- type: {
21
- name: "DateTime"
22
- }
23
- },
24
- resolvedTime: {
25
- serializedName: "resolvedTime",
26
- type: {
27
- name: "DateTime"
28
- }
29
- },
30
- unavailabilitySummary: {
31
- serializedName: "unavailabilitySummary",
32
- type: {
33
- name: "String"
34
- }
35
- }
36
- }
37
- }
38
- };
39
- export var RecommendedAction = {
40
- serializedName: "recommendedAction",
41
- type: {
42
- name: "Composite",
43
- className: "RecommendedAction",
11
+ className: "AvailabilityStatusListResult",
44
12
  modelProperties: {
45
- action: {
46
- serializedName: "action",
47
- type: {
48
- name: "String"
49
- }
50
- },
51
- actionUrl: {
52
- serializedName: "actionUrl",
13
+ value: {
14
+ serializedName: "value",
15
+ required: true,
53
16
  type: {
54
- name: "String"
17
+ name: "Sequence",
18
+ element: {
19
+ type: {
20
+ name: "Composite",
21
+ className: "AvailabilityStatus"
22
+ }
23
+ }
55
24
  }
56
25
  },
57
- actionUrlText: {
58
- serializedName: "actionUrlText",
59
- type: {
60
- name: "String"
61
- }
62
- }
63
- }
64
- }
65
- };
66
- export var ServiceImpactingEventStatus = {
67
- serializedName: "serviceImpactingEvent_status",
68
- type: {
69
- name: "Composite",
70
- className: "ServiceImpactingEventStatus",
71
- modelProperties: {
72
- value: {
73
- serializedName: "value",
26
+ nextLink: {
27
+ serializedName: "nextLink",
74
28
  type: {
75
29
  name: "String"
76
30
  }
@@ -78,82 +32,46 @@ export var ServiceImpactingEventStatus = {
78
32
  }
79
33
  }
80
34
  };
81
- export var ServiceImpactingEventIncidentProperties = {
82
- serializedName: "serviceImpactingEvent_incidentProperties",
35
+ export const AvailabilityStatus = {
83
36
  type: {
84
37
  name: "Composite",
85
- className: "ServiceImpactingEventIncidentProperties",
38
+ className: "AvailabilityStatus",
86
39
  modelProperties: {
87
- title: {
88
- serializedName: "title",
89
- type: {
90
- name: "String"
91
- }
92
- },
93
- service: {
94
- serializedName: "service",
40
+ id: {
41
+ serializedName: "id",
95
42
  type: {
96
43
  name: "String"
97
44
  }
98
45
  },
99
- region: {
100
- serializedName: "region",
46
+ name: {
47
+ serializedName: "name",
101
48
  type: {
102
49
  name: "String"
103
50
  }
104
51
  },
105
- incidentType: {
106
- serializedName: "incidentType",
52
+ type: {
53
+ serializedName: "type",
107
54
  type: {
108
55
  name: "String"
109
56
  }
110
- }
111
- }
112
- }
113
- };
114
- export var ServiceImpactingEvent = {
115
- serializedName: "serviceImpactingEvent",
116
- type: {
117
- name: "Composite",
118
- className: "ServiceImpactingEvent",
119
- modelProperties: {
120
- eventStartTime: {
121
- serializedName: "eventStartTime",
122
- type: {
123
- name: "DateTime"
124
- }
125
- },
126
- eventStatusLastModifiedTime: {
127
- serializedName: "eventStatusLastModifiedTime",
128
- type: {
129
- name: "DateTime"
130
- }
131
57
  },
132
- correlationId: {
133
- serializedName: "correlationId",
58
+ location: {
59
+ serializedName: "location",
134
60
  type: {
135
61
  name: "String"
136
62
  }
137
63
  },
138
- status: {
139
- serializedName: "status",
140
- type: {
141
- name: "Composite",
142
- className: "ServiceImpactingEventStatus"
143
- }
144
- },
145
- incidentProperties: {
146
- serializedName: "incidentProperties",
64
+ properties: {
65
+ serializedName: "properties",
147
66
  type: {
148
67
  name: "Composite",
149
- className: "ServiceImpactingEventIncidentProperties"
68
+ className: "AvailabilityStatusProperties"
150
69
  }
151
70
  }
152
71
  }
153
72
  }
154
73
  };
155
- export var AvailabilityStatusProperties = {
156
- serializedName: "availabilityStatus_properties",
74
+ export const AvailabilityStatusProperties = {
157
75
  type: {
158
76
  name: "Composite",
159
77
  className: "AvailabilityStatusProperties",
@@ -162,11 +80,7 @@ export var AvailabilityStatusProperties = {
162
80
  serializedName: "availabilityState",
163
81
  type: {
164
82
  name: "Enum",
165
- allowedValues: [
166
- "Available",
167
- "Unavailable",
168
- "Unknown"
169
- ]
83
+ allowedValues: ["Available", "Unavailable", "Unknown"]
170
84
  }
171
85
  },
172
86
  summary: {
@@ -233,10 +147,7 @@ export var AvailabilityStatusProperties = {
233
147
  serializedName: "reasonChronicity",
234
148
  type: {
235
149
  name: "Enum",
236
- allowedValues: [
237
- "Transient",
238
- "Persistent"
239
- ]
150
+ allowedValues: ["Transient", "Persistent"]
240
151
  }
241
152
  },
242
153
  reportedTime: {
@@ -279,72 +190,137 @@ export var AvailabilityStatusProperties = {
279
190
  }
280
191
  }
281
192
  };
282
- export var AvailabilityStatus = {
283
- serializedName: "availabilityStatus",
193
+ export const AvailabilityStatusPropertiesRecentlyResolvedState = {
284
194
  type: {
285
195
  name: "Composite",
286
- className: "AvailabilityStatus",
196
+ className: "AvailabilityStatusPropertiesRecentlyResolvedState",
287
197
  modelProperties: {
288
- id: {
289
- 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",
290
226
  type: {
291
227
  name: "String"
292
228
  }
293
229
  },
294
- name: {
295
- serializedName: "name",
230
+ actionUrl: {
231
+ serializedName: "actionUrl",
296
232
  type: {
297
233
  name: "String"
298
234
  }
299
235
  },
300
- type: {
301
- serializedName: "type",
236
+ actionUrlText: {
237
+ serializedName: "actionUrlText",
302
238
  type: {
303
239
  name: "String"
304
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
+ }
305
255
  },
306
- location: {
307
- serializedName: "location",
256
+ eventStatusLastModifiedTime: {
257
+ serializedName: "eventStatusLastModifiedTime",
258
+ type: {
259
+ name: "DateTime"
260
+ }
261
+ },
262
+ correlationId: {
263
+ serializedName: "correlationId",
308
264
  type: {
309
265
  name: "String"
310
266
  }
311
267
  },
312
- properties: {
313
- serializedName: "properties",
268
+ status: {
269
+ serializedName: "status",
314
270
  type: {
315
271
  name: "Composite",
316
- className: "AvailabilityStatusProperties"
272
+ className: "ServiceImpactingEventStatus"
273
+ }
274
+ },
275
+ incidentProperties: {
276
+ serializedName: "incidentProperties",
277
+ type: {
278
+ name: "Composite",
279
+ className: "ServiceImpactingEventIncidentProperties"
317
280
  }
318
281
  }
319
282
  }
320
283
  }
321
284
  };
322
- export var OperationDisplay = {
323
- serializedName: "operation_display",
285
+ export const ServiceImpactingEventStatus = {
324
286
  type: {
325
287
  name: "Composite",
326
- className: "OperationDisplay",
288
+ className: "ServiceImpactingEventStatus",
327
289
  modelProperties: {
328
- provider: {
329
- serializedName: "provider",
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",
330
306
  type: {
331
307
  name: "String"
332
308
  }
333
309
  },
334
- resource: {
335
- serializedName: "resource",
310
+ service: {
311
+ serializedName: "service",
336
312
  type: {
337
313
  name: "String"
338
314
  }
339
315
  },
340
- operation: {
341
- serializedName: "operation",
316
+ region: {
317
+ serializedName: "region",
342
318
  type: {
343
319
  name: "String"
344
320
  }
345
321
  },
346
- description: {
347
- serializedName: "description",
322
+ incidentType: {
323
+ serializedName: "incidentType",
348
324
  type: {
349
325
  name: "String"
350
326
  }
@@ -352,37 +328,43 @@ export var OperationDisplay = {
352
328
  }
353
329
  }
354
330
  };
355
- export var Operation = {
356
- serializedName: "operation",
331
+ export const ErrorResponse = {
357
332
  type: {
358
333
  name: "Composite",
359
- className: "Operation",
334
+ className: "ErrorResponse",
360
335
  modelProperties: {
361
- name: {
362
- serializedName: "name",
336
+ code: {
337
+ serializedName: "code",
338
+ readOnly: true,
363
339
  type: {
364
340
  name: "String"
365
341
  }
366
342
  },
367
- display: {
368
- serializedName: "display",
343
+ message: {
344
+ serializedName: "message",
345
+ readOnly: true,
369
346
  type: {
370
- name: "Composite",
371
- className: "OperationDisplay"
347
+ name: "String"
348
+ }
349
+ },
350
+ details: {
351
+ serializedName: "details",
352
+ readOnly: true,
353
+ type: {
354
+ name: "String"
372
355
  }
373
356
  }
374
357
  }
375
358
  }
376
359
  };
377
- export var OperationListResult = {
378
- serializedName: "operationListResult",
360
+ export const OperationListResult = {
379
361
  type: {
380
362
  name: "Composite",
381
363
  className: "OperationListResult",
382
364
  modelProperties: {
383
365
  value: {
384
- required: true,
385
366
  serializedName: "value",
367
+ required: true,
386
368
  type: {
387
369
  name: "Sequence",
388
370
  element: {
@@ -396,53 +378,52 @@ export var OperationListResult = {
396
378
  }
397
379
  }
398
380
  };
399
- export var StatusBanner = {
400
- serializedName: "statusBanner",
381
+ export const Operation = {
401
382
  type: {
402
383
  name: "Composite",
403
- className: "StatusBanner",
384
+ className: "Operation",
404
385
  modelProperties: {
405
- title: {
406
- serializedName: "title",
407
- type: {
408
- name: "String"
409
- }
410
- },
411
- message: {
412
- serializedName: "message",
413
- type: {
414
- name: "String"
415
- }
416
- },
417
- cloud: {
418
- serializedName: "cloud",
386
+ name: {
387
+ serializedName: "name",
419
388
  type: {
420
389
  name: "String"
421
390
  }
422
391
  },
423
- lastModifiedTime: {
424
- serializedName: "lastModifiedTime",
392
+ display: {
393
+ serializedName: "display",
425
394
  type: {
426
- name: "DateTime"
395
+ name: "Composite",
396
+ className: "OperationDisplay"
427
397
  }
428
398
  }
429
399
  }
430
400
  }
431
401
  };
432
- export var ImpactedRegion = {
433
- serializedName: "impactedRegion",
402
+ export const OperationDisplay = {
434
403
  type: {
435
404
  name: "Composite",
436
- className: "ImpactedRegion",
405
+ className: "OperationDisplay",
437
406
  modelProperties: {
438
- id: {
439
- serializedName: "id",
407
+ provider: {
408
+ serializedName: "provider",
440
409
  type: {
441
410
  name: "String"
442
411
  }
443
412
  },
444
- name: {
445
- serializedName: "name",
413
+ resource: {
414
+ serializedName: "resource",
415
+ type: {
416
+ name: "String"
417
+ }
418
+ },
419
+ operation: {
420
+ serializedName: "operation",
421
+ type: {
422
+ name: "String"
423
+ }
424
+ },
425
+ description: {
426
+ serializedName: "description",
446
427
  type: {
447
428
  name: "String"
448
429
  }
@@ -450,41 +431,39 @@ export var ImpactedRegion = {
450
431
  }
451
432
  }
452
433
  };
453
- export var EmergingIssueImpact = {
454
- serializedName: "emergingIssueImpact",
434
+ export const StatusBanner = {
455
435
  type: {
456
436
  name: "Composite",
457
- className: "EmergingIssueImpact",
437
+ className: "StatusBanner",
458
438
  modelProperties: {
459
- id: {
460
- serializedName: "id",
439
+ title: {
440
+ serializedName: "title",
461
441
  type: {
462
442
  name: "String"
463
443
  }
464
444
  },
465
- name: {
466
- serializedName: "name",
445
+ message: {
446
+ serializedName: "message",
467
447
  type: {
468
448
  name: "String"
469
449
  }
470
450
  },
471
- regions: {
472
- serializedName: "regions",
451
+ cloud: {
452
+ serializedName: "cloud",
473
453
  type: {
474
- name: "Sequence",
475
- element: {
476
- type: {
477
- name: "Composite",
478
- className: "ImpactedRegion"
479
- }
480
- }
454
+ name: "String"
455
+ }
456
+ },
457
+ lastModifiedTime: {
458
+ serializedName: "lastModifiedTime",
459
+ type: {
460
+ name: "DateTime"
481
461
  }
482
462
  }
483
463
  }
484
464
  }
485
465
  };
486
- export var StatusActiveEvent = {
487
- serializedName: "statusActiveEvent",
466
+ export const StatusActiveEvent = {
488
467
  type: {
489
468
  name: "Composite",
490
469
  className: "StatusActiveEvent",
@@ -558,94 +537,51 @@ export var StatusActiveEvent = {
558
537
  }
559
538
  }
560
539
  };
561
- export var Resource = {
562
- serializedName: "Resource",
540
+ export const EmergingIssueImpact = {
563
541
  type: {
564
542
  name: "Composite",
565
- className: "Resource",
543
+ className: "EmergingIssueImpact",
566
544
  modelProperties: {
567
545
  id: {
568
- readOnly: true,
569
546
  serializedName: "id",
570
547
  type: {
571
548
  name: "String"
572
549
  }
573
550
  },
574
551
  name: {
575
- readOnly: true,
576
552
  serializedName: "name",
577
553
  type: {
578
554
  name: "String"
579
555
  }
580
556
  },
581
- type: {
582
- readOnly: true,
583
- serializedName: "type",
584
- type: {
585
- name: "String"
586
- }
587
- }
588
- }
589
- }
590
- };
591
- export var EmergingIssuesGetResult = {
592
- serializedName: "emergingIssuesGetResult",
593
- type: {
594
- name: "Composite",
595
- className: "EmergingIssuesGetResult",
596
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { refreshTimestamp: {
597
- serializedName: "properties.refreshTimestamp",
598
- type: {
599
- name: "DateTime"
600
- }
601
- }, statusBanners: {
602
- serializedName: "properties.statusBanners",
603
- type: {
604
- name: "Sequence",
605
- element: {
606
- type: {
607
- name: "Composite",
608
- className: "StatusBanner"
609
- }
610
- }
611
- }
612
- }, statusActiveEvents: {
613
- serializedName: "properties.statusActiveEvents",
557
+ regions: {
558
+ serializedName: "regions",
614
559
  type: {
615
560
  name: "Sequence",
616
561
  element: {
617
562
  type: {
618
563
  name: "Composite",
619
- className: "StatusActiveEvent"
564
+ className: "ImpactedRegion"
620
565
  }
621
566
  }
622
567
  }
623
- } })
568
+ }
569
+ }
624
570
  }
625
571
  };
626
- export var ErrorResponse = {
627
- serializedName: "ErrorResponse",
572
+ export const ImpactedRegion = {
628
573
  type: {
629
574
  name: "Composite",
630
- className: "ErrorResponse",
575
+ className: "ImpactedRegion",
631
576
  modelProperties: {
632
- code: {
633
- readOnly: true,
634
- serializedName: "code",
635
- type: {
636
- name: "String"
637
- }
638
- },
639
- message: {
640
- readOnly: true,
641
- serializedName: "message",
577
+ id: {
578
+ serializedName: "id",
642
579
  type: {
643
580
  name: "String"
644
581
  }
645
582
  },
646
- details: {
647
- readOnly: true,
648
- serializedName: "details",
583
+ name: {
584
+ serializedName: "name",
649
585
  type: {
650
586
  name: "String"
651
587
  }
@@ -653,67 +589,48 @@ export var ErrorResponse = {
653
589
  }
654
590
  }
655
591
  };
656
- export var ProxyResource = {
657
- serializedName: "ProxyResource",
658
- type: {
659
- name: "Composite",
660
- className: "ProxyResource",
661
- modelProperties: __assign({}, Resource.type.modelProperties)
662
- }
663
- };
664
- export var TrackedResource = {
665
- serializedName: "TrackedResource",
592
+ export const Resource = {
666
593
  type: {
667
594
  name: "Composite",
668
- className: "TrackedResource",
669
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
670
- serializedName: "tags",
595
+ className: "Resource",
596
+ modelProperties: {
597
+ id: {
598
+ serializedName: "id",
599
+ readOnly: true,
671
600
  type: {
672
- name: "Dictionary",
673
- value: {
674
- type: {
675
- name: "String"
676
- }
677
- }
601
+ name: "String"
678
602
  }
679
- }, location: {
680
- required: true,
681
- serializedName: "location",
603
+ },
604
+ name: {
605
+ serializedName: "name",
606
+ readOnly: true,
682
607
  type: {
683
608
  name: "String"
684
609
  }
685
- } })
686
- }
687
- };
688
- export var AzureEntityResource = {
689
- serializedName: "AzureEntityResource",
690
- type: {
691
- name: "Composite",
692
- className: "AzureEntityResource",
693
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
610
+ },
611
+ type: {
612
+ serializedName: "type",
694
613
  readOnly: true,
695
- serializedName: "etag",
696
614
  type: {
697
615
  name: "String"
698
616
  }
699
- } })
617
+ }
618
+ }
700
619
  }
701
620
  };
702
- export var AvailabilityStatusListResult = {
703
- serializedName: "availabilityStatusListResult",
621
+ export const EmergingIssueListResult = {
704
622
  type: {
705
623
  name: "Composite",
706
- className: "AvailabilityStatusListResult",
624
+ className: "EmergingIssueListResult",
707
625
  modelProperties: {
708
626
  value: {
709
- required: true,
710
- serializedName: "",
627
+ serializedName: "value",
711
628
  type: {
712
629
  name: "Sequence",
713
630
  element: {
714
631
  type: {
715
632
  name: "Composite",
716
- className: "AvailabilityStatus"
633
+ className: "EmergingIssuesGetResult"
717
634
  }
718
635
  }
719
636
  }
@@ -727,31 +644,38 @@ export var AvailabilityStatusListResult = {
727
644
  }
728
645
  }
729
646
  };
730
- export var EmergingIssueListResult = {
731
- serializedName: "emergingIssueListResult",
647
+ export const EmergingIssuesGetResult = {
732
648
  type: {
733
649
  name: "Composite",
734
- className: "EmergingIssueListResult",
735
- modelProperties: {
736
- value: {
737
- serializedName: "",
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",
738
658
  type: {
739
659
  name: "Sequence",
740
660
  element: {
741
661
  type: {
742
662
  name: "Composite",
743
- className: "EmergingIssuesGetResult"
663
+ className: "StatusBanner"
744
664
  }
745
665
  }
746
666
  }
747
- },
748
- nextLink: {
749
- serializedName: "nextLink",
667
+ }, statusActiveEvents: {
668
+ serializedName: "properties.statusActiveEvents",
750
669
  type: {
751
- name: "String"
670
+ name: "Sequence",
671
+ element: {
672
+ type: {
673
+ name: "Composite",
674
+ className: "StatusActiveEvent"
675
+ }
676
+ }
752
677
  }
753
- }
754
- }
678
+ } })
755
679
  }
756
680
  };
757
681
  //# sourceMappingURL=mappers.js.map