@azure/arm-resourcehealth 1.1.0 → 3.0.0-alpha.20211124.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +21 -21
  3. package/README.md +98 -100
  4. package/dist/index.js +1811 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +6 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +13 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/microsoftResourceHealth.d.ts +20 -0
  13. package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -0
  14. package/dist-esm/src/microsoftResourceHealth.js +27 -0
  15. package/dist-esm/src/microsoftResourceHealth.js.map +1 -0
  16. package/dist-esm/src/microsoftResourceHealthContext.d.ts +17 -0
  17. package/dist-esm/src/microsoftResourceHealthContext.d.ts.map +1 -0
  18. package/dist-esm/src/microsoftResourceHealthContext.js +50 -0
  19. package/dist-esm/src/microsoftResourceHealthContext.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +402 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +22 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +21 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +393 -170
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +12 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/parameters.js +52 -36
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/availabilityStatuses.d.ts +102 -0
  33. package/dist-esm/src/operations/availabilityStatuses.d.ts.map +1 -0
  34. package/dist-esm/src/operations/availabilityStatuses.js +407 -0
  35. package/dist-esm/src/operations/availabilityStatuses.js.map +1 -0
  36. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts +51 -0
  37. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts.map +1 -0
  38. package/dist-esm/src/operations/childAvailabilityStatuses.js +173 -0
  39. package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -0
  40. package/dist-esm/src/operations/childResources.d.ts +43 -0
  41. package/dist-esm/src/operations/childResources.d.ts.map +1 -0
  42. package/dist-esm/src/operations/childResources.js +143 -0
  43. package/dist-esm/src/operations/childResources.js.map +1 -0
  44. package/dist-esm/src/operations/emergingIssues.d.ts +37 -0
  45. package/dist-esm/src/operations/emergingIssues.d.ts.map +1 -0
  46. package/dist-esm/src/operations/emergingIssues.js +143 -0
  47. package/dist-esm/src/operations/emergingIssues.js.map +1 -0
  48. package/dist-esm/src/operations/index.d.ts +6 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +13 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/operations.d.ts +18 -0
  53. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/operations.js +46 -0
  55. package/dist-esm/src/operations/operations.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts +40 -0
  57. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/availabilityStatuses.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/availabilityStatuses.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
  61. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/childResources.d.ts +15 -0
  65. package/dist-esm/src/operationsInterfaces/childResources.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/childResources.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/childResources.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts +16 -0
  69. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/emergingIssues.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/emergingIssues.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  73. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  75. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
  77. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +69 -25
  85. package/review/arm-resourcehealth.api.md +396 -0
  86. package/rollup.config.js +184 -27
  87. package/src/index.ts +13 -0
  88. package/src/microsoftResourceHealth.ts +53 -0
  89. package/src/microsoftResourceHealthContext.ts +71 -0
  90. package/src/models/index.ts +478 -0
  91. package/{lib → src}/models/mappers.ts +409 -175
  92. package/src/models/parameters.ts +127 -0
  93. package/src/operations/availabilityStatuses.ts +479 -0
  94. package/src/operations/childAvailabilityStatuses.ts +210 -0
  95. package/src/operations/childResources.ts +168 -0
  96. package/src/operations/emergingIssues.ts +165 -0
  97. package/src/operations/index.ts +13 -0
  98. package/src/operations/operations.ts +59 -0
  99. package/src/operationsInterfaces/availabilityStatuses.ts +67 -0
  100. package/src/operationsInterfaces/childAvailabilityStatuses.ts +43 -0
  101. package/src/operationsInterfaces/childResources.ts +30 -0
  102. package/src/operationsInterfaces/emergingIssues.ts +34 -0
  103. package/src/operationsInterfaces/index.ts +13 -0
  104. package/src/operationsInterfaces/operations.ts +21 -0
  105. package/tsconfig.json +4 -4
  106. package/types/arm-resourcehealth.d.ts +588 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-resourcehealth.js +0 -1037
  109. package/dist/arm-resourcehealth.js.map +0 -1
  110. package/dist/arm-resourcehealth.min.js +0 -1
  111. package/dist/arm-resourcehealth.min.js.map +0 -1
  112. package/esm/microsoftResourceHealth.d.ts +0 -20
  113. package/esm/microsoftResourceHealth.d.ts.map +0 -1
  114. package/esm/microsoftResourceHealth.js +0 -35
  115. package/esm/microsoftResourceHealth.js.map +0 -1
  116. package/esm/microsoftResourceHealthContext.d.ts +0 -17
  117. package/esm/microsoftResourceHealthContext.d.ts.map +0 -1
  118. package/esm/microsoftResourceHealthContext.js +0 -57
  119. package/esm/microsoftResourceHealthContext.js.map +0 -1
  120. package/esm/models/availabilityStatusesMappers.d.ts +0 -2
  121. package/esm/models/availabilityStatusesMappers.d.ts.map +0 -1
  122. package/esm/models/availabilityStatusesMappers.js +0 -11
  123. package/esm/models/availabilityStatusesMappers.js.map +0 -1
  124. package/esm/models/index.d.ts +0 -589
  125. package/esm/models/index.d.ts.map +0 -1
  126. package/esm/models/index.js +0 -10
  127. package/esm/models/index.js.map +0 -1
  128. package/esm/models/mappers.d.ts +0 -16
  129. package/esm/models/mappers.d.ts.map +0 -1
  130. package/esm/models/mappers.js.map +0 -1
  131. package/esm/models/operationsMappers.d.ts +0 -2
  132. package/esm/models/operationsMappers.d.ts.map +0 -1
  133. package/esm/models/operationsMappers.js +0 -11
  134. package/esm/models/operationsMappers.js.map +0 -1
  135. package/esm/models/parameters.d.ts +0 -10
  136. package/esm/models/parameters.d.ts.map +0 -1
  137. package/esm/models/parameters.js.map +0 -1
  138. package/esm/operations/availabilityStatuses.d.ts +0 -166
  139. package/esm/operations/availabilityStatuses.d.ts.map +0 -1
  140. package/esm/operations/availabilityStatuses.js +0 -225
  141. package/esm/operations/availabilityStatuses.js.map +0 -1
  142. package/esm/operations/index.d.ts +0 -3
  143. package/esm/operations/index.d.ts.map +0 -1
  144. package/esm/operations/index.js +0 -12
  145. package/esm/operations/index.js.map +0 -1
  146. package/esm/operations/operations.d.ts +0 -28
  147. package/esm/operations/operations.d.ts.map +0 -1
  148. package/esm/operations/operations.js +0 -51
  149. package/esm/operations/operations.js.map +0 -1
  150. package/lib/microsoftResourceHealth.ts +0 -45
  151. package/lib/microsoftResourceHealthContext.ts +0 -63
  152. package/lib/models/availabilityStatusesMappers.ts +0 -22
  153. package/lib/models/index.ts +0 -628
  154. package/lib/models/operationsMappers.ts +0 -17
  155. package/lib/models/parameters.ts +0 -98
  156. package/lib/operations/availabilityStatuses.ts +0 -416
  157. package/lib/operations/index.ts +0 -12
  158. package/lib/operations/operations.ts +0 -74
