@azure/arm-resourcehealth 1.1.0 → 3.0.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/{LICENSE.txt → LICENSE} +21 -21
- package/README.md +98 -100
- package/dist/index.js +1811 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/microsoftResourceHealth.d.ts +20 -0
- package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -0
- package/dist-esm/src/microsoftResourceHealth.js +27 -0
- package/dist-esm/src/microsoftResourceHealth.js.map +1 -0
- package/dist-esm/src/microsoftResourceHealthContext.d.ts +17 -0
- package/dist-esm/src/microsoftResourceHealthContext.d.ts.map +1 -0
- package/dist-esm/src/microsoftResourceHealthContext.js +50 -0
- package/dist-esm/src/microsoftResourceHealthContext.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +402 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +22 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +21 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +393 -170
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +12 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +52 -36
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/availabilityStatuses.d.ts +102 -0
- package/dist-esm/src/operations/availabilityStatuses.d.ts.map +1 -0
- package/dist-esm/src/operations/availabilityStatuses.js +407 -0
- package/dist-esm/src/operations/availabilityStatuses.js.map +1 -0
- package/dist-esm/src/operations/childAvailabilityStatuses.d.ts +51 -0
- package/dist-esm/src/operations/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist-esm/src/operations/childAvailabilityStatuses.js +173 -0
- package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -0
- package/dist-esm/src/operations/childResources.d.ts +43 -0
- package/dist-esm/src/operations/childResources.d.ts.map +1 -0
- package/dist-esm/src/operations/childResources.js +143 -0
- package/dist-esm/src/operations/childResources.js.map +1 -0
- package/dist-esm/src/operations/emergingIssues.d.ts +37 -0
- package/dist-esm/src/operations/emergingIssues.d.ts.map +1 -0
- package/dist-esm/src/operations/emergingIssues.js +143 -0
- package/dist-esm/src/operations/emergingIssues.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +6 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +13 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.js +9 -0
- package/dist-esm/src/operationsInterfaces/availabilityStatuses.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js +9 -0
- package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/childResources.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/childResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/childResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/childResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/emergingIssues.js +9 -0
- package/dist-esm/src/operationsInterfaces/emergingIssues.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +68 -34
- package/review/arm-resourcehealth.api.md +396 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +13 -0
- package/src/microsoftResourceHealth.ts +53 -0
- package/src/microsoftResourceHealthContext.ts +71 -0
- package/src/models/index.ts +478 -0
- package/{lib → src}/models/mappers.ts +409 -175
- package/src/models/parameters.ts +127 -0
- package/src/operations/availabilityStatuses.ts +479 -0
- package/src/operations/childAvailabilityStatuses.ts +210 -0
- package/src/operations/childResources.ts +168 -0
- package/src/operations/emergingIssues.ts +165 -0
- package/src/operations/index.ts +13 -0
- package/src/operations/operations.ts +59 -0
- package/src/operationsInterfaces/availabilityStatuses.ts +67 -0
- package/src/operationsInterfaces/childAvailabilityStatuses.ts +43 -0
- package/src/operationsInterfaces/childResources.ts +30 -0
- package/src/operationsInterfaces/emergingIssues.ts +34 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/tsconfig.json +4 -4
- package/types/arm-resourcehealth.d.ts +588 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-resourcehealth.js +0 -1037
- package/dist/arm-resourcehealth.js.map +0 -1
- package/dist/arm-resourcehealth.min.js +0 -1
- package/dist/arm-resourcehealth.min.js.map +0 -1
- package/esm/microsoftResourceHealth.d.ts +0 -20
- package/esm/microsoftResourceHealth.d.ts.map +0 -1
- package/esm/microsoftResourceHealth.js +0 -35
- package/esm/microsoftResourceHealth.js.map +0 -1
- package/esm/microsoftResourceHealthContext.d.ts +0 -17
- package/esm/microsoftResourceHealthContext.d.ts.map +0 -1
- package/esm/microsoftResourceHealthContext.js +0 -57
- package/esm/microsoftResourceHealthContext.js.map +0 -1
- package/esm/models/availabilityStatusesMappers.d.ts +0 -2
- package/esm/models/availabilityStatusesMappers.d.ts.map +0 -1
- package/esm/models/availabilityStatusesMappers.js +0 -11
- package/esm/models/availabilityStatusesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -589
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -16
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/availabilityStatuses.d.ts +0 -166
- package/esm/operations/availabilityStatuses.d.ts.map +0 -1
- package/esm/operations/availabilityStatuses.js +0 -225
- package/esm/operations/availabilityStatuses.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/lib/microsoftResourceHealth.ts +0 -45
- package/lib/microsoftResourceHealthContext.ts +0 -63
- package/lib/models/availabilityStatusesMappers.ts +0 -22
- package/lib/models/index.ts +0 -628
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -98
- package/lib/operations/availabilityStatuses.ts +0 -416
- package/lib/operations/index.ts +0 -12
- package/lib/operations/operations.ts +0 -74
@@ -1,22 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
* license information.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
9
|
-
*/
|
10
|
-
|
11
|
-
export {
|
12
|
-
AvailabilityStatusListResult,
|
13
|
-
AvailabilityStatus,
|
14
|
-
AvailabilityStatusProperties,
|
15
|
-
AvailabilityStatusPropertiesRecentlyResolvedState,
|
16
|
-
RecommendedAction,
|
17
|
-
ServiceImpactingEvent,
|
18
|
-
ServiceImpactingEventStatus,
|
19
|
-
ServiceImpactingEventIncidentProperties,
|
20
|
-
ErrorResponse
|
21
|
-
} from "../models/mappers";
|
22
|
-
|
package/lib/models/index.ts
DELETED
@@ -1,628 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
* license information.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
9
|
-
*/
|
10
|
-
|
11
|
-
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
13
|
-
|
14
|
-
export { BaseResource, CloudError };
|
15
|
-
|
16
|
-
|
17
|
-
/**
|
18
|
-
* @interface
|
19
|
-
* An interface representing AvailabilityStatusPropertiesRecentlyResolvedState.
|
20
|
-
* An annotation describing a change in the availabilityState to Available from
|
21
|
-
* Unavailable with a reasonType of type Unplanned
|
22
|
-
*
|
23
|
-
*/
|
24
|
-
export interface AvailabilityStatusPropertiesRecentlyResolvedState {
|
25
|
-
/**
|
26
|
-
* @member {Date} [unavailableOccurredTime] Timestamp for when the
|
27
|
-
* availabilityState changed to Unavailable
|
28
|
-
*/
|
29
|
-
unavailableOccurredTime?: Date;
|
30
|
-
/**
|
31
|
-
* @member {Date} [resolvedTime] Timestamp when the availabilityState changes
|
32
|
-
* to Available.
|
33
|
-
*/
|
34
|
-
resolvedTime?: Date;
|
35
|
-
/**
|
36
|
-
* @member {string} [unavailabilitySummary] Brief description of cause of the
|
37
|
-
* resource becoming unavailable.
|
38
|
-
*/
|
39
|
-
unavailabilitySummary?: string;
|
40
|
-
}
|
41
|
-
|
42
|
-
/**
|
43
|
-
* @interface
|
44
|
-
* An interface representing RecommendedAction.
|
45
|
-
* Lists actions the user can take based on the current availabilityState of
|
46
|
-
* the resource.
|
47
|
-
*
|
48
|
-
*/
|
49
|
-
export interface RecommendedAction {
|
50
|
-
/**
|
51
|
-
* @member {string} [action] Recommended action.
|
52
|
-
*/
|
53
|
-
action?: string;
|
54
|
-
/**
|
55
|
-
* @member {string} [actionUrl] Link to the action
|
56
|
-
*/
|
57
|
-
actionUrl?: string;
|
58
|
-
/**
|
59
|
-
* @member {string} [actionUrlText] Substring of action, it describes which
|
60
|
-
* text should host the action url.
|
61
|
-
*/
|
62
|
-
actionUrlText?: string;
|
63
|
-
}
|
64
|
-
|
65
|
-
/**
|
66
|
-
* @interface
|
67
|
-
* An interface representing ServiceImpactingEventStatus.
|
68
|
-
* Status of the service impacting event.
|
69
|
-
*
|
70
|
-
*/
|
71
|
-
export interface ServiceImpactingEventStatus {
|
72
|
-
/**
|
73
|
-
* @member {string} [value] Current status of the event
|
74
|
-
*/
|
75
|
-
value?: string;
|
76
|
-
}
|
77
|
-
|
78
|
-
/**
|
79
|
-
* @interface
|
80
|
-
* An interface representing ServiceImpactingEventIncidentProperties.
|
81
|
-
* Properties of the service impacting event.
|
82
|
-
*
|
83
|
-
*/
|
84
|
-
export interface ServiceImpactingEventIncidentProperties {
|
85
|
-
/**
|
86
|
-
* @member {string} [title] Title of the incident.
|
87
|
-
*/
|
88
|
-
title?: string;
|
89
|
-
/**
|
90
|
-
* @member {string} [service] Service impacted by the event.
|
91
|
-
*/
|
92
|
-
service?: string;
|
93
|
-
/**
|
94
|
-
* @member {string} [region] Region impacted by the event.
|
95
|
-
*/
|
96
|
-
region?: string;
|
97
|
-
/**
|
98
|
-
* @member {string} [incidentType] Type of Event.
|
99
|
-
*/
|
100
|
-
incidentType?: string;
|
101
|
-
}
|
102
|
-
|
103
|
-
/**
|
104
|
-
* @interface
|
105
|
-
* An interface representing ServiceImpactingEvent.
|
106
|
-
* Lists the service impacting events that may be affecting the health of the
|
107
|
-
* resource.
|
108
|
-
*
|
109
|
-
*/
|
110
|
-
export interface ServiceImpactingEvent {
|
111
|
-
/**
|
112
|
-
* @member {Date} [eventStartTime] Timestamp for when the event started.
|
113
|
-
*/
|
114
|
-
eventStartTime?: Date;
|
115
|
-
/**
|
116
|
-
* @member {Date} [eventStatusLastModifiedTime] Timestamp for when event was
|
117
|
-
* submitted/detected.
|
118
|
-
*/
|
119
|
-
eventStatusLastModifiedTime?: Date;
|
120
|
-
/**
|
121
|
-
* @member {string} [correlationId] Correlation id for the event
|
122
|
-
*/
|
123
|
-
correlationId?: string;
|
124
|
-
/**
|
125
|
-
* @member {ServiceImpactingEventStatus} [status] Status of the service
|
126
|
-
* impacting event.
|
127
|
-
*/
|
128
|
-
status?: ServiceImpactingEventStatus;
|
129
|
-
/**
|
130
|
-
* @member {ServiceImpactingEventIncidentProperties} [incidentProperties]
|
131
|
-
* Properties of the service impacting event.
|
132
|
-
*/
|
133
|
-
incidentProperties?: ServiceImpactingEventIncidentProperties;
|
134
|
-
}
|
135
|
-
|
136
|
-
/**
|
137
|
-
* @interface
|
138
|
-
* An interface representing AvailabilityStatusProperties.
|
139
|
-
* Properties of availability state.
|
140
|
-
*
|
141
|
-
*/
|
142
|
-
export interface AvailabilityStatusProperties {
|
143
|
-
/**
|
144
|
-
* @member {AvailabilityStateValues} [availabilityState] Availability status
|
145
|
-
* of the resource. When it is null, this availabilityStatus object
|
146
|
-
* represents an availability impacting event. Possible values include:
|
147
|
-
* 'Available', 'Unavailable', 'Unknown'
|
148
|
-
*/
|
149
|
-
availabilityState?: AvailabilityStateValues;
|
150
|
-
/**
|
151
|
-
* @member {string} [summary] Summary description of the availability status.
|
152
|
-
*/
|
153
|
-
summary?: string;
|
154
|
-
/**
|
155
|
-
* @member {string} [detailedStatus] Details of the availability status.
|
156
|
-
*/
|
157
|
-
detailedStatus?: string;
|
158
|
-
/**
|
159
|
-
* @member {string} [reasonType] When the resource's availabilityState is
|
160
|
-
* Unavailable, it describes where the health impacting event was originated.
|
161
|
-
* Examples are planned, unplanned, user initiated or an outage etc.
|
162
|
-
*/
|
163
|
-
reasonType?: string;
|
164
|
-
/**
|
165
|
-
* @member {Date} [rootCauseAttributionTime] When the resource's
|
166
|
-
* availabilityState is Unavailable, it provides the Timestamp for when the
|
167
|
-
* health impacting event was received.
|
168
|
-
*/
|
169
|
-
rootCauseAttributionTime?: Date;
|
170
|
-
/**
|
171
|
-
* @member {string} [healthEventType] In case of an availability impacting
|
172
|
-
* event, it describes when the health impacting event was originated.
|
173
|
-
* Examples are Lifecycle, Downtime, Fault Analysis etc.
|
174
|
-
*/
|
175
|
-
healthEventType?: string;
|
176
|
-
/**
|
177
|
-
* @member {string} [healthEventCause] In case of an availability impacting
|
178
|
-
* event, it describes where the health impacting event was originated.
|
179
|
-
* Examples are PlatformInitiated, UserInitiated etc.
|
180
|
-
*/
|
181
|
-
healthEventCause?: string;
|
182
|
-
/**
|
183
|
-
* @member {string} [healthEventCategory] In case of an availability
|
184
|
-
* impacting event, it describes the category of a PlatformInitiated health
|
185
|
-
* impacting event. Examples are Planned, Unplanned etc.
|
186
|
-
*/
|
187
|
-
healthEventCategory?: string;
|
188
|
-
/**
|
189
|
-
* @member {string} [healthEventId] It is a unique Id that identifies the
|
190
|
-
* event
|
191
|
-
*/
|
192
|
-
healthEventId?: string;
|
193
|
-
/**
|
194
|
-
* @member {Date} [resolutionETA] When the resource's availabilityState is
|
195
|
-
* Unavailable and the reasonType is not User Initiated, it provides the date
|
196
|
-
* and time for when the issue is expected to be resolved.
|
197
|
-
*/
|
198
|
-
resolutionETA?: Date;
|
199
|
-
/**
|
200
|
-
* @member {Date} [occuredTime] Timestamp for when last change in health
|
201
|
-
* status occurred.
|
202
|
-
*/
|
203
|
-
occuredTime?: Date;
|
204
|
-
/**
|
205
|
-
* @member {ReasonChronicityTypes} [reasonChronicity] Chronicity of the
|
206
|
-
* availability transition. Possible values include: 'Transient',
|
207
|
-
* 'Persistent'
|
208
|
-
*/
|
209
|
-
reasonChronicity?: ReasonChronicityTypes;
|
210
|
-
/**
|
211
|
-
* @member {Date} [reportedTime] Timestamp for when the health was last
|
212
|
-
* checked.
|
213
|
-
*/
|
214
|
-
reportedTime?: Date;
|
215
|
-
/**
|
216
|
-
* @member {AvailabilityStatusPropertiesRecentlyResolvedState}
|
217
|
-
* [recentlyResolvedState] An annotation describing a change in the
|
218
|
-
* availabilityState to Available from Unavailable with a reasonType of type
|
219
|
-
* Unplanned
|
220
|
-
*/
|
221
|
-
recentlyResolvedState?: AvailabilityStatusPropertiesRecentlyResolvedState;
|
222
|
-
/**
|
223
|
-
* @member {RecommendedAction[]} [recommendedActions] Lists actions the user
|
224
|
-
* can take based on the current availabilityState of the resource.
|
225
|
-
*/
|
226
|
-
recommendedActions?: RecommendedAction[];
|
227
|
-
/**
|
228
|
-
* @member {ServiceImpactingEvent[]} [serviceImpactingEvents] Lists the
|
229
|
-
* service impacting events that may be affecting the health of the resource.
|
230
|
-
*/
|
231
|
-
serviceImpactingEvents?: ServiceImpactingEvent[];
|
232
|
-
}
|
233
|
-
|
234
|
-
/**
|
235
|
-
* @interface
|
236
|
-
* An interface representing AvailabilityStatus.
|
237
|
-
* availabilityStatus of a resource.
|
238
|
-
*
|
239
|
-
*/
|
240
|
-
export interface AvailabilityStatus {
|
241
|
-
/**
|
242
|
-
* @member {string} [id] Azure Resource Manager Identity for the
|
243
|
-
* availabilityStatuses resource.
|
244
|
-
*/
|
245
|
-
id?: string;
|
246
|
-
/**
|
247
|
-
* @member {string} [name] current.
|
248
|
-
*/
|
249
|
-
name?: string;
|
250
|
-
/**
|
251
|
-
* @member {string} [type] Microsoft.ResourceHealth/AvailabilityStatuses.
|
252
|
-
*/
|
253
|
-
type?: string;
|
254
|
-
/**
|
255
|
-
* @member {string} [location] Azure Resource Manager geo location of the
|
256
|
-
* resource.
|
257
|
-
*/
|
258
|
-
location?: string;
|
259
|
-
/**
|
260
|
-
* @member {AvailabilityStatusProperties} [properties] Properties of
|
261
|
-
* availability state.
|
262
|
-
*/
|
263
|
-
properties?: AvailabilityStatusProperties;
|
264
|
-
}
|
265
|
-
|
266
|
-
/**
|
267
|
-
* @interface
|
268
|
-
* An interface representing OperationDisplay.
|
269
|
-
* Properties of the operation.
|
270
|
-
*
|
271
|
-
*/
|
272
|
-
export interface OperationDisplay {
|
273
|
-
/**
|
274
|
-
* @member {string} [provider] Provider name.
|
275
|
-
*/
|
276
|
-
provider?: string;
|
277
|
-
/**
|
278
|
-
* @member {string} [resource] Resource name.
|
279
|
-
*/
|
280
|
-
resource?: string;
|
281
|
-
/**
|
282
|
-
* @member {string} [operation] Operation name.
|
283
|
-
*/
|
284
|
-
operation?: string;
|
285
|
-
/**
|
286
|
-
* @member {string} [description] Description of the operation.
|
287
|
-
*/
|
288
|
-
description?: string;
|
289
|
-
}
|
290
|
-
|
291
|
-
/**
|
292
|
-
* @interface
|
293
|
-
* An interface representing Operation.
|
294
|
-
* Operation available in the resourcehealth resource provider.
|
295
|
-
*
|
296
|
-
*/
|
297
|
-
export interface Operation {
|
298
|
-
/**
|
299
|
-
* @member {string} [name] Name of the operation.
|
300
|
-
*/
|
301
|
-
name?: string;
|
302
|
-
/**
|
303
|
-
* @member {OperationDisplay} [display] Properties of the operation.
|
304
|
-
*/
|
305
|
-
display?: OperationDisplay;
|
306
|
-
}
|
307
|
-
|
308
|
-
/**
|
309
|
-
* @interface
|
310
|
-
* An interface representing OperationListResult.
|
311
|
-
* Lists the operations response.
|
312
|
-
*
|
313
|
-
*/
|
314
|
-
export interface OperationListResult {
|
315
|
-
/**
|
316
|
-
* @member {Operation[]} value List of operations available in the
|
317
|
-
* resourcehealth resource provider.
|
318
|
-
*/
|
319
|
-
value: Operation[];
|
320
|
-
}
|
321
|
-
|
322
|
-
/**
|
323
|
-
* @interface
|
324
|
-
* An interface representing ErrorResponse.
|
325
|
-
* Error details.
|
326
|
-
*
|
327
|
-
*/
|
328
|
-
export interface ErrorResponse {
|
329
|
-
/**
|
330
|
-
* @member {string} [code] The error code.
|
331
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
332
|
-
* the server.**
|
333
|
-
*/
|
334
|
-
readonly code?: string;
|
335
|
-
/**
|
336
|
-
* @member {string} [message] The error message.
|
337
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
338
|
-
* the server.**
|
339
|
-
*/
|
340
|
-
readonly message?: string;
|
341
|
-
/**
|
342
|
-
* @member {string} [details] The error details.
|
343
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
344
|
-
* the server.**
|
345
|
-
*/
|
346
|
-
readonly details?: string;
|
347
|
-
}
|
348
|
-
|
349
|
-
/**
|
350
|
-
* @interface
|
351
|
-
* An interface representing AvailabilityStatusesListBySubscriptionIdOptionalParams.
|
352
|
-
* Optional Parameters.
|
353
|
-
*
|
354
|
-
* @extends RequestOptionsBase
|
355
|
-
*/
|
356
|
-
export interface AvailabilityStatusesListBySubscriptionIdOptionalParams extends msRest.RequestOptionsBase {
|
357
|
-
/**
|
358
|
-
* @member {string} [filter] The filter to apply on the operation. For more
|
359
|
-
* information please see
|
360
|
-
* https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
|
361
|
-
*/
|
362
|
-
filter?: string;
|
363
|
-
/**
|
364
|
-
* @member {string} [expand] Setting $expand=recommendedactions in url query
|
365
|
-
* expands the recommendedactions in the response.
|
366
|
-
*/
|
367
|
-
expand?: string;
|
368
|
-
}
|
369
|
-
|
370
|
-
/**
|
371
|
-
* @interface
|
372
|
-
* An interface representing AvailabilityStatusesListByResourceGroupOptionalParams.
|
373
|
-
* Optional Parameters.
|
374
|
-
*
|
375
|
-
* @extends RequestOptionsBase
|
376
|
-
*/
|
377
|
-
export interface AvailabilityStatusesListByResourceGroupOptionalParams extends msRest.RequestOptionsBase {
|
378
|
-
/**
|
379
|
-
* @member {string} [filter] The filter to apply on the operation. For more
|
380
|
-
* information please see
|
381
|
-
* https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
|
382
|
-
*/
|
383
|
-
filter?: string;
|
384
|
-
/**
|
385
|
-
* @member {string} [expand] Setting $expand=recommendedactions in url query
|
386
|
-
* expands the recommendedactions in the response.
|
387
|
-
*/
|
388
|
-
expand?: string;
|
389
|
-
}
|
390
|
-
|
391
|
-
/**
|
392
|
-
* @interface
|
393
|
-
* An interface representing AvailabilityStatusesGetByResourceOptionalParams.
|
394
|
-
* Optional Parameters.
|
395
|
-
*
|
396
|
-
* @extends RequestOptionsBase
|
397
|
-
*/
|
398
|
-
export interface AvailabilityStatusesGetByResourceOptionalParams extends msRest.RequestOptionsBase {
|
399
|
-
/**
|
400
|
-
* @member {string} [filter] The filter to apply on the operation. For more
|
401
|
-
* information please see
|
402
|
-
* https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
|
403
|
-
*/
|
404
|
-
filter?: string;
|
405
|
-
/**
|
406
|
-
* @member {string} [expand] Setting $expand=recommendedactions in url query
|
407
|
-
* expands the recommendedactions in the response.
|
408
|
-
*/
|
409
|
-
expand?: string;
|
410
|
-
}
|
411
|
-
|
412
|
-
/**
|
413
|
-
* @interface
|
414
|
-
* An interface representing AvailabilityStatusesListOptionalParams.
|
415
|
-
* Optional Parameters.
|
416
|
-
*
|
417
|
-
* @extends RequestOptionsBase
|
418
|
-
*/
|
419
|
-
export interface AvailabilityStatusesListOptionalParams extends msRest.RequestOptionsBase {
|
420
|
-
/**
|
421
|
-
* @member {string} [filter] The filter to apply on the operation. For more
|
422
|
-
* information please see
|
423
|
-
* https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN
|
424
|
-
*/
|
425
|
-
filter?: string;
|
426
|
-
/**
|
427
|
-
* @member {string} [expand] Setting $expand=recommendedactions in url query
|
428
|
-
* expands the recommendedactions in the response.
|
429
|
-
*/
|
430
|
-
expand?: string;
|
431
|
-
}
|
432
|
-
|
433
|
-
/**
|
434
|
-
* @interface
|
435
|
-
* An interface representing MicrosoftResourceHealthOptions.
|
436
|
-
* @extends AzureServiceClientOptions
|
437
|
-
*/
|
438
|
-
export interface MicrosoftResourceHealthOptions extends AzureServiceClientOptions {
|
439
|
-
/**
|
440
|
-
* @member {string} [baseUri]
|
441
|
-
*/
|
442
|
-
baseUri?: string;
|
443
|
-
}
|
444
|
-
|
445
|
-
|
446
|
-
/**
|
447
|
-
* @interface
|
448
|
-
* An interface representing the AvailabilityStatusListResult.
|
449
|
-
* The List availabilityStatus operation response.
|
450
|
-
*
|
451
|
-
* @extends Array<AvailabilityStatus>
|
452
|
-
*/
|
453
|
-
export interface AvailabilityStatusListResult extends Array<AvailabilityStatus> {
|
454
|
-
/**
|
455
|
-
* @member {string} [nextLink] The URI to fetch the next page of
|
456
|
-
* availabilityStatuses. Call ListNext() with this URI to fetch the next page
|
457
|
-
* of availabilityStatuses.
|
458
|
-
*/
|
459
|
-
nextLink?: string;
|
460
|
-
}
|
461
|
-
|
462
|
-
/**
|
463
|
-
* Defines values for AvailabilityStateValues.
|
464
|
-
* Possible values include: 'Available', 'Unavailable', 'Unknown'
|
465
|
-
* @readonly
|
466
|
-
* @enum {string}
|
467
|
-
*/
|
468
|
-
export type AvailabilityStateValues = 'Available' | 'Unavailable' | 'Unknown';
|
469
|
-
|
470
|
-
/**
|
471
|
-
* Defines values for ReasonChronicityTypes.
|
472
|
-
* Possible values include: 'Transient', 'Persistent'
|
473
|
-
* @readonly
|
474
|
-
* @enum {string}
|
475
|
-
*/
|
476
|
-
export type ReasonChronicityTypes = 'Transient' | 'Persistent';
|
477
|
-
|
478
|
-
/**
|
479
|
-
* Contains response data for the listBySubscriptionId operation.
|
480
|
-
*/
|
481
|
-
export type AvailabilityStatusesListBySubscriptionIdResponse = AvailabilityStatusListResult & {
|
482
|
-
/**
|
483
|
-
* The underlying HTTP response.
|
484
|
-
*/
|
485
|
-
_response: msRest.HttpResponse & {
|
486
|
-
/**
|
487
|
-
* The response body as text (string format)
|
488
|
-
*/
|
489
|
-
bodyAsText: string;
|
490
|
-
/**
|
491
|
-
* The response body as parsed JSON or XML
|
492
|
-
*/
|
493
|
-
parsedBody: AvailabilityStatusListResult;
|
494
|
-
};
|
495
|
-
};
|
496
|
-
|
497
|
-
/**
|
498
|
-
* Contains response data for the listByResourceGroup operation.
|
499
|
-
*/
|
500
|
-
export type AvailabilityStatusesListByResourceGroupResponse = AvailabilityStatusListResult & {
|
501
|
-
/**
|
502
|
-
* The underlying HTTP response.
|
503
|
-
*/
|
504
|
-
_response: msRest.HttpResponse & {
|
505
|
-
/**
|
506
|
-
* The response body as text (string format)
|
507
|
-
*/
|
508
|
-
bodyAsText: string;
|
509
|
-
/**
|
510
|
-
* The response body as parsed JSON or XML
|
511
|
-
*/
|
512
|
-
parsedBody: AvailabilityStatusListResult;
|
513
|
-
};
|
514
|
-
};
|
515
|
-
|
516
|
-
/**
|
517
|
-
* Contains response data for the getByResource operation.
|
518
|
-
*/
|
519
|
-
export type AvailabilityStatusesGetByResourceResponse = AvailabilityStatus & {
|
520
|
-
/**
|
521
|
-
* The underlying HTTP response.
|
522
|
-
*/
|
523
|
-
_response: msRest.HttpResponse & {
|
524
|
-
/**
|
525
|
-
* The response body as text (string format)
|
526
|
-
*/
|
527
|
-
bodyAsText: string;
|
528
|
-
/**
|
529
|
-
* The response body as parsed JSON or XML
|
530
|
-
*/
|
531
|
-
parsedBody: AvailabilityStatus;
|
532
|
-
};
|
533
|
-
};
|
534
|
-
|
535
|
-
/**
|
536
|
-
* Contains response data for the list operation.
|
537
|
-
*/
|
538
|
-
export type AvailabilityStatusesListResponse = AvailabilityStatusListResult & {
|
539
|
-
/**
|
540
|
-
* The underlying HTTP response.
|
541
|
-
*/
|
542
|
-
_response: msRest.HttpResponse & {
|
543
|
-
/**
|
544
|
-
* The response body as text (string format)
|
545
|
-
*/
|
546
|
-
bodyAsText: string;
|
547
|
-
/**
|
548
|
-
* The response body as parsed JSON or XML
|
549
|
-
*/
|
550
|
-
parsedBody: AvailabilityStatusListResult;
|
551
|
-
};
|
552
|
-
};
|
553
|
-
|
554
|
-
/**
|
555
|
-
* Contains response data for the listBySubscriptionIdNext operation.
|
556
|
-
*/
|
557
|
-
export type AvailabilityStatusesListBySubscriptionIdNextResponse = AvailabilityStatusListResult & {
|
558
|
-
/**
|
559
|
-
* The underlying HTTP response.
|
560
|
-
*/
|
561
|
-
_response: msRest.HttpResponse & {
|
562
|
-
/**
|
563
|
-
* The response body as text (string format)
|
564
|
-
*/
|
565
|
-
bodyAsText: string;
|
566
|
-
/**
|
567
|
-
* The response body as parsed JSON or XML
|
568
|
-
*/
|
569
|
-
parsedBody: AvailabilityStatusListResult;
|
570
|
-
};
|
571
|
-
};
|
572
|
-
|
573
|
-
/**
|
574
|
-
* Contains response data for the listByResourceGroupNext operation.
|
575
|
-
*/
|
576
|
-
export type AvailabilityStatusesListByResourceGroupNextResponse = AvailabilityStatusListResult & {
|
577
|
-
/**
|
578
|
-
* The underlying HTTP response.
|
579
|
-
*/
|
580
|
-
_response: msRest.HttpResponse & {
|
581
|
-
/**
|
582
|
-
* The response body as text (string format)
|
583
|
-
*/
|
584
|
-
bodyAsText: string;
|
585
|
-
/**
|
586
|
-
* The response body as parsed JSON or XML
|
587
|
-
*/
|
588
|
-
parsedBody: AvailabilityStatusListResult;
|
589
|
-
};
|
590
|
-
};
|
591
|
-
|
592
|
-
/**
|
593
|
-
* Contains response data for the listNext operation.
|
594
|
-
*/
|
595
|
-
export type AvailabilityStatusesListNextResponse = AvailabilityStatusListResult & {
|
596
|
-
/**
|
597
|
-
* The underlying HTTP response.
|
598
|
-
*/
|
599
|
-
_response: msRest.HttpResponse & {
|
600
|
-
/**
|
601
|
-
* The response body as text (string format)
|
602
|
-
*/
|
603
|
-
bodyAsText: string;
|
604
|
-
/**
|
605
|
-
* The response body as parsed JSON or XML
|
606
|
-
*/
|
607
|
-
parsedBody: AvailabilityStatusListResult;
|
608
|
-
};
|
609
|
-
};
|
610
|
-
|
611
|
-
/**
|
612
|
-
* Contains response data for the list operation.
|
613
|
-
*/
|
614
|
-
export type OperationsListResponse = OperationListResult & {
|
615
|
-
/**
|
616
|
-
* The underlying HTTP response.
|
617
|
-
*/
|
618
|
-
_response: msRest.HttpResponse & {
|
619
|
-
/**
|
620
|
-
* The response body as text (string format)
|
621
|
-
*/
|
622
|
-
bodyAsText: string;
|
623
|
-
/**
|
624
|
-
* The response body as parsed JSON or XML
|
625
|
-
*/
|
626
|
-
parsedBody: OperationListResult;
|
627
|
-
};
|
628
|
-
};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
* license information.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
9
|
-
*/
|
10
|
-
|
11
|
-
export {
|
12
|
-
OperationListResult,
|
13
|
-
Operation,
|
14
|
-
OperationDisplay,
|
15
|
-
ErrorResponse
|
16
|
-
} from "../models/mappers";
|
17
|
-
|