@@ -9,7 +9,7 @@ import * as coreClient from '@azure/core-client';
9
9
import { PagedAsyncIterableIterator } from ' @azure/core-paging' ;
10
10
11
11
// @public
12
- export type AvailabilityStateValues = " Available " | " Unavailable " | " Unknown " ;
12
+ export type AvailabilityStateValues = string ;
13
13
14
14
// @public
15
15
export interface AvailabilityStatus {
@@ -105,159 +105,81 @@ export interface AvailabilityStatusProperties {
105
105
healthEventCause? : string ;
106
106
healthEventId? : string ;
107
107
healthEventType? : string ;
108
- occuredTime ? : Date ;
108
+ occurredTime ? : Date ;
109
109
reasonChronicity? : ReasonChronicityTypes ;
110
110
reasonType? : string ;
111
- recentlyResolvedState ? : AvailabilityStatusPropertiesRecentlyResolvedState ;
111
+ recentlyResolved ? : AvailabilityStatusPropertiesRecentlyResolved ;
112
112
recommendedActions? : RecommendedAction [];
113
113
reportedTime? : Date ;
114
114
resolutionETA? : Date ;
115
115
rootCauseAttributionTime? : Date ;
116
116
serviceImpactingEvents? : ServiceImpactingEvent [];
117
117
summary? : string ;
118
+ title? : string ;
118
119
}
119
120
120
121
// @public
121
- export interface AvailabilityStatusPropertiesRecentlyResolvedState {
122
+ export interface AvailabilityStatusPropertiesRecentlyResolved {
122
123
resolvedTime? : Date ;
123
124
unavailabilitySummary? : string ;
124
125
unavailableOccurredTime? : Date ;
125
126
}
126
127
127
128
// @public
128
- export interface ChildAvailabilityStatuses {
129
- getByResource(resourceUri : string , options ? : ChildAvailabilityStatusesGetByResourceOptionalParams ): Promise <ChildAvailabilityStatusesGetByResourceResponse >;
130
- list(resourceUri : string , options ? : ChildAvailabilityStatusesListOptionalParams ): PagedAsyncIterableIterator <AvailabilityStatus >;
131
- }
132
-
133
- // @public
134
- export interface ChildAvailabilityStatusesGetByResourceOptionalParams extends coreClient .OperationOptions {
135
- expand? : string ;
136
- filter? : string ;
137
- }
138
-
139
- // @public
140
- export type ChildAvailabilityStatusesGetByResourceResponse = AvailabilityStatus ;
141
-
142
- // @public
143
- export interface ChildAvailabilityStatusesListNextOptionalParams extends coreClient .OperationOptions {
144
- expand? : string ;
145
- filter? : string ;
146
- }
147
-
148
- // @public
149
- export type ChildAvailabilityStatusesListNextResponse = AvailabilityStatusListResult ;
150
-
151
- // @public
152
- export interface ChildAvailabilityStatusesListOptionalParams extends coreClient .OperationOptions {
153
- expand? : string ;
154
- filter? : string ;
155
- }
156
-
157
- // @public
158
- export type ChildAvailabilityStatusesListResponse = AvailabilityStatusListResult ;
159
-
160
- // @public
161
- export interface ChildResources {
162
- list(resourceUri : string , options ? : ChildResourcesListOptionalParams ): PagedAsyncIterableIterator <AvailabilityStatus >;
163
- }
164
-
165
- // @public
166
- export interface ChildResourcesListNextOptionalParams extends coreClient .OperationOptions {
167
- expand? : string ;
168
- filter? : string ;
129
+ export interface ErrorResponse {
130
+ error? : ErrorResponseError ;
169
131
}
170
132
171
133
// @public
172
- export type ChildResourcesListNextResponse = AvailabilityStatusListResult ;
173
-
174
- // @public
175
- export interface ChildResourcesListOptionalParams extends coreClient .OperationOptions {
176
- expand? : string ;
177
- filter? : string ;
134
+ export interface ErrorResponseError {
135
+ readonly code? : string ;
136
+ readonly details? : string ;
137
+ readonly message? : string ;
178
138
}
179
139
180
140
// @public
181
- export type ChildResourcesListResponse = AvailabilityStatusListResult ;
182
-
183
- // @public
184
- export interface EmergingIssueImpact {
141
+ export interface ImpactedRegion {
185
142
id? : string ;
186
143
name? : string ;
187
- regions? : ImpactedRegion [];
188
- }
189
-
190
- // @public
191
- export interface EmergingIssueListResult {
192
- nextLink? : string ;
193
- value? : EmergingIssuesGetResult [];
194
- }
195
-
196
- // @public
197
- export interface EmergingIssues {
198
- get(options ? : EmergingIssuesGetOptionalParams ): Promise <EmergingIssuesGetResponse >;
199
- list(options ? : EmergingIssuesListOptionalParams ): PagedAsyncIterableIterator <EmergingIssuesGetResult >;
200
144
}
201
145
202
146
// @public
203
- export interface EmergingIssuesGetOptionalParams extends coreClient .OperationOptions {
204
- }
205
-
206
- // @public
207
- export type EmergingIssuesGetResponse = EmergingIssuesGetResult ;
208
-
209
- // @public
210
- export type EmergingIssuesGetResult = Resource & {
211
- refreshTimestamp? : Date ;
212
- statusBanners? : StatusBanner [];
213
- statusActiveEvents? : StatusActiveEvent [];
147
+ export type ImpactedResourceStatus = Resource & {
148
+ availabilityState? : AvailabilityStateValues ;
149
+ title? : string ;
150
+ summary? : string ;
151
+ reasonType? : ReasonTypeValues ;
152
+ occurredTime? : Date ;
214
153
};
215
154
216
155
// @public
217
- export interface EmergingIssuesListNextOptionalParams extends coreClient .OperationOptions {
218
- }
219
-
220
- // @public
221
- export type EmergingIssuesListNextResponse = EmergingIssueListResult ;
222
-
223
- // @public
224
- export interface EmergingIssuesListOptionalParams extends coreClient .OperationOptions {
225
- }
226
-
227
- // @public
228
- export type EmergingIssuesListResponse = EmergingIssueListResult ;
229
-
230
- // @public
231
- export interface ErrorResponse {
232
- readonly code? : string ;
233
- readonly details? : string ;
234
- readonly message? : string ;
235
- }
236
-
237
- // @public
238
- export interface ImpactedRegion {
239
- id? : string ;
240
- name? : string ;
156
+ export enum KnownAvailabilityStateValues {
157
+ // (undocumented)
158
+ Available = " Available" ,
159
+ // (undocumented)
160
+ Degraded = " Degraded" ,
161
+ // (undocumented)
162
+ Unavailable = " Unavailable" ,
163
+ // (undocumented)
164
+ Unknown = " Unknown"
241
165
}
242
166
243
167
// @public
244
- export enum KnownSeverityValues {
245
- // (undocumented)
246
- Error = " Error" ,
168
+ export enum KnownReasonChronicityTypes {
247
169
// (undocumented)
248
- Information = " Information " ,
170
+ Persistent = " Persistent " ,
249
171
// (undocumented)
250
- Warning = " Warning "
172
+ Transient = " Transient "
251
173
}
252
174
253
175
// @public
254
- export enum KnownStageValues {
176
+ export enum KnownReasonTypeValues {
255
177
// (undocumented)
256
- Active = " Active " ,
178
+ Planned = " Planned " ,
257
179
// (undocumented)
258
- Archived = " Archived " ,
180
+ Unplanned = " Unplanned " ,
259
181
// (undocumented)
260
- Resolve = " Resolve "
182
+ UserInitiated = " UserInitiated "
261
183
}
262
184
263
185
// @public (undocumented)
@@ -270,12 +192,6 @@ export class MicrosoftResourceHealth extends coreClient.ServiceClient {
270
192
// (undocumented)
271
193
availabilityStatuses: AvailabilityStatuses ;
272
194
// (undocumented)
273
- childAvailabilityStatuses: ChildAvailabilityStatuses ;
274
- // (undocumented)
275
- childResources: ChildResources ;
276
- // (undocumented)
277
- emergingIssues: EmergingIssues ;
278
- // (undocumented)
279
195
operations: Operations ;
280
196
// (undocumented)
281
197
subscriptionId: string ;
@@ -320,7 +236,10 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
320
236
export type OperationsListResponse = OperationListResult ;
321
237
322
238
// @public
323
- export type ReasonChronicityTypes = " Transient" | " Persistent" ;
239
+ export type ReasonChronicityTypes = string ;
240
+
241
+ // @public
242
+ export type ReasonTypeValues = string ;
324
243
325
244
// @public
326
245
export interface RecommendedAction {
@@ -358,26 +277,6 @@ export interface ServiceImpactingEventStatus {
358
277
value? : string ;
359
278
}
360
279
361
- // @public
362
- export type SeverityValues = string ;
363
-
364
- // @public
365
- export type StageValues = string ;
366
-
367
- // @public
368
- export interface StatusActiveEvent {
369
- cloud? : string ;
370
- description? : string ;
371
- impacts? : EmergingIssueImpact [];
372
- lastModifiedTime? : Date ;
373
- published? : boolean ;
374
- severity? : SeverityValues ;
375
- stage? : StageValues ;
376
- startTime? : Date ;
377
- title? : string ;
378
- trackingId? : string ;
379
- }
380
-
381
280
// @public
382
281
export interface StatusBanner {
383
282
cloud? : string ;
0 commit comments