@@ -0,0 +1,478 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import * as coreClient from "@azure/core-client";
10
+
11
+ /** The List availabilityStatus operation response. */
12
+ export interface AvailabilityStatusListResult {
13
+ /** The list of availabilityStatuses. */
14
+ value: AvailabilityStatus[];
15
+ /** The URI to fetch the next page of availabilityStatuses. Call ListNext() with this URI to fetch the next page of availabilityStatuses. */
16
+ nextLink?: string;
17
+ }
18
+
19
+ /** availabilityStatus of a resource. */
20
+ export interface AvailabilityStatus {
21
+ /** Azure Resource Manager Identity for the availabilityStatuses resource. */
22
+ id?: string;
23
+ /** current. */
24
+ name?: string;
25
+ /** Microsoft.ResourceHealth/AvailabilityStatuses. */
26
+ type?: string;
27
+ /** Azure Resource Manager geo location of the resource. */
28
+ location?: string;
29
+ /** Properties of availability state. */
30
+ properties?: AvailabilityStatusProperties;
31
+ }
32
+
33
+ /** Properties of availability state. */
34
+ export interface AvailabilityStatusProperties {
35
+ /** Availability status of the resource. When it is null, this availabilityStatus object represents an availability impacting event */
36
+ availabilityState?: AvailabilityStateValues;
37
+ /** Summary description of the availability status. */
38
+ summary?: string;
39
+ /** Details of the availability status. */
40
+ detailedStatus?: string;
41
+ /** When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated. Examples are planned, unplanned, user initiated or an outage etc. */
42
+ reasonType?: string;
43
+ /** When the resource's availabilityState is Unavailable, it provides the Timestamp for when the health impacting event was received. */
44
+ rootCauseAttributionTime?: Date;
45
+ /** In case of an availability impacting event, it describes when the health impacting event was originated. Examples are Lifecycle, Downtime, Fault Analysis etc. */
46
+ healthEventType?: string;
47
+ /** In case of an availability impacting event, it describes where the health impacting event was originated. Examples are PlatformInitiated, UserInitiated etc. */
48
+ healthEventCause?: string;
49
+ /** In case of an availability impacting event, it describes the category of a PlatformInitiated health impacting event. Examples are Planned, Unplanned etc. */
50
+ healthEventCategory?: string;
51
+ /** It is a unique Id that identifies the event */
52
+ healthEventId?: string;
53
+ /** When the resource's availabilityState is Unavailable and the reasonType is not User Initiated, it provides the date and time for when the issue is expected to be resolved. */
54
+ resolutionETA?: Date;
55
+ /** Timestamp for when last change in health status occurred. */
56
+ occuredTime?: Date;
57
+ /** Chronicity of the availability transition. */
58
+ reasonChronicity?: ReasonChronicityTypes;
59
+ /** Timestamp for when the health was last checked. */
60
+ reportedTime?: Date;
61
+ /** An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned */
62
+ recentlyResolvedState?: AvailabilityStatusPropertiesRecentlyResolvedState;
63
+ /** Lists actions the user can take based on the current availabilityState of the resource. */
64
+ recommendedActions?: RecommendedAction[];
65
+ /** Lists the service impacting events that may be affecting the health of the resource. */
66
+ serviceImpactingEvents?: ServiceImpactingEvent[];
67
+ }
68
+
69
+ /** An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned */
70
+ export interface AvailabilityStatusPropertiesRecentlyResolvedState {
71
+ /** Timestamp for when the availabilityState changed to Unavailable */
72
+ unavailableOccurredTime?: Date;
73
+ /** Timestamp when the availabilityState changes to Available. */
74
+ resolvedTime?: Date;
75
+ /** Brief description of cause of the resource becoming unavailable. */
76
+ unavailabilitySummary?: string;
77
+ }
78
+
79
+ /** Lists actions the user can take based on the current availabilityState of the resource. */
80
+ export interface RecommendedAction {
81
+ /** Recommended action. */
82
+ action?: string;
83
+ /** Link to the action */
84
+ actionUrl?: string;
85
+ /** Substring of action, it describes which text should host the action url. */
86
+ actionUrlText?: string;
87
+ }
88
+
89
+ /** Lists the service impacting events that may be affecting the health of the resource. */
90
+ export interface ServiceImpactingEvent {
91
+ /** Timestamp for when the event started. */
92
+ eventStartTime?: Date;
93
+ /** Timestamp for when event was submitted/detected. */
94
+ eventStatusLastModifiedTime?: Date;
95
+ /** Correlation id for the event */
96
+ correlationId?: string;
97
+ /** Status of the service impacting event. */
98
+ status?: ServiceImpactingEventStatus;
99
+ /** Properties of the service impacting event. */
100
+ incidentProperties?: ServiceImpactingEventIncidentProperties;
101
+ }
102
+
103
+ /** Status of the service impacting event. */
104
+ export interface ServiceImpactingEventStatus {
105
+ /** Current status of the event */
106
+ value?: string;
107
+ }
108
+
109
+ /** Properties of the service impacting event. */
110
+ export interface ServiceImpactingEventIncidentProperties {
111
+ /** Title of the incident. */
112
+ title?: string;
113
+ /** Service impacted by the event. */
114
+ service?: string;
115
+ /** Region impacted by the event. */
116
+ region?: string;
117
+ /** Type of Event. */
118
+ incidentType?: string;
119
+ }
120
+
121
+ /** Error details. */
122
+ export interface ErrorResponse {
123
+ /**
124
+ * The error code.
125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
126
+ */
127
+ readonly code?: string;
128
+ /**
129
+ * The error message.
130
+ * NOTE: This property will not be serialized. It can only be populated by the server.
131
+ */
132
+ readonly message?: string;
133
+ /**
134
+ * The error details.
135
+ * NOTE: This property will not be serialized. It can only be populated by the server.
136
+ */
137
+ readonly details?: string;
138
+ }
139
+
140
+ /** Lists the operations response. */
141
+ export interface OperationListResult {
142
+ /** List of operations available in the resourcehealth resource provider. */
143
+ value: Operation[];
144
+ }
145
+
146
+ /** Operation available in the resourcehealth resource provider. */
147
+ export interface Operation {
148
+ /** Name of the operation. */
149
+ name?: string;
150
+ /** Properties of the operation. */
151
+ display?: OperationDisplay;
152
+ }
153
+
154
+ /** Properties of the operation. */
155
+ export interface OperationDisplay {
156
+ /** Provider name. */
157
+ provider?: string;
158
+ /** Resource name. */
159
+ resource?: string;
160
+ /** Operation name. */
161
+ operation?: string;
162
+ /** Description of the operation. */
163
+ description?: string;
164
+ }
165
+
166
+ /** Banner type of emerging issue. */
167
+ export interface StatusBanner {
168
+ /** The banner title. */
169
+ title?: string;
170
+ /** The details of banner. */
171
+ message?: string;
172
+ /** The cloud type of this banner. */
173
+ cloud?: string;
174
+ /** The last time modified on this banner. */
175
+ lastModifiedTime?: Date;
176
+ }
177
+
178
+ /** Active event type of emerging issue. */
179
+ export interface StatusActiveEvent {
180
+ /** The active event title. */
181
+ title?: string;
182
+ /** The details of active event. */
183
+ description?: string;
184
+ /** The tracking id of this active event. */
185
+ trackingId?: string;
186
+ /** The impact start time on this active event. */
187
+ startTime?: Date;
188
+ /** The cloud type of this active event. */
189
+ cloud?: string;
190
+ /** The severity level of this active event. */
191
+ severity?: SeverityValues;
192
+ /** The stage of this active event. */
193
+ stage?: StageValues;
194
+ /** The boolean value of this active event if published or not. */
195
+ published?: boolean;
196
+ /** The last time modified on this banner. */
197
+ lastModifiedTime?: Date;
198
+ /** The list of emerging issues impacts. */
199
+ impacts?: EmergingIssueImpact[];
200
+ }
201
+
202
+ /** Object of the emerging issue impact on services and regions. */
203
+ export interface EmergingIssueImpact {
204
+ /** The impacted service id. */
205
+ id?: string;
206
+ /** The impacted service name. */
207
+ name?: string;
208
+ /** The list of impacted regions for corresponding emerging issues. */
209
+ regions?: ImpactedRegion[];
210
+ }
211
+
212
+ /** Object of impacted region. */
213
+ export interface ImpactedRegion {
214
+ /** The impacted region id. */
215
+ id?: string;
216
+ /** The impacted region name. */
217
+ name?: string;
218
+ }
219
+
220
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
221
+ export interface Resource {
222
+ /**
223
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
224
+ * NOTE: This property will not be serialized. It can only be populated by the server.
225
+ */
226
+ readonly id?: string;
227
+ /**
228
+ * The name of the resource
229
+ * NOTE: This property will not be serialized. It can only be populated by the server.
230
+ */
231
+ readonly name?: string;
232
+ /**
233
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
234
+ * NOTE: This property will not be serialized. It can only be populated by the server.
235
+ */
236
+ readonly type?: string;
237
+ }
238
+
239
+ /** The list of emerging issues. */
240
+ export interface EmergingIssueListResult {
241
+ /** The list of emerging issues. */
242
+ value?: EmergingIssuesGetResult[];
243
+ /** The link used to get the next page of emerging issues. */
244
+ nextLink?: string;
245
+ }
246
+
247
+ /** The Get EmergingIssues operation response. */
248
+ export type EmergingIssuesGetResult = Resource & {
249
+ /** Timestamp for when last time refreshed for ongoing emerging issue. */
250
+ refreshTimestamp?: Date;
251
+ /** The list of emerging issues of banner type. */
252
+ statusBanners?: StatusBanner[];
253
+ /** The list of emerging issues of active event type. */
254
+ statusActiveEvents?: StatusActiveEvent[];
255
+ };
256
+
257
+ /** Known values of {@link SeverityValues} that the service accepts. */
258
+ export enum KnownSeverityValues {
259
+ Information = "Information",
260
+ Warning = "Warning",
261
+ Error = "Error"
262
+ }
263
+
264
+ /**
265
+ * Defines values for SeverityValues. \
266
+ * {@link KnownSeverityValues} can be used interchangeably with SeverityValues,
267
+ * this enum contains the known values that the service supports.
268
+ * ### Known values supported by the service
269
+ * **Information** \
270
+ * **Warning** \
271
+ * **Error**
272
+ */
273
+ export type SeverityValues = string;
274
+
275
+ /** Known values of {@link StageValues} that the service accepts. */
276
+ export enum KnownStageValues {
277
+ Active = "Active",
278
+ Resolve = "Resolve",
279
+ Archived = "Archived"
280
+ }
281
+
282
+ /**
283
+ * Defines values for StageValues. \
284
+ * {@link KnownStageValues} can be used interchangeably with StageValues,
285
+ * this enum contains the known values that the service supports.
286
+ * ### Known values supported by the service
287
+ * **Active** \
288
+ * **Resolve** \
289
+ * **Archived**
290
+ */
291
+ export type StageValues = string;
292
+ /** Defines values for AvailabilityStateValues. */
293
+ export type AvailabilityStateValues = "Available" | "Unavailable" | "Unknown";
294
+ /** Defines values for ReasonChronicityTypes. */
295
+ export type ReasonChronicityTypes = "Transient" | "Persistent";
296
+
297
+ /** Optional parameters. */
298
+ export interface AvailabilityStatusesListBySubscriptionIdOptionalParams
299
+ extends coreClient.OperationOptions {
300
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
301
+ filter?: string;
302
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
303
+ expand?: string;
304
+ }
305
+
306
+ /** Contains response data for the listBySubscriptionId operation. */
307
+ export type AvailabilityStatusesListBySubscriptionIdResponse = AvailabilityStatusListResult;
308
+
309
+ /** Optional parameters. */
310
+ export interface AvailabilityStatusesListByResourceGroupOptionalParams
311
+ extends coreClient.OperationOptions {
312
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
313
+ filter?: string;
314
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
315
+ expand?: string;
316
+ }
317
+
318
+ /** Contains response data for the listByResourceGroup operation. */
319
+ export type AvailabilityStatusesListByResourceGroupResponse = AvailabilityStatusListResult;
320
+
321
+ /** Optional parameters. */
322
+ export interface AvailabilityStatusesGetByResourceOptionalParams
323
+ extends coreClient.OperationOptions {
324
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
325
+ filter?: string;
326
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
327
+ expand?: string;
328
+ }
329
+
330
+ /** Contains response data for the getByResource operation. */
331
+ export type AvailabilityStatusesGetByResourceResponse = AvailabilityStatus;
332
+
333
+ /** Optional parameters. */
334
+ export interface AvailabilityStatusesListOptionalParams
335
+ extends coreClient.OperationOptions {
336
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
337
+ filter?: string;
338
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
339
+ expand?: string;
340
+ }
341
+
342
+ /** Contains response data for the list operation. */
343
+ export type AvailabilityStatusesListResponse = AvailabilityStatusListResult;
344
+
345
+ /** Optional parameters. */
346
+ export interface AvailabilityStatusesListBySubscriptionIdNextOptionalParams
347
+ extends coreClient.OperationOptions {
348
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
349
+ filter?: string;
350
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
351
+ expand?: string;
352
+ }
353
+
354
+ /** Contains response data for the listBySubscriptionIdNext operation. */
355
+ export type AvailabilityStatusesListBySubscriptionIdNextResponse = AvailabilityStatusListResult;
356
+
357
+ /** Optional parameters. */
358
+ export interface AvailabilityStatusesListByResourceGroupNextOptionalParams
359
+ extends coreClient.OperationOptions {
360
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
361
+ filter?: string;
362
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
363
+ expand?: string;
364
+ }
365
+
366
+ /** Contains response data for the listByResourceGroupNext operation. */
367
+ export type AvailabilityStatusesListByResourceGroupNextResponse = AvailabilityStatusListResult;
368
+
369
+ /** Optional parameters. */
370
+ export interface AvailabilityStatusesListNextOptionalParams
371
+ extends coreClient.OperationOptions {
372
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
373
+ filter?: string;
374
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
375
+ expand?: string;
376
+ }
377
+
378
+ /** Contains response data for the listNext operation. */
379
+ export type AvailabilityStatusesListNextResponse = AvailabilityStatusListResult;
380
+
381
+ /** Optional parameters. */
382
+ export interface ChildAvailabilityStatusesGetByResourceOptionalParams
383
+ extends coreClient.OperationOptions {
384
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
385
+ filter?: string;
386
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
387
+ expand?: string;
388
+ }
389
+
390
+ /** Contains response data for the getByResource operation. */
391
+ export type ChildAvailabilityStatusesGetByResourceResponse = AvailabilityStatus;
392
+
393
+ /** Optional parameters. */
394
+ export interface ChildAvailabilityStatusesListOptionalParams
395
+ extends coreClient.OperationOptions {
396
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
397
+ filter?: string;
398
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
399
+ expand?: string;
400
+ }
401
+
402
+ /** Contains response data for the list operation. */
403
+ export type ChildAvailabilityStatusesListResponse = AvailabilityStatusListResult;
404
+
405
+ /** Optional parameters. */
406
+ export interface ChildAvailabilityStatusesListNextOptionalParams
407
+ extends coreClient.OperationOptions {
408
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
409
+ filter?: string;
410
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
411
+ expand?: string;
412
+ }
413
+
414
+ /** Contains response data for the listNext operation. */
415
+ export type ChildAvailabilityStatusesListNextResponse = AvailabilityStatusListResult;
416
+
417
+ /** Optional parameters. */
418
+ export interface ChildResourcesListOptionalParams
419
+ extends coreClient.OperationOptions {
420
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
421
+ filter?: string;
422
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
423
+ expand?: string;
424
+ }
425
+
426
+ /** Contains response data for the list operation. */
427
+ export type ChildResourcesListResponse = AvailabilityStatusListResult;
428
+
429
+ /** Optional parameters. */
430
+ export interface ChildResourcesListNextOptionalParams
431
+ extends coreClient.OperationOptions {
432
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
433
+ filter?: string;
434
+ /** Setting $expand=recommendedactions in url query expands the recommendedactions in the response. */
435
+ expand?: string;
436
+ }
437
+
438
+ /** Contains response data for the listNext operation. */
439
+ export type ChildResourcesListNextResponse = AvailabilityStatusListResult;
440
+
441
+ /** Optional parameters. */
442
+ export interface OperationsListOptionalParams
443
+ extends coreClient.OperationOptions {}
444
+
445
+ /** Contains response data for the list operation. */
446
+ export type OperationsListResponse = OperationListResult;
447
+
448
+ /** Optional parameters. */
449
+ export interface EmergingIssuesGetOptionalParams
450
+ extends coreClient.OperationOptions {}
451
+
452
+ /** Contains response data for the get operation. */
453
+ export type EmergingIssuesGetResponse = EmergingIssuesGetResult;
454
+
455
+ /** Optional parameters. */
456
+ export interface EmergingIssuesListOptionalParams
457
+ extends coreClient.OperationOptions {}
458
+
459
+ /** Contains response data for the list operation. */
460
+ export type EmergingIssuesListResponse = EmergingIssueListResult;
461
+
462
+ /** Optional parameters. */
463
+ export interface EmergingIssuesListNextOptionalParams
464
+ extends coreClient.OperationOptions {}
465
+
466
+ /** Contains response data for the listNext operation. */
467
+ export type EmergingIssuesListNextResponse = EmergingIssueListResult;
468
+
469
+ /** Optional parameters. */
470
+ export interface MicrosoftResourceHealthOptionalParams
471
+ extends coreClient.ServiceClientOptions {
472
+ /** server parameter */
473
+ $host?: string;
474
+ /** Api Version */
475
+ apiVersion?: string;
476
+ /** Overrides client endpoint. */
477
+ endpoint?: string;
478
+ }