@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
@@ -1,957 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * An annotation describing a change in the availabilityState to Available from Unavailable with a
6
- * reasonType of type Unplanned
7
- */
8
- export interface AvailabilityStatusPropertiesRecentlyResolvedState {
9
- /**
10
- * Timestamp for when the availabilityState changed to Unavailable
11
- */
12
- unavailableOccurredTime?: Date;
13
- /**
14
- * Timestamp when the availabilityState changes to Available.
15
- */
16
- resolvedTime?: Date;
17
- /**
18
- * Brief description of cause of the resource becoming unavailable.
19
- */
20
- unavailabilitySummary?: string;
21
- }
22
- /**
23
- * Lists actions the user can take based on the current availabilityState of the resource.
24
- */
25
- export interface RecommendedAction {
26
- /**
27
- * Recommended action.
28
- */
29
- action?: string;
30
- /**
31
- * Link to the action
32
- */
33
- actionUrl?: string;
34
- /**
35
- * Substring of action, it describes which text should host the action url.
36
- */
37
- actionUrlText?: string;
38
- }
39
- /**
40
- * Status of the service impacting event.
41
- */
42
- export interface ServiceImpactingEventStatus {
43
- /**
44
- * Current status of the event
45
- */
46
- value?: string;
47
- }
48
- /**
49
- * Properties of the service impacting event.
50
- */
51
- export interface ServiceImpactingEventIncidentProperties {
52
- /**
53
- * Title of the incident.
54
- */
55
- title?: string;
56
- /**
57
- * Service impacted by the event.
58
- */
59
- service?: string;
60
- /**
61
- * Region impacted by the event.
62
- */
63
- region?: string;
64
- /**
65
- * Type of Event.
66
- */
67
- incidentType?: string;
68
- }
69
- /**
70
- * Lists the service impacting events that may be affecting the health of the resource.
71
- */
72
- export interface ServiceImpactingEvent {
73
- /**
74
- * Timestamp for when the event started.
75
- */
76
- eventStartTime?: Date;
77
- /**
78
- * Timestamp for when event was submitted/detected.
79
- */
80
- eventStatusLastModifiedTime?: Date;
81
- /**
82
- * Correlation id for the event
83
- */
84
- correlationId?: string;
85
- /**
86
- * Status of the service impacting event.
87
- */
88
- status?: ServiceImpactingEventStatus;
89
- /**
90
- * Properties of the service impacting event.
91
- */
92
- incidentProperties?: ServiceImpactingEventIncidentProperties;
93
- }
94
- /**
95
- * Properties of availability state.
96
- */
97
- export interface AvailabilityStatusProperties {
98
- /**
99
- * Availability status of the resource. When it is null, this availabilityStatus object
100
- * represents an availability impacting event. Possible values include: 'Available',
101
- * 'Unavailable', 'Unknown'
102
- */
103
- availabilityState?: AvailabilityStateValues;
104
- /**
105
- * Summary description of the availability status.
106
- */
107
- summary?: string;
108
- /**
109
- * Details of the availability status.
110
- */
111
- detailedStatus?: string;
112
- /**
113
- * When the resource's availabilityState is Unavailable, it describes where the health impacting
114
- * event was originated. Examples are planned, unplanned, user initiated or an outage etc.
115
- */
116
- reasonType?: string;
117
- /**
118
- * When the resource's availabilityState is Unavailable, it provides the Timestamp for when the
119
- * health impacting event was received.
120
- */
121
- rootCauseAttributionTime?: Date;
122
- /**
123
- * In case of an availability impacting event, it describes when the health impacting event was
124
- * originated. Examples are Lifecycle, Downtime, Fault Analysis etc.
125
- */
126
- healthEventType?: string;
127
- /**
128
- * In case of an availability impacting event, it describes where the health impacting event was
129
- * originated. Examples are PlatformInitiated, UserInitiated etc.
130
- */
131
- healthEventCause?: string;
132
- /**
133
- * In case of an availability impacting event, it describes the category of a PlatformInitiated
134
- * health impacting event. Examples are Planned, Unplanned etc.
135
- */
136
- healthEventCategory?: string;
137
- /**
138
- * It is a unique Id that identifies the event
139
- */
140
- healthEventId?: string;
141
- /**
142
- * When the resource's availabilityState is Unavailable and the reasonType is not User Initiated,
143
- * it provides the date and time for when the issue is expected to be resolved.
144
- */
145
- resolutionETA?: Date;
146
- /**
147
- * Timestamp for when last change in health status occurred.
148
- */
149
- occuredTime?: Date;
150
- /**
151
- * Chronicity of the availability transition. Possible values include: 'Transient', 'Persistent'
152
- */
153
- reasonChronicity?: ReasonChronicityTypes;
154
- /**
155
- * Timestamp for when the health was last checked.
156
- */
157
- reportedTime?: Date;
158
- /**
159
- * An annotation describing a change in the availabilityState to Available from Unavailable with
160
- * a reasonType of type Unplanned
161
- */
162
- recentlyResolvedState?: AvailabilityStatusPropertiesRecentlyResolvedState;
163
- /**
164
- * Lists actions the user can take based on the current availabilityState of the resource.
165
- */
166
- recommendedActions?: RecommendedAction[];
167
- /**
168
- * Lists the service impacting events that may be affecting the health of the resource.
169
- */
170
- serviceImpactingEvents?: ServiceImpactingEvent[];
171
- }
172
- /**
173
- * availabilityStatus of a resource.
174
- */
175
- export interface AvailabilityStatus {
176
- /**
177
- * Azure Resource Manager Identity for the availabilityStatuses resource.
178
- */
179
- id?: string;
180
- /**
181
- * current.
182
- */
183
- name?: string;
184
- /**
185
- * Microsoft.ResourceHealth/AvailabilityStatuses.
186
- */
187
- type?: string;
188
- /**
189
- * Azure Resource Manager geo location of the resource.
190
- */
191
- location?: string;
192
- /**
193
- * Properties of availability state.
194
- */
195
- properties?: AvailabilityStatusProperties;
196
- }
197
- /**
198
- * Properties of the operation.
199
- */
200
- export interface OperationDisplay {
201
- /**
202
- * Provider name.
203
- */
204
- provider?: string;
205
- /**
206
- * Resource name.
207
- */
208
- resource?: string;
209
- /**
210
- * Operation name.
211
- */
212
- operation?: string;
213
- /**
214
- * Description of the operation.
215
- */
216
- description?: string;
217
- }
218
- /**
219
- * Operation available in the resourcehealth resource provider.
220
- */
221
- export interface Operation {
222
- /**
223
- * Name of the operation.
224
- */
225
- name?: string;
226
- /**
227
- * Properties of the operation.
228
- */
229
- display?: OperationDisplay;
230
- }
231
- /**
232
- * Lists the operations response.
233
- */
234
- export interface OperationListResult {
235
- /**
236
- * List of operations available in the resourcehealth resource provider.
237
- */
238
- value: Operation[];
239
- }
240
- /**
241
- * Banner type of emerging issue.
242
- */
243
- export interface StatusBanner {
244
- /**
245
- * The banner title.
246
- */
247
- title?: string;
248
- /**
249
- * The details of banner.
250
- */
251
- message?: string;
252
- /**
253
- * The cloud type of this banner.
254
- */
255
- cloud?: string;
256
- /**
257
- * The last time modified on this banner.
258
- */
259
- lastModifiedTime?: Date;
260
- }
261
- /**
262
- * Object of impacted region.
263
- */
264
- export interface ImpactedRegion {
265
- /**
266
- * The impacted region id.
267
- */
268
- id?: string;
269
- /**
270
- * The impacted region name.
271
- */
272
- name?: string;
273
- }
274
- /**
275
- * Object of the emerging issue impact on services and regions.
276
- */
277
- export interface EmergingIssueImpact {
278
- /**
279
- * The impacted service id.
280
- */
281
- id?: string;
282
- /**
283
- * The impacted service name.
284
- */
285
- name?: string;
286
- /**
287
- * The list of impacted regions for corresponding emerging issues.
288
- */
289
- regions?: ImpactedRegion[];
290
- }
291
- /**
292
- * Active event type of emerging issue.
293
- */
294
- export interface StatusActiveEvent {
295
- /**
296
- * The active event title.
297
- */
298
- title?: string;
299
- /**
300
- * The details of active event.
301
- */
302
- description?: string;
303
- /**
304
- * The tracking id of this active event.
305
- */
306
- trackingId?: string;
307
- /**
308
- * The impact start time on this active event.
309
- */
310
- startTime?: Date;
311
- /**
312
- * The cloud type of this active event.
313
- */
314
- cloud?: string;
315
- /**
316
- * The severity level of this active event. Possible values include: 'Information', 'Warning',
317
- * 'Error'
318
- */
319
- severity?: SeverityValues;
320
- /**
321
- * The stage of this active event. Possible values include: 'Active', 'Resolve', 'Archived'
322
- */
323
- stage?: StageValues;
324
- /**
325
- * The boolean value of this active event if published or not.
326
- */
327
- published?: boolean;
328
- /**
329
- * The last time modified on this banner.
330
- */
331
- lastModifiedTime?: Date;
332
- /**
333
- * The list of emerging issues impacts.
334
- */
335
- impacts?: EmergingIssueImpact[];
336
- }
337
- /**
338
- * Common fields that are returned in the response for all Azure Resource Manager resources
339
- * @summary Resource
340
- */
341
- export interface Resource extends BaseResource {
342
- /**
343
- * Fully qualified resource ID for the resource. Ex -
344
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
345
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
346
- */
347
- readonly id?: string;
348
- /**
349
- * The name of the resource
350
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
351
- */
352
- readonly name?: string;
353
- /**
354
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
355
- * "Microsoft.Storage/storageAccounts"
356
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
357
- */
358
- readonly type?: string;
359
- }
360
- /**
361
- * The Get EmergingIssues operation response.
362
- */
363
- export interface EmergingIssuesGetResult extends Resource {
364
- /**
365
- * Timestamp for when last time refreshed for ongoing emerging issue.
366
- */
367
- refreshTimestamp?: Date;
368
- /**
369
- * The list of emerging issues of banner type.
370
- */
371
- statusBanners?: StatusBanner[];
372
- /**
373
- * The list of emerging issues of active event type.
374
- */
375
- statusActiveEvents?: StatusActiveEvent[];
376
- }
377
- /**
378
- * Error details.
379
- */
380
- export interface ErrorResponse {
381
- /**
382
- * The error code.
383
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
384
- */
385
- readonly code?: string;
386
- /**
387
- * The error message.
388
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
389
- */
390
- readonly message?: string;
391
- /**
392
- * The error details.
393
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
394
- */
395
- readonly details?: string;
396
- }
397
- /**
398
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
399
- * and a location
400
- * @summary Proxy Resource
401
- */
402
- export interface ProxyResource extends Resource {
403
- }
404
- /**
405
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
406
- * 'tags' and a 'location'
407
- * @summary Tracked Resource
408
- */
409
- export interface TrackedResource extends Resource {
410
- /**
411
- * Resource tags.
412
- */
413
- tags?: {
414
- [propertyName: string]: string;
415
- };
416
- /**
417
- * The geo-location where the resource lives
418
- */
419
- location: string;
420
- }
421
- /**
422
- * The resource model definition for an Azure Resource Manager resource with an etag.
423
- * @summary Entity Resource
424
- */
425
- export interface AzureEntityResource extends Resource {
426
- /**
427
- * Resource Etag.
428
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
429
- */
430
- readonly etag?: string;
431
- }
432
- /**
433
- * Optional Parameters.
434
- */
435
- export interface AvailabilityStatusesListBySubscriptionIdOptionalParams extends msRest.RequestOptionsBase {
436
- /**
437
- * The filter to apply on the operation. For more information please see
438
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
439
- */
440
- filter?: string;
441
- /**
442
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
443
- * response.
444
- */
445
- expand?: string;
446
- }
447
- /**
448
- * Optional Parameters.
449
- */
450
- export interface AvailabilityStatusesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
451
- /**
452
- * The filter to apply on the operation. For more information please see
453
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
454
- */
455
- filter?: string;
456
- /**
457
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
458
- * response.
459
- */
460
- expand?: string;
461
- }
462
- /**
463
- * Optional Parameters.
464
- */
465
- export interface AvailabilityStatusesGetByResourceOptionalParams extends msRest.RequestOptionsBase {
466
- /**
467
- * The filter to apply on the operation. For more information please see
468
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
469
- */
470
- filter?: string;
471
- /**
472
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
473
- * response.
474
- */
475
- expand?: string;
476
- }
477
- /**
478
- * Optional Parameters.
479
- */
480
- export interface AvailabilityStatusesListOptionalParams extends msRest.RequestOptionsBase {
481
- /**
482
- * The filter to apply on the operation. For more information please see
483
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
484
- */
485
- filter?: string;
486
- /**
487
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
488
- * response.
489
- */
490
- expand?: string;
491
- }
492
- /**
493
- * Optional Parameters.
494
- */
495
- export interface AvailabilityStatusesListBySubscriptionIdNextOptionalParams extends msRest.RequestOptionsBase {
496
- /**
497
- * The filter to apply on the operation. For more information please see
498
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
499
- */
500
- filter?: string;
501
- /**
502
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
503
- * response.
504
- */
505
- expand?: string;
506
- }
507
- /**
508
- * Optional Parameters.
509
- */
510
- export interface AvailabilityStatusesListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase {
511
- /**
512
- * The filter to apply on the operation. For more information please see
513
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
514
- */
515
- filter?: string;
516
- /**
517
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
518
- * response.
519
- */
520
- expand?: string;
521
- }
522
- /**
523
- * Optional Parameters.
524
- */
525
- export interface AvailabilityStatusesListNextOptionalParams extends msRest.RequestOptionsBase {
526
- /**
527
- * The filter to apply on the operation. For more information please see
528
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
529
- */
530
- filter?: string;
531
- /**
532
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
533
- * response.
534
- */
535
- expand?: string;
536
- }
537
- /**
538
- * Optional Parameters.
539
- */
540
- export interface ChildAvailabilityStatusesGetByResourceOptionalParams extends msRest.RequestOptionsBase {
541
- /**
542
- * The filter to apply on the operation. For more information please see
543
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
544
- */
545
- filter?: string;
546
- /**
547
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
548
- * response.
549
- */
550
- expand?: string;
551
- }
552
- /**
553
- * Optional Parameters.
554
- */
555
- export interface ChildAvailabilityStatusesListOptionalParams extends msRest.RequestOptionsBase {
556
- /**
557
- * The filter to apply on the operation. For more information please see
558
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
559
- */
560
- filter?: string;
561
- /**
562
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
563
- * response.
564
- */
565
- expand?: string;
566
- }
567
- /**
568
- * Optional Parameters.
569
- */
570
- export interface ChildAvailabilityStatusesListNextOptionalParams extends msRest.RequestOptionsBase {
571
- /**
572
- * The filter to apply on the operation. For more information please see
573
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
574
- */
575
- filter?: string;
576
- /**
577
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
578
- * response.
579
- */
580
- expand?: string;
581
- }
582
- /**
583
- * Optional Parameters.
584
- */
585
- export interface ChildResourcesListOptionalParams extends msRest.RequestOptionsBase {
586
- /**
587
- * The filter to apply on the operation. For more information please see
588
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
589
- */
590
- filter?: string;
591
- /**
592
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
593
- * response.
594
- */
595
- expand?: string;
596
- }
597
- /**
598
- * Optional Parameters.
599
- */
600
- export interface ChildResourcesListNextOptionalParams extends msRest.RequestOptionsBase {
601
- /**
602
- * The filter to apply on the operation. For more information please see
603
- * https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
604
- */
605
- filter?: string;
606
- /**
607
- * Setting $expand=recommendedactions in url query expands the recommendedactions in the
608
- * response.
609
- */
610
- expand?: string;
611
- }
612
- /**
613
- * An interface representing MicrosoftResourceHealthOptions.
614
- */
615
- export interface MicrosoftResourceHealthOptions extends AzureServiceClientOptions {
616
- baseUri?: string;
617
- }
618
- /**
619
- * @interface
620
- * The List availabilityStatus operation response.
621
- * @extends Array<AvailabilityStatus>
622
- */
623
- export interface AvailabilityStatusListResult extends Array<AvailabilityStatus> {
624
- /**
625
- * The URI to fetch the next page of availabilityStatuses. Call ListNext() with this URI to fetch
626
- * the next page of availabilityStatuses.
627
- */
628
- nextLink?: string;
629
- }
630
- /**
631
- * @interface
632
- * The list of emerging issues.
633
- * @extends Array<EmergingIssuesGetResult>
634
- */
635
- export interface EmergingIssueListResult extends Array<EmergingIssuesGetResult> {
636
- /**
637
- * The link used to get the next page of emerging issues.
638
- */
639
- nextLink?: string;
640
- }
641
- /**
642
- * Defines values for AvailabilityStateValues.
643
- * Possible values include: 'Available', 'Unavailable', 'Unknown'
644
- * @readonly
645
- * @enum {string}
646
- */
647
- export declare type AvailabilityStateValues = 'Available' | 'Unavailable' | 'Unknown';
648
- /**
649
- * Defines values for ReasonChronicityTypes.
650
- * Possible values include: 'Transient', 'Persistent'
651
- * @readonly
652
- * @enum {string}
653
- */
654
- export declare type ReasonChronicityTypes = 'Transient' | 'Persistent';
655
- /**
656
- * Defines values for SeverityValues.
657
- * Possible values include: 'Information', 'Warning', 'Error'
658
- * @readonly
659
- * @enum {string}
660
- */
661
- export declare type SeverityValues = 'Information' | 'Warning' | 'Error';
662
- /**
663
- * Defines values for StageValues.
664
- * Possible values include: 'Active', 'Resolve', 'Archived'
665
- * @readonly
666
- * @enum {string}
667
- */
668
- export declare type StageValues = 'Active' | 'Resolve' | 'Archived';
669
- /**
670
- * Contains response data for the listBySubscriptionId operation.
671
- */
672
- export declare type AvailabilityStatusesListBySubscriptionIdResponse = AvailabilityStatusListResult & {
673
- /**
674
- * The underlying HTTP response.
675
- */
676
- _response: msRest.HttpResponse & {
677
- /**
678
- * The response body as text (string format)
679
- */
680
- bodyAsText: string;
681
- /**
682
- * The response body as parsed JSON or XML
683
- */
684
- parsedBody: AvailabilityStatusListResult;
685
- };
686
- };
687
- /**
688
- * Contains response data for the listByResourceGroup operation.
689
- */
690
- export declare type AvailabilityStatusesListByResourceGroupResponse = AvailabilityStatusListResult & {
691
- /**
692
- * The underlying HTTP response.
693
- */
694
- _response: msRest.HttpResponse & {
695
- /**
696
- * The response body as text (string format)
697
- */
698
- bodyAsText: string;
699
- /**
700
- * The response body as parsed JSON or XML
701
- */
702
- parsedBody: AvailabilityStatusListResult;
703
- };
704
- };
705
- /**
706
- * Contains response data for the getByResource operation.
707
- */
708
- export declare type AvailabilityStatusesGetByResourceResponse = AvailabilityStatus & {
709
- /**
710
- * The underlying HTTP response.
711
- */
712
- _response: msRest.HttpResponse & {
713
- /**
714
- * The response body as text (string format)
715
- */
716
- bodyAsText: string;
717
- /**
718
- * The response body as parsed JSON or XML
719
- */
720
- parsedBody: AvailabilityStatus;
721
- };
722
- };
723
- /**
724
- * Contains response data for the list operation.
725
- */
726
- export declare type AvailabilityStatusesListResponse = AvailabilityStatusListResult & {
727
- /**
728
- * The underlying HTTP response.
729
- */
730
- _response: msRest.HttpResponse & {
731
- /**
732
- * The response body as text (string format)
733
- */
734
- bodyAsText: string;
735
- /**
736
- * The response body as parsed JSON or XML
737
- */
738
- parsedBody: AvailabilityStatusListResult;
739
- };
740
- };
741
- /**
742
- * Contains response data for the listBySubscriptionIdNext operation.
743
- */
744
- export declare type AvailabilityStatusesListBySubscriptionIdNextResponse = AvailabilityStatusListResult & {
745
- /**
746
- * The underlying HTTP response.
747
- */
748
- _response: msRest.HttpResponse & {
749
- /**
750
- * The response body as text (string format)
751
- */
752
- bodyAsText: string;
753
- /**
754
- * The response body as parsed JSON or XML
755
- */
756
- parsedBody: AvailabilityStatusListResult;
757
- };
758
- };
759
- /**
760
- * Contains response data for the listByResourceGroupNext operation.
761
- */
762
- export declare type AvailabilityStatusesListByResourceGroupNextResponse = AvailabilityStatusListResult & {
763
- /**
764
- * The underlying HTTP response.
765
- */
766
- _response: msRest.HttpResponse & {
767
- /**
768
- * The response body as text (string format)
769
- */
770
- bodyAsText: string;
771
- /**
772
- * The response body as parsed JSON or XML
773
- */
774
- parsedBody: AvailabilityStatusListResult;
775
- };
776
- };
777
- /**
778
- * Contains response data for the listNext operation.
779
- */
780
- export declare type AvailabilityStatusesListNextResponse = AvailabilityStatusListResult & {
781
- /**
782
- * The underlying HTTP response.
783
- */
784
- _response: msRest.HttpResponse & {
785
- /**
786
- * The response body as text (string format)
787
- */
788
- bodyAsText: string;
789
- /**
790
- * The response body as parsed JSON or XML
791
- */
792
- parsedBody: AvailabilityStatusListResult;
793
- };
794
- };
795
- /**
796
- * Contains response data for the getByResource operation.
797
- */
798
- export declare type ChildAvailabilityStatusesGetByResourceResponse = AvailabilityStatus & {
799
- /**
800
- * The underlying HTTP response.
801
- */
802
- _response: msRest.HttpResponse & {
803
- /**
804
- * The response body as text (string format)
805
- */
806
- bodyAsText: string;
807
- /**
808
- * The response body as parsed JSON or XML
809
- */
810
- parsedBody: AvailabilityStatus;
811
- };
812
- };
813
- /**
814
- * Contains response data for the list operation.
815
- */
816
- export declare type ChildAvailabilityStatusesListResponse = AvailabilityStatusListResult & {
817
- /**
818
- * The underlying HTTP response.
819
- */
820
- _response: msRest.HttpResponse & {
821
- /**
822
- * The response body as text (string format)
823
- */
824
- bodyAsText: string;
825
- /**
826
- * The response body as parsed JSON or XML
827
- */
828
- parsedBody: AvailabilityStatusListResult;
829
- };
830
- };
831
- /**
832
- * Contains response data for the listNext operation.
833
- */
834
- export declare type ChildAvailabilityStatusesListNextResponse = AvailabilityStatusListResult & {
835
- /**
836
- * The underlying HTTP response.
837
- */
838
- _response: msRest.HttpResponse & {
839
- /**
840
- * The response body as text (string format)
841
- */
842
- bodyAsText: string;
843
- /**
844
- * The response body as parsed JSON or XML
845
- */
846
- parsedBody: AvailabilityStatusListResult;
847
- };
848
- };
849
- /**
850
- * Contains response data for the list operation.
851
- */
852
- export declare type ChildResourcesListResponse = AvailabilityStatusListResult & {
853
- /**
854
- * The underlying HTTP response.
855
- */
856
- _response: msRest.HttpResponse & {
857
- /**
858
- * The response body as text (string format)
859
- */
860
- bodyAsText: string;
861
- /**
862
- * The response body as parsed JSON or XML
863
- */
864
- parsedBody: AvailabilityStatusListResult;
865
- };
866
- };
867
- /**
868
- * Contains response data for the listNext operation.
869
- */
870
- export declare type ChildResourcesListNextResponse = AvailabilityStatusListResult & {
871
- /**
872
- * The underlying HTTP response.
873
- */
874
- _response: msRest.HttpResponse & {
875
- /**
876
- * The response body as text (string format)
877
- */
878
- bodyAsText: string;
879
- /**
880
- * The response body as parsed JSON or XML
881
- */
882
- parsedBody: AvailabilityStatusListResult;
883
- };
884
- };
885
- /**
886
- * Contains response data for the list operation.
887
- */
888
- export declare type OperationsListResponse = OperationListResult & {
889
- /**
890
- * The underlying HTTP response.
891
- */
892
- _response: msRest.HttpResponse & {
893
- /**
894
- * The response body as text (string format)
895
- */
896
- bodyAsText: string;
897
- /**
898
- * The response body as parsed JSON or XML
899
- */
900
- parsedBody: OperationListResult;
901
- };
902
- };
903
- /**
904
- * Contains response data for the get operation.
905
- */
906
- export declare type EmergingIssuesGetResponse = EmergingIssuesGetResult & {
907
- /**
908
- * The underlying HTTP response.
909
- */
910
- _response: msRest.HttpResponse & {
911
- /**
912
- * The response body as text (string format)
913
- */
914
- bodyAsText: string;
915
- /**
916
- * The response body as parsed JSON or XML
917
- */
918
- parsedBody: EmergingIssuesGetResult;
919
- };
920
- };
921
- /**
922
- * Contains response data for the list operation.
923
- */
924
- export declare type EmergingIssuesListResponse = EmergingIssueListResult & {
925
- /**
926
- * The underlying HTTP response.
927
- */
928
- _response: msRest.HttpResponse & {
929
- /**
930
- * The response body as text (string format)
931
- */
932
- bodyAsText: string;
933
- /**
934
- * The response body as parsed JSON or XML
935
- */
936
- parsedBody: EmergingIssueListResult;
937
- };
938
- };
939
- /**
940
- * Contains response data for the listNext operation.
941
- */
942
- export declare type EmergingIssuesListNextResponse = EmergingIssueListResult & {
943
- /**
944
- * The underlying HTTP response.
945
- */
946
- _response: msRest.HttpResponse & {
947
- /**
948
- * The response body as text (string format)
949
- */
950
- bodyAsText: string;
951
- /**
952
- * The response body as parsed JSON or XML
953
- */
954
- parsedBody: EmergingIssueListResult;
955
- };
956
- };
957
- //# sourceMappingURL=index.d.ts.map