@@ -9,7 +9,7 @@ import * as coreClient from '@azure/core-client';
99import { PagedAsyncIterableIterator } from ' @azure/core-paging' ;
1010
1111// @public
12- export type AvailabilityStateValues = " Available " | " Unavailable " | " Unknown " ;
12+ export type AvailabilityStateValues = string ;
1313
1414// @public
1515export interface AvailabilityStatus {
@@ -108,150 +108,64 @@ export interface AvailabilityStatusProperties {
108108 occuredTime? : Date ;
109109 reasonChronicity? : ReasonChronicityTypes ;
110110 reasonType? : string ;
111- recentlyResolvedState ? : AvailabilityStatusPropertiesRecentlyResolvedState ;
111+ recentlyResolved ? : AvailabilityStatusPropertiesRecentlyResolved ;
112112 recommendedActions? : RecommendedAction [];
113113 reportedTime? : Date ;
114114 resolutionETA? : Date ;
115115 rootCauseAttributionTime? : Date ;
116116 serviceImpactingEvents? : ServiceImpactingEvent [];
117117 summary? : string ;
118+ title? : string ;
118119}
119120
120121// @public
121- export interface AvailabilityStatusPropertiesRecentlyResolvedState {
122+ export interface AvailabilityStatusPropertiesRecentlyResolved {
122123 resolvedTime? : Date ;
123- unavailabilitySummary? : string ;
124- unavailableOccurredTime? : Date ;
125- }
126-
127- // @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 ;
124+ unavailableOccuredTime? : Date ;
125+ unavailableSummary? : string ;
169126}
170127
171128// @public
172- export type ChildResourcesListNextResponse = AvailabilityStatusListResult ;
173-
174- // @public
175- export interface ChildResourcesListOptionalParams extends coreClient .OperationOptions {
176- expand? : string ;
177- filter? : string ;
129+ export interface ErrorResponse {
130+ readonly code? : string ;
131+ readonly details? : string ;
132+ readonly message? : string ;
178133}
179134
180135// @public
181- export type ChildResourcesListResponse = AvailabilityStatusListResult ;
182-
183- // @public
184- export interface EmergingIssueImpact {
136+ export interface ImpactedRegion {
185137 id? : string ;
186138 name? : string ;
187- regions? : ImpactedRegion [];
188- }
189-
190- // @public
191- export interface EmergingIssueListResult {
192- nextLink? : string ;
193- value? : EmergingIssuesGetResult [];
194139}
195140
196141// @public
197- export interface EmergingIssues {
198- get(options ? : EmergingIssuesGetOptionalParams ): Promise <EmergingIssuesGetResponse >;
199- list(options ? : EmergingIssuesListOptionalParams ): PagedAsyncIterableIterator <EmergingIssuesGetResult >;
200- }
201-
202- // @public
203- export interface EmergingIssuesGetOptionalParams extends coreClient .OperationOptions {
204- }
205-
206- // @public
207- export type EmergingIssuesGetResponse = EmergingIssuesGetResult ;
208-
209- // @public
210- export interface EmergingIssuesGetResult extends Resource {
211- refreshTimestamp? : Date ;
212- statusActiveEvents? : StatusActiveEvent [];
213- statusBanners? : StatusBanner [];
214- }
215-
216- // @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 ;
142+ export interface ImpactedResourceStatus extends Resource {
143+ availabilityState? : AvailabilityStateValues ;
144+ occurredTime? : Date ;
145+ reasonType? : ReasonTypeValues ;
146+ summary? : string ;
147+ title? : string ;
235148}
236149
237150// @public
238- export interface ImpactedRegion {
239- id? : string ;
240- name? : string ;
151+ export enum KnownAvailabilityStateValues {
152+ Available = " Available" ,
153+ Degraded = " Degraded" ,
154+ Unavailable = " Unavailable" ,
155+ Unknown = " Unknown"
241156}
242157
243158// @public
244- export enum KnownSeverityValues {
245- Error = " Error" ,
246- Information = " Information" ,
247- Warning = " Warning"
159+ export enum KnownReasonChronicityTypes {
160+ Persistent = " Persistent" ,
161+ Transient = " Transient"
248162}
249163
250164// @public
251- export enum KnownStageValues {
252- Active = " Active " ,
253- Archived = " Archived " ,
254- Resolve = " Resolve "
165+ export enum KnownReasonTypeValues {
166+ Planned = " Planned " ,
167+ Unplanned = " Unplanned " ,
168+ UserInitiated = " UserInitiated "
255169}
256170
257171// @public (undocumented)
@@ -264,12 +178,6 @@ export class MicrosoftResourceHealth extends coreClient.ServiceClient {
264178 // (undocumented)
265179 availabilityStatuses: AvailabilityStatuses ;
266180 // (undocumented)
267- childAvailabilityStatuses: ChildAvailabilityStatuses ;
268- // (undocumented)
269- childResources: ChildResources ;
270- // (undocumented)
271- emergingIssues: EmergingIssues ;
272- // (undocumented)
273181 operations: Operations ;
274182 // (undocumented)
275183 subscriptionId: string ;
@@ -314,7 +222,10 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
314222export type OperationsListResponse = OperationListResult ;
315223
316224// @public
317- export type ReasonChronicityTypes = " Transient" | " Persistent" ;
225+ export type ReasonChronicityTypes = string ;
226+
227+ // @public
228+ export type ReasonTypeValues = string ;
318229
319230// @public
320231export interface RecommendedAction {
@@ -352,26 +263,6 @@ export interface ServiceImpactingEventStatus {
352263 value? : string ;
353264}
354265
355- // @public
356- export type SeverityValues = string ;
357-
358- // @public
359- export type StageValues = string ;
360-
361- // @public
362- export interface StatusActiveEvent {
363- cloud? : string ;
364- description? : string ;
365- impacts? : EmergingIssueImpact [];
366- lastModifiedTime? : Date ;
367- published? : boolean ;
368- severity? : SeverityValues ;
369- stage? : StageValues ;
370- startTime? : Date ;
371- title? : string ;
372- trackingId? : string ;
373- }
374-
375266// @public
376267export interface StatusBanner {
377268 cloud? : string ;
0 commit comments