@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
@@ -6,76 +6,28 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export const CloudError = CloudErrorMapper;
13
- export const BaseResource = BaseResourceMapper;
14
-
15
- export const AvailabilityStatusPropertiesRecentlyResolvedState: msRest.CompositeMapper = {
16
- serializedName: "availabilityStatus_properties_recentlyResolvedState",
11
+ export const AvailabilityStatusListResult: coreClient.CompositeMapper = {
17
12
  type: {
18
13
  name: "Composite",
19
- className: "AvailabilityStatusPropertiesRecentlyResolvedState",
20
- modelProperties: {
21
- unavailableOccurredTime: {
22
- serializedName: "unavailableOccurredTime",
23
- type: {
24
- name: "DateTime"
25
- }
26
- },
27
- resolvedTime: {
28
- serializedName: "resolvedTime",
29
- type: {
30
- name: "DateTime"
31
- }
32
- },
33
- unavailabilitySummary: {
34
- serializedName: "unavailabilitySummary",
35
- type: {
36
- name: "String"
37
- }
38
- }
39
- }
40
- }
41
- };
42
-
43
- export const RecommendedAction: msRest.CompositeMapper = {
44
- serializedName: "recommendedAction",
45
- type: {
46
- name: "Composite",
47
- className: "RecommendedAction",
14
+ className: "AvailabilityStatusListResult",
48
15
  modelProperties: {
49
- action: {
50
- serializedName: "action",
51
- type: {
52
- name: "String"
53
- }
54
- },
55
- actionUrl: {
56
- serializedName: "actionUrl",
16
+ value: {
17
+ serializedName: "value",
18
+ required: true,
57
19
  type: {
58
- name: "String"
20
+ name: "Sequence",
21
+ element: {
22
+ type: {
23
+ name: "Composite",
24
+ className: "AvailabilityStatus"
25
+ }
26
+ }
59
27
  }
60
28
  },
61
- actionUrlText: {
62
- serializedName: "actionUrlText",
63
- type: {
64
- name: "String"
65
- }
66
- }
67
- }
68
- }
69
- };
70
-
71
- export const ServiceImpactingEventStatus: msRest.CompositeMapper = {
72
- serializedName: "serviceImpactingEvent_status",
73
- type: {
74
- name: "Composite",
75
- className: "ServiceImpactingEventStatus",
76
- modelProperties: {
77
- value: {
78
- serializedName: "value",
29
+ nextLink: {
30
+ serializedName: "nextLink",
79
31
  type: {
80
32
  name: "String"
81
33
  }
@@ -84,84 +36,47 @@ export const ServiceImpactingEventStatus: msRest.CompositeMapper = {
84
36
  }
85
37
  };
86
38
 
87
- export const ServiceImpactingEventIncidentProperties: msRest.CompositeMapper = {
88
- serializedName: "serviceImpactingEvent_incidentProperties",
39
+ export const AvailabilityStatus: coreClient.CompositeMapper = {
89
40
  type: {
90
41
  name: "Composite",
91
- className: "ServiceImpactingEventIncidentProperties",
42
+ className: "AvailabilityStatus",
92
43
  modelProperties: {
93
- title: {
94
- serializedName: "title",
44
+ id: {
45
+ serializedName: "id",
95
46
  type: {
96
47
  name: "String"
97
48
  }
98
49
  },
99
- service: {
100
- serializedName: "service",
50
+ name: {
51
+ serializedName: "name",
101
52
  type: {
102
53
  name: "String"
103
54
  }
104
55
  },
105
- region: {
106
- serializedName: "region",
56
+ type: {
57
+ serializedName: "type",
107
58
  type: {
108
59
  name: "String"
109
60
  }
110
61
  },
111
- incidentType: {
112
- serializedName: "incidentType",
113
- type: {
114
- name: "String"
115
- }
116
- }
117
- }
118
- }
119
- };
120
-
121
- export const ServiceImpactingEvent: msRest.CompositeMapper = {
122
- serializedName: "serviceImpactingEvent",
123
- type: {
124
- name: "Composite",
125
- className: "ServiceImpactingEvent",
126
- modelProperties: {
127
- eventStartTime: {
128
- serializedName: "eventStartTime",
129
- type: {
130
- name: "DateTime"
131
- }
132
- },
133
- eventStatusLastModifiedTime: {
134
- serializedName: "eventStatusLastModifiedTime",
135
- type: {
136
- name: "DateTime"
137
- }
138
- },
139
- correlationId: {
140
- serializedName: "correlationId",
62
+ location: {
63
+ serializedName: "location",
141
64
  type: {
142
65
  name: "String"
143
66
  }
144
67
  },
145
- status: {
146
- serializedName: "status",
147
- type: {
148
- name: "Composite",
149
- className: "ServiceImpactingEventStatus"
150
- }
151
- },
152
- incidentProperties: {
153
- serializedName: "incidentProperties",
68
+ properties: {
69
+ serializedName: "properties",
154
70
  type: {
155
71
  name: "Composite",
156
- className: "ServiceImpactingEventIncidentProperties"
72
+ className: "AvailabilityStatusProperties"
157
73
  }
158
74
  }
159
75
  }
160
76
  }
161
77
  };
162
78
 
163
- export const AvailabilityStatusProperties: msRest.CompositeMapper = {
164
- serializedName: "availabilityStatus_properties",
79
+ export const AvailabilityStatusProperties: coreClient.CompositeMapper = {
165
80
  type: {
166
81
  name: "Composite",
167
82
  className: "AvailabilityStatusProperties",
@@ -170,11 +85,7 @@ export const AvailabilityStatusProperties: msRest.CompositeMapper = {
170
85
  serializedName: "availabilityState",
171
86
  type: {
172
87
  name: "Enum",
173
- allowedValues: [
174
- "Available",
175
- "Unavailable",
176
- "Unknown"
177
- ]
88
+ allowedValues: ["Available", "Unavailable", "Unknown"]
178
89
  }
179
90
  },
180
91
  summary: {
@@ -241,10 +152,7 @@ export const AvailabilityStatusProperties: msRest.CompositeMapper = {
241
152
  serializedName: "reasonChronicity",
242
153
  type: {
243
154
  name: "Enum",
244
- allowedValues: [
245
- "Transient",
246
- "Persistent"
247
- ]
155
+ allowedValues: ["Transient", "Persistent"]
248
156
  }
249
157
  },
250
158
  reportedTime: {
@@ -288,73 +196,141 @@ export const AvailabilityStatusProperties: msRest.CompositeMapper = {
288
196
  }
289
197
  };
290
198
 
291
- export const AvailabilityStatus: msRest.CompositeMapper = {
292
- serializedName: "availabilityStatus",
199
+ export const AvailabilityStatusPropertiesRecentlyResolvedState: coreClient.CompositeMapper = {
293
200
  type: {
294
201
  name: "Composite",
295
- className: "AvailabilityStatus",
202
+ className: "AvailabilityStatusPropertiesRecentlyResolvedState",
296
203
  modelProperties: {
297
- id: {
298
- 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",
299
233
  type: {
300
234
  name: "String"
301
235
  }
302
236
  },
303
- name: {
304
- serializedName: "name",
237
+ actionUrl: {
238
+ serializedName: "actionUrl",
305
239
  type: {
306
240
  name: "String"
307
241
  }
308
242
  },
309
- type: {
310
- serializedName: "type",
243
+ actionUrlText: {
244
+ serializedName: "actionUrlText",
311
245
  type: {
312
246
  name: "String"
313
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
+ }
314
263
  },
315
- location: {
316
- serializedName: "location",
264
+ eventStatusLastModifiedTime: {
265
+ serializedName: "eventStatusLastModifiedTime",
266
+ type: {
267
+ name: "DateTime"
268
+ }
269
+ },
270
+ correlationId: {
271
+ serializedName: "correlationId",
317
272
  type: {
318
273
  name: "String"
319
274
  }
320
275
  },
321
- properties: {
322
- serializedName: "properties",
276
+ status: {
277
+ serializedName: "status",
323
278
  type: {
324
279
  name: "Composite",
325
- className: "AvailabilityStatusProperties"
280
+ className: "ServiceImpactingEventStatus"
281
+ }
282
+ },
283
+ incidentProperties: {
284
+ serializedName: "incidentProperties",
285
+ type: {
286
+ name: "Composite",
287
+ className: "ServiceImpactingEventIncidentProperties"
326
288
  }
327
289
  }
328
290
  }
329
291
  }
330
292
  };
331
293
 
332
- export const OperationDisplay: msRest.CompositeMapper = {
333
- serializedName: "operation_display",
294
+ export const ServiceImpactingEventStatus: coreClient.CompositeMapper = {
334
295
  type: {
335
296
  name: "Composite",
336
- className: "OperationDisplay",
297
+ className: "ServiceImpactingEventStatus",
337
298
  modelProperties: {
338
- provider: {
339
- serializedName: "provider",
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",
340
316
  type: {
341
317
  name: "String"
342
318
  }
343
319
  },
344
- resource: {
345
- serializedName: "resource",
320
+ service: {
321
+ serializedName: "service",
346
322
  type: {
347
323
  name: "String"
348
324
  }
349
325
  },
350
- operation: {
351
- serializedName: "operation",
326
+ region: {
327
+ serializedName: "region",
352
328
  type: {
353
329
  name: "String"
354
330
  }
355
331
  },
356
- description: {
357
- serializedName: "description",
332
+ incidentType: {
333
+ serializedName: "incidentType",
358
334
  type: {
359
335
  name: "String"
360
336
  }
@@ -363,38 +339,44 @@ export const OperationDisplay: msRest.CompositeMapper = {
363
339
  }
364
340
  };
365
341
 
366
- export const Operation: msRest.CompositeMapper = {
367
- serializedName: "operation",
342
+ export const ErrorResponse: coreClient.CompositeMapper = {
368
343
  type: {
369
344
  name: "Composite",
370
- className: "Operation",
345
+ className: "ErrorResponse",
371
346
  modelProperties: {
372
- name: {
373
- serializedName: "name",
347
+ code: {
348
+ serializedName: "code",
349
+ readOnly: true,
374
350
  type: {
375
351
  name: "String"
376
352
  }
377
353
  },
378
- display: {
379
- serializedName: "display",
354
+ message: {
355
+ serializedName: "message",
356
+ readOnly: true,
380
357
  type: {
381
- name: "Composite",
382
- className: "OperationDisplay"
358
+ name: "String"
359
+ }
360
+ },
361
+ details: {
362
+ serializedName: "details",
363
+ readOnly: true,
364
+ type: {
365
+ name: "String"
383
366
  }
384
367
  }
385
368
  }
386
369
  }
387
370
  };
388
371
 
389
- export const OperationListResult: msRest.CompositeMapper = {
390
- serializedName: "operationListResult",
372
+ export const OperationListResult: coreClient.CompositeMapper = {
391
373
  type: {
392
374
  name: "Composite",
393
375
  className: "OperationListResult",
394
376
  modelProperties: {
395
377
  value: {
396
- required: true,
397
378
  serializedName: "value",
379
+ required: true,
398
380
  type: {
399
381
  name: "Sequence",
400
382
  element: {
@@ -409,54 +391,53 @@ export const OperationListResult: msRest.CompositeMapper = {
409
391
  }
410
392
  };
411
393
 
412
- export const StatusBanner: msRest.CompositeMapper = {
413
- serializedName: "statusBanner",
394
+ export const Operation: coreClient.CompositeMapper = {
414
395
  type: {
415
396
  name: "Composite",
416
- className: "StatusBanner",
397
+ className: "Operation",
417
398
  modelProperties: {
418
- title: {
419
- serializedName: "title",
420
- type: {
421
- name: "String"
422
- }
423
- },
424
- message: {
425
- serializedName: "message",
426
- type: {
427
- name: "String"
428
- }
429
- },
430
- cloud: {
431
- serializedName: "cloud",
399
+ name: {
400
+ serializedName: "name",
432
401
  type: {
433
402
  name: "String"
434
403
  }
435
404
  },
436
- lastModifiedTime: {
437
- serializedName: "lastModifiedTime",
405
+ display: {
406
+ serializedName: "display",
438
407
  type: {
439
- name: "DateTime"
408
+ name: "Composite",
409
+ className: "OperationDisplay"
440
410
  }
441
411
  }
442
412
  }
443
413
  }
444
414
  };
445
415
 
446
- export const ImpactedRegion: msRest.CompositeMapper = {
447
- serializedName: "impactedRegion",
416
+ export const OperationDisplay: coreClient.CompositeMapper = {
448
417
  type: {
449
418
  name: "Composite",
450
- className: "ImpactedRegion",
419
+ className: "OperationDisplay",
451
420
  modelProperties: {
452
- id: {
453
- serializedName: "id",
421
+ provider: {
422
+ serializedName: "provider",
454
423
  type: {
455
424
  name: "String"
456
425
  }
457
426
  },
458
- name: {
459
- serializedName: "name",
427
+ resource: {
428
+ serializedName: "resource",
429
+ type: {
430
+ name: "String"
431
+ }
432
+ },
433
+ operation: {
434
+ serializedName: "operation",
435
+ type: {
436
+ name: "String"
437
+ }
438
+ },
439
+ description: {
440
+ serializedName: "description",
460
441
  type: {
461
442
  name: "String"
462
443
  }
@@ -465,42 +446,40 @@ export const ImpactedRegion: msRest.CompositeMapper = {
465
446
  }
466
447
  };
467
448
 
468
- export const EmergingIssueImpact: msRest.CompositeMapper = {
469
- serializedName: "emergingIssueImpact",
449
+ export const StatusBanner: coreClient.CompositeMapper = {
470
450
  type: {
471
451
  name: "Composite",
472
- className: "EmergingIssueImpact",
452
+ className: "StatusBanner",
473
453
  modelProperties: {
474
- id: {
475
- serializedName: "id",
454
+ title: {
455
+ serializedName: "title",
476
456
  type: {
477
457
  name: "String"
478
458
  }
479
459
  },
480
- name: {
481
- serializedName: "name",
460
+ message: {
461
+ serializedName: "message",
482
462
  type: {
483
463
  name: "String"
484
464
  }
485
465
  },
486
- regions: {
487
- serializedName: "regions",
466
+ cloud: {
467
+ serializedName: "cloud",
488
468
  type: {
489
- name: "Sequence",
490
- element: {
491
- type: {
492
- name: "Composite",
493
- className: "ImpactedRegion"
494
- }
495
- }
469
+ name: "String"
470
+ }
471
+ },
472
+ lastModifiedTime: {
473
+ serializedName: "lastModifiedTime",
474
+ type: {
475
+ name: "DateTime"
496
476
  }
497
477
  }
498
478
  }
499
479
  }
500
480
  };
501
481
 
502
- export const StatusActiveEvent: msRest.CompositeMapper = {
503
- serializedName: "statusActiveEvent",
482
+ export const StatusActiveEvent: coreClient.CompositeMapper = {
504
483
  type: {
505
484
  name: "Composite",
506
485
  className: "StatusActiveEvent",
@@ -575,70 +554,31 @@ export const StatusActiveEvent: msRest.CompositeMapper = {
575
554
  }
576
555
  };
577
556
 
578
- export const Resource: msRest.CompositeMapper = {
579
- serializedName: "Resource",
557
+ export const EmergingIssueImpact: coreClient.CompositeMapper = {
580
558
  type: {
581
559
  name: "Composite",
582
- className: "Resource",
560
+ className: "EmergingIssueImpact",
583
561
  modelProperties: {
584
562
  id: {
585
- readOnly: true,
586
563
  serializedName: "id",
587
564
  type: {
588
565
  name: "String"
589
566
  }
590
567
  },
591
568
  name: {
592
- readOnly: true,
593
569
  serializedName: "name",
594
570
  type: {
595
571
  name: "String"
596
572
  }
597
573
  },
598
- type: {
599
- readOnly: true,
600
- serializedName: "type",
601
- type: {
602
- name: "String"
603
- }
604
- }
605
- }
606
- }
607
- };
608
-
609
- export const EmergingIssuesGetResult: msRest.CompositeMapper = {
610
- serializedName: "emergingIssuesGetResult",
611
- type: {
612
- name: "Composite",
613
- className: "EmergingIssuesGetResult",
614
- modelProperties: {
615
- ...Resource.type.modelProperties,
616
- refreshTimestamp: {
617
- serializedName: "properties.refreshTimestamp",
618
- type: {
619
- name: "DateTime"
620
- }
621
- },
622
- statusBanners: {
623
- serializedName: "properties.statusBanners",
624
- type: {
625
- name: "Sequence",
626
- element: {
627
- type: {
628
- name: "Composite",
629
- className: "StatusBanner"
630
- }
631
- }
632
- }
633
- },
634
- statusActiveEvents: {
635
- serializedName: "properties.statusActiveEvents",
574
+ regions: {
575
+ serializedName: "regions",
636
576
  type: {
637
577
  name: "Sequence",
638
578
  element: {
639
579
  type: {
640
580
  name: "Composite",
641
- className: "StatusActiveEvent"
581
+ className: "ImpactedRegion"
642
582
  }
643
583
  }
644
584
  }
@@ -647,29 +587,19 @@ export const EmergingIssuesGetResult: msRest.CompositeMapper = {
647
587
  }
648
588
  };
649
589
 
650
- export const ErrorResponse: msRest.CompositeMapper = {
651
- serializedName: "ErrorResponse",
590
+ export const ImpactedRegion: coreClient.CompositeMapper = {
652
591
  type: {
653
592
  name: "Composite",
654
- className: "ErrorResponse",
593
+ className: "ImpactedRegion",
655
594
  modelProperties: {
656
- code: {
657
- readOnly: true,
658
- serializedName: "code",
659
- type: {
660
- name: "String"
661
- }
662
- },
663
- message: {
664
- readOnly: true,
665
- serializedName: "message",
595
+ id: {
596
+ serializedName: "id",
666
597
  type: {
667
598
  name: "String"
668
599
  }
669
600
  },
670
- details: {
671
- readOnly: true,
672
- serializedName: "details",
601
+ name: {
602
+ serializedName: "name",
673
603
  type: {
674
604
  name: "String"
675
605
  }
@@ -678,56 +608,28 @@ export const ErrorResponse: msRest.CompositeMapper = {
678
608
  }
679
609
  };
680
610
 
681
- export const ProxyResource: msRest.CompositeMapper = {
682
- serializedName: "ProxyResource",
683
- type: {
684
- name: "Composite",
685
- className: "ProxyResource",
686
- modelProperties: {
687
- ...Resource.type.modelProperties
688
- }
689
- }
690
- };
691
-
692
- export const TrackedResource: msRest.CompositeMapper = {
693
- serializedName: "TrackedResource",
611
+ export const Resource: coreClient.CompositeMapper = {
694
612
  type: {
695
613
  name: "Composite",
696
- className: "TrackedResource",
614
+ className: "Resource",
697
615
  modelProperties: {
698
- ...Resource.type.modelProperties,
699
- tags: {
700
- serializedName: "tags",
616
+ id: {
617
+ serializedName: "id",
618
+ readOnly: true,
701
619
  type: {
702
- name: "Dictionary",
703
- value: {
704
- type: {
705
- name: "String"
706
- }
707
- }
620
+ name: "String"
708
621
  }
709
622
  },
710
- location: {
711
- required: true,
712
- serializedName: "location",
623
+ name: {
624
+ serializedName: "name",
625
+ readOnly: true,
713
626
  type: {
714
627
  name: "String"
715
628
  }
716
- }
717
- }
718
- }
719
- };
720
-
721
- export const AzureEntityResource: msRest.CompositeMapper = {
722
- serializedName: "AzureEntityResource",
723
- type: {
724
- name: "Composite",
725
- className: "AzureEntityResource",
726
- modelProperties: {
727
- ...Resource.type.modelProperties,
728
- etag: {
629
+ },
630
+ type: {
631
+ serializedName: "type",
729
632
  readOnly: true,
730
- serializedName: "etag",
731
633
  type: {
732
634
  name: "String"
733
635
  }
@@ -736,21 +638,19 @@ export const AzureEntityResource: msRest.CompositeMapper = {
736
638
  }
737
639
  };
738
640
 
739
- export const AvailabilityStatusListResult: msRest.CompositeMapper = {
740
- serializedName: "availabilityStatusListResult",
641
+ export const EmergingIssueListResult: coreClient.CompositeMapper = {
741
642
  type: {
742
643
  name: "Composite",
743
- className: "AvailabilityStatusListResult",
644
+ className: "EmergingIssueListResult",
744
645
  modelProperties: {
745
646
  value: {
746
- required: true,
747
- serializedName: "",
647
+ serializedName: "value",
748
648
  type: {
749
649
  name: "Sequence",
750
650
  element: {
751
651
  type: {
752
652
  name: "Composite",
753
- className: "AvailabilityStatus"
653
+ className: "EmergingIssuesGetResult"
754
654
  }
755
655
  }
756
656
  }
@@ -765,28 +665,40 @@ export const AvailabilityStatusListResult: msRest.CompositeMapper = {
765
665
  }
766
666
  };
767
667
 
768
- export const EmergingIssueListResult: msRest.CompositeMapper = {
769
- serializedName: "emergingIssueListResult",
668
+ export const EmergingIssuesGetResult: coreClient.CompositeMapper = {
770
669
  type: {
771
670
  name: "Composite",
772
- className: "EmergingIssueListResult",
671
+ className: "EmergingIssuesGetResult",
773
672
  modelProperties: {
774
- value: {
775
- serializedName: "",
673
+ ...Resource.type.modelProperties,
674
+ refreshTimestamp: {
675
+ serializedName: "properties.refreshTimestamp",
676
+ type: {
677
+ name: "DateTime"
678
+ }
679
+ },
680
+ statusBanners: {
681
+ serializedName: "properties.statusBanners",
776
682
  type: {
777
683
  name: "Sequence",
778
684
  element: {
779
685
  type: {
780
686
  name: "Composite",
781
- className: "EmergingIssuesGetResult"
687
+ className: "StatusBanner"
782
688
  }
783
689
  }
784
690
  }
785
691
  },
786
- nextLink: {
787
- serializedName: "nextLink",
692
+ statusActiveEvents: {
693
+ serializedName: "properties.statusActiveEvents",
788
694
  type: {
789
- name: "String"
695
+ name: "Sequence",
696
+ element: {
697
+ type: {
698
+ name: "Composite",
699
+ className: "StatusActiveEvent"
700
+ }
701
+ }
790
702
  }
791
703
  }
792
704
  }