@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.
- package/CHANGELOG.md +14 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -82
- 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 +233 -309
- 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 +44 -39
- 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/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- 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/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/availabilityStatuses.js} +2 -7
- 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/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js} +2 -2
- 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/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
- 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 +63 -32
- package/review/arm-resourcehealth.api.md +396 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +13 -0
- package/src/microsoftResourceHealth.ts +38 -41
- package/src/microsoftResourceHealthContext.ts +47 -44
- package/src/models/index.ts +322 -878
- package/src/models/mappers.ts +232 -320
- package/src/models/parameters.ts +58 -40
- package/src/operations/availabilityStatuses.ts +325 -276
- package/src/operations/childAvailabilityStatuses.ts +137 -130
- package/src/operations/childResources.ts +109 -85
- package/src/operations/emergingIssues.ts +96 -103
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +24 -38
- 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 +3 -3
- package/types/arm-resourcehealth.d.ts +588 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-resourcehealth.js +0 -1743
- 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 -29
- package/esm/microsoftResourceHealth.d.ts.map +0 -1
- package/esm/microsoftResourceHealth.js +0 -42
- package/esm/microsoftResourceHealth.js.map +0 -1
- package/esm/microsoftResourceHealthContext.d.ts +0 -23
- package/esm/microsoftResourceHealthContext.d.ts.map +0 -1
- package/esm/microsoftResourceHealthContext.js +0 -61
- 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 -9
- package/esm/models/availabilityStatusesMappers.js.map +0 -1
- package/esm/models/childAvailabilityStatusesMappers.d.ts +0 -2
- package/esm/models/childAvailabilityStatusesMappers.d.ts.map +0 -1
- package/esm/models/childAvailabilityStatusesMappers.js +0 -9
- package/esm/models/childAvailabilityStatusesMappers.js.map +0 -1
- package/esm/models/childResourcesMappers.d.ts +0 -2
- package/esm/models/childResourcesMappers.d.ts.map +0 -1
- package/esm/models/childResourcesMappers.js +0 -9
- package/esm/models/childResourcesMappers.js.map +0 -1
- package/esm/models/emergingIssuesMappers.d.ts +0 -2
- package/esm/models/emergingIssuesMappers.d.ts.map +0 -1
- package/esm/models/emergingIssuesMappers.js +0 -9
- package/esm/models/emergingIssuesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -957
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -26
- 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.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- 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 -239
- package/esm/operations/availabilityStatuses.js.map +0 -1
- package/esm/operations/childAvailabilityStatuses.d.ts +0 -81
- package/esm/operations/childAvailabilityStatuses.d.ts.map +0 -1
- package/esm/operations/childAvailabilityStatuses.js +0 -117
- package/esm/operations/childAvailabilityStatuses.js.map +0 -1
- package/esm/operations/childResources.d.ts +0 -57
- package/esm/operations/childResources.d.ts.map +0 -1
- package/esm/operations/childResources.js +0 -87
- package/esm/operations/childResources.js.map +0 -1
- package/esm/operations/emergingIssues.d.ts +0 -61
- package/esm/operations/emergingIssues.d.ts.map +0 -1
- package/esm/operations/emergingIssues.js +0 -106
- package/esm/operations/emergingIssues.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- 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 -50
- package/esm/operations/operations.js.map +0 -1
- package/src/models/availabilityStatusesMappers.ts +0 -19
- package/src/models/childAvailabilityStatusesMappers.ts +0 -19
- package/src/models/childResourcesMappers.ts +0 -19
- package/src/models/emergingIssuesMappers.ts +0 -22
@@ -1,1743 +0,0 @@
|
|
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
|
-
(function (global, factory) {
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
11
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmResourcehealth = {}), global.msRestAzure, global.msRest));
|
12
|
-
}(this, (function (exports, msRestAzure, msRest) { 'use strict';
|
13
|
-
|
14
|
-
/*! *****************************************************************************
|
15
|
-
Copyright (c) Microsoft Corporation.
|
16
|
-
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
18
|
-
purpose with or without fee is hereby granted.
|
19
|
-
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
27
|
-
***************************************************************************** */
|
28
|
-
/* global Reflect, Promise */
|
29
|
-
|
30
|
-
var extendStatics = function(d, b) {
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
34
|
-
return extendStatics(d, b);
|
35
|
-
};
|
36
|
-
|
37
|
-
function __extends(d, b) {
|
38
|
-
extendStatics(d, b);
|
39
|
-
function __() { this.constructor = d; }
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
41
|
-
}
|
42
|
-
|
43
|
-
var __assign = function() {
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
46
|
-
s = arguments[i];
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
48
|
-
}
|
49
|
-
return t;
|
50
|
-
};
|
51
|
-
return __assign.apply(this, arguments);
|
52
|
-
};
|
53
|
-
|
54
|
-
/*
|
55
|
-
* Copyright (c) Microsoft Corporation.
|
56
|
-
* Licensed under the MIT License.
|
57
|
-
*
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
60
|
-
*/
|
61
|
-
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
63
|
-
__proto__: null
|
64
|
-
});
|
65
|
-
|
66
|
-
/*
|
67
|
-
* Copyright (c) Microsoft Corporation.
|
68
|
-
* Licensed under the MIT License.
|
69
|
-
*
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
72
|
-
*/
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
75
|
-
var AvailabilityStatusPropertiesRecentlyResolvedState = {
|
76
|
-
serializedName: "availabilityStatus_properties_recentlyResolvedState",
|
77
|
-
type: {
|
78
|
-
name: "Composite",
|
79
|
-
className: "AvailabilityStatusPropertiesRecentlyResolvedState",
|
80
|
-
modelProperties: {
|
81
|
-
unavailableOccurredTime: {
|
82
|
-
serializedName: "unavailableOccurredTime",
|
83
|
-
type: {
|
84
|
-
name: "DateTime"
|
85
|
-
}
|
86
|
-
},
|
87
|
-
resolvedTime: {
|
88
|
-
serializedName: "resolvedTime",
|
89
|
-
type: {
|
90
|
-
name: "DateTime"
|
91
|
-
}
|
92
|
-
},
|
93
|
-
unavailabilitySummary: {
|
94
|
-
serializedName: "unavailabilitySummary",
|
95
|
-
type: {
|
96
|
-
name: "String"
|
97
|
-
}
|
98
|
-
}
|
99
|
-
}
|
100
|
-
}
|
101
|
-
};
|
102
|
-
var RecommendedAction = {
|
103
|
-
serializedName: "recommendedAction",
|
104
|
-
type: {
|
105
|
-
name: "Composite",
|
106
|
-
className: "RecommendedAction",
|
107
|
-
modelProperties: {
|
108
|
-
action: {
|
109
|
-
serializedName: "action",
|
110
|
-
type: {
|
111
|
-
name: "String"
|
112
|
-
}
|
113
|
-
},
|
114
|
-
actionUrl: {
|
115
|
-
serializedName: "actionUrl",
|
116
|
-
type: {
|
117
|
-
name: "String"
|
118
|
-
}
|
119
|
-
},
|
120
|
-
actionUrlText: {
|
121
|
-
serializedName: "actionUrlText",
|
122
|
-
type: {
|
123
|
-
name: "String"
|
124
|
-
}
|
125
|
-
}
|
126
|
-
}
|
127
|
-
}
|
128
|
-
};
|
129
|
-
var ServiceImpactingEventStatus = {
|
130
|
-
serializedName: "serviceImpactingEvent_status",
|
131
|
-
type: {
|
132
|
-
name: "Composite",
|
133
|
-
className: "ServiceImpactingEventStatus",
|
134
|
-
modelProperties: {
|
135
|
-
value: {
|
136
|
-
serializedName: "value",
|
137
|
-
type: {
|
138
|
-
name: "String"
|
139
|
-
}
|
140
|
-
}
|
141
|
-
}
|
142
|
-
}
|
143
|
-
};
|
144
|
-
var ServiceImpactingEventIncidentProperties = {
|
145
|
-
serializedName: "serviceImpactingEvent_incidentProperties",
|
146
|
-
type: {
|
147
|
-
name: "Composite",
|
148
|
-
className: "ServiceImpactingEventIncidentProperties",
|
149
|
-
modelProperties: {
|
150
|
-
title: {
|
151
|
-
serializedName: "title",
|
152
|
-
type: {
|
153
|
-
name: "String"
|
154
|
-
}
|
155
|
-
},
|
156
|
-
service: {
|
157
|
-
serializedName: "service",
|
158
|
-
type: {
|
159
|
-
name: "String"
|
160
|
-
}
|
161
|
-
},
|
162
|
-
region: {
|
163
|
-
serializedName: "region",
|
164
|
-
type: {
|
165
|
-
name: "String"
|
166
|
-
}
|
167
|
-
},
|
168
|
-
incidentType: {
|
169
|
-
serializedName: "incidentType",
|
170
|
-
type: {
|
171
|
-
name: "String"
|
172
|
-
}
|
173
|
-
}
|
174
|
-
}
|
175
|
-
}
|
176
|
-
};
|
177
|
-
var ServiceImpactingEvent = {
|
178
|
-
serializedName: "serviceImpactingEvent",
|
179
|
-
type: {
|
180
|
-
name: "Composite",
|
181
|
-
className: "ServiceImpactingEvent",
|
182
|
-
modelProperties: {
|
183
|
-
eventStartTime: {
|
184
|
-
serializedName: "eventStartTime",
|
185
|
-
type: {
|
186
|
-
name: "DateTime"
|
187
|
-
}
|
188
|
-
},
|
189
|
-
eventStatusLastModifiedTime: {
|
190
|
-
serializedName: "eventStatusLastModifiedTime",
|
191
|
-
type: {
|
192
|
-
name: "DateTime"
|
193
|
-
}
|
194
|
-
},
|
195
|
-
correlationId: {
|
196
|
-
serializedName: "correlationId",
|
197
|
-
type: {
|
198
|
-
name: "String"
|
199
|
-
}
|
200
|
-
},
|
201
|
-
status: {
|
202
|
-
serializedName: "status",
|
203
|
-
type: {
|
204
|
-
name: "Composite",
|
205
|
-
className: "ServiceImpactingEventStatus"
|
206
|
-
}
|
207
|
-
},
|
208
|
-
incidentProperties: {
|
209
|
-
serializedName: "incidentProperties",
|
210
|
-
type: {
|
211
|
-
name: "Composite",
|
212
|
-
className: "ServiceImpactingEventIncidentProperties"
|
213
|
-
}
|
214
|
-
}
|
215
|
-
}
|
216
|
-
}
|
217
|
-
};
|
218
|
-
var AvailabilityStatusProperties = {
|
219
|
-
serializedName: "availabilityStatus_properties",
|
220
|
-
type: {
|
221
|
-
name: "Composite",
|
222
|
-
className: "AvailabilityStatusProperties",
|
223
|
-
modelProperties: {
|
224
|
-
availabilityState: {
|
225
|
-
serializedName: "availabilityState",
|
226
|
-
type: {
|
227
|
-
name: "Enum",
|
228
|
-
allowedValues: [
|
229
|
-
"Available",
|
230
|
-
"Unavailable",
|
231
|
-
"Unknown"
|
232
|
-
]
|
233
|
-
}
|
234
|
-
},
|
235
|
-
summary: {
|
236
|
-
serializedName: "summary",
|
237
|
-
type: {
|
238
|
-
name: "String"
|
239
|
-
}
|
240
|
-
},
|
241
|
-
detailedStatus: {
|
242
|
-
serializedName: "detailedStatus",
|
243
|
-
type: {
|
244
|
-
name: "String"
|
245
|
-
}
|
246
|
-
},
|
247
|
-
reasonType: {
|
248
|
-
serializedName: "reasonType",
|
249
|
-
type: {
|
250
|
-
name: "String"
|
251
|
-
}
|
252
|
-
},
|
253
|
-
rootCauseAttributionTime: {
|
254
|
-
serializedName: "rootCauseAttributionTime",
|
255
|
-
type: {
|
256
|
-
name: "DateTime"
|
257
|
-
}
|
258
|
-
},
|
259
|
-
healthEventType: {
|
260
|
-
serializedName: "healthEventType",
|
261
|
-
type: {
|
262
|
-
name: "String"
|
263
|
-
}
|
264
|
-
},
|
265
|
-
healthEventCause: {
|
266
|
-
serializedName: "healthEventCause",
|
267
|
-
type: {
|
268
|
-
name: "String"
|
269
|
-
}
|
270
|
-
},
|
271
|
-
healthEventCategory: {
|
272
|
-
serializedName: "healthEventCategory",
|
273
|
-
type: {
|
274
|
-
name: "String"
|
275
|
-
}
|
276
|
-
},
|
277
|
-
healthEventId: {
|
278
|
-
serializedName: "healthEventId",
|
279
|
-
type: {
|
280
|
-
name: "String"
|
281
|
-
}
|
282
|
-
},
|
283
|
-
resolutionETA: {
|
284
|
-
serializedName: "resolutionETA",
|
285
|
-
type: {
|
286
|
-
name: "DateTime"
|
287
|
-
}
|
288
|
-
},
|
289
|
-
occuredTime: {
|
290
|
-
serializedName: "occuredTime",
|
291
|
-
type: {
|
292
|
-
name: "DateTime"
|
293
|
-
}
|
294
|
-
},
|
295
|
-
reasonChronicity: {
|
296
|
-
serializedName: "reasonChronicity",
|
297
|
-
type: {
|
298
|
-
name: "Enum",
|
299
|
-
allowedValues: [
|
300
|
-
"Transient",
|
301
|
-
"Persistent"
|
302
|
-
]
|
303
|
-
}
|
304
|
-
},
|
305
|
-
reportedTime: {
|
306
|
-
serializedName: "reportedTime",
|
307
|
-
type: {
|
308
|
-
name: "DateTime"
|
309
|
-
}
|
310
|
-
},
|
311
|
-
recentlyResolvedState: {
|
312
|
-
serializedName: "recentlyResolvedState",
|
313
|
-
type: {
|
314
|
-
name: "Composite",
|
315
|
-
className: "AvailabilityStatusPropertiesRecentlyResolvedState"
|
316
|
-
}
|
317
|
-
},
|
318
|
-
recommendedActions: {
|
319
|
-
serializedName: "recommendedActions",
|
320
|
-
type: {
|
321
|
-
name: "Sequence",
|
322
|
-
element: {
|
323
|
-
type: {
|
324
|
-
name: "Composite",
|
325
|
-
className: "RecommendedAction"
|
326
|
-
}
|
327
|
-
}
|
328
|
-
}
|
329
|
-
},
|
330
|
-
serviceImpactingEvents: {
|
331
|
-
serializedName: "serviceImpactingEvents",
|
332
|
-
type: {
|
333
|
-
name: "Sequence",
|
334
|
-
element: {
|
335
|
-
type: {
|
336
|
-
name: "Composite",
|
337
|
-
className: "ServiceImpactingEvent"
|
338
|
-
}
|
339
|
-
}
|
340
|
-
}
|
341
|
-
}
|
342
|
-
}
|
343
|
-
}
|
344
|
-
};
|
345
|
-
var AvailabilityStatus = {
|
346
|
-
serializedName: "availabilityStatus",
|
347
|
-
type: {
|
348
|
-
name: "Composite",
|
349
|
-
className: "AvailabilityStatus",
|
350
|
-
modelProperties: {
|
351
|
-
id: {
|
352
|
-
serializedName: "id",
|
353
|
-
type: {
|
354
|
-
name: "String"
|
355
|
-
}
|
356
|
-
},
|
357
|
-
name: {
|
358
|
-
serializedName: "name",
|
359
|
-
type: {
|
360
|
-
name: "String"
|
361
|
-
}
|
362
|
-
},
|
363
|
-
type: {
|
364
|
-
serializedName: "type",
|
365
|
-
type: {
|
366
|
-
name: "String"
|
367
|
-
}
|
368
|
-
},
|
369
|
-
location: {
|
370
|
-
serializedName: "location",
|
371
|
-
type: {
|
372
|
-
name: "String"
|
373
|
-
}
|
374
|
-
},
|
375
|
-
properties: {
|
376
|
-
serializedName: "properties",
|
377
|
-
type: {
|
378
|
-
name: "Composite",
|
379
|
-
className: "AvailabilityStatusProperties"
|
380
|
-
}
|
381
|
-
}
|
382
|
-
}
|
383
|
-
}
|
384
|
-
};
|
385
|
-
var OperationDisplay = {
|
386
|
-
serializedName: "operation_display",
|
387
|
-
type: {
|
388
|
-
name: "Composite",
|
389
|
-
className: "OperationDisplay",
|
390
|
-
modelProperties: {
|
391
|
-
provider: {
|
392
|
-
serializedName: "provider",
|
393
|
-
type: {
|
394
|
-
name: "String"
|
395
|
-
}
|
396
|
-
},
|
397
|
-
resource: {
|
398
|
-
serializedName: "resource",
|
399
|
-
type: {
|
400
|
-
name: "String"
|
401
|
-
}
|
402
|
-
},
|
403
|
-
operation: {
|
404
|
-
serializedName: "operation",
|
405
|
-
type: {
|
406
|
-
name: "String"
|
407
|
-
}
|
408
|
-
},
|
409
|
-
description: {
|
410
|
-
serializedName: "description",
|
411
|
-
type: {
|
412
|
-
name: "String"
|
413
|
-
}
|
414
|
-
}
|
415
|
-
}
|
416
|
-
}
|
417
|
-
};
|
418
|
-
var Operation = {
|
419
|
-
serializedName: "operation",
|
420
|
-
type: {
|
421
|
-
name: "Composite",
|
422
|
-
className: "Operation",
|
423
|
-
modelProperties: {
|
424
|
-
name: {
|
425
|
-
serializedName: "name",
|
426
|
-
type: {
|
427
|
-
name: "String"
|
428
|
-
}
|
429
|
-
},
|
430
|
-
display: {
|
431
|
-
serializedName: "display",
|
432
|
-
type: {
|
433
|
-
name: "Composite",
|
434
|
-
className: "OperationDisplay"
|
435
|
-
}
|
436
|
-
}
|
437
|
-
}
|
438
|
-
}
|
439
|
-
};
|
440
|
-
var OperationListResult = {
|
441
|
-
serializedName: "operationListResult",
|
442
|
-
type: {
|
443
|
-
name: "Composite",
|
444
|
-
className: "OperationListResult",
|
445
|
-
modelProperties: {
|
446
|
-
value: {
|
447
|
-
required: true,
|
448
|
-
serializedName: "value",
|
449
|
-
type: {
|
450
|
-
name: "Sequence",
|
451
|
-
element: {
|
452
|
-
type: {
|
453
|
-
name: "Composite",
|
454
|
-
className: "Operation"
|
455
|
-
}
|
456
|
-
}
|
457
|
-
}
|
458
|
-
}
|
459
|
-
}
|
460
|
-
}
|
461
|
-
};
|
462
|
-
var StatusBanner = {
|
463
|
-
serializedName: "statusBanner",
|
464
|
-
type: {
|
465
|
-
name: "Composite",
|
466
|
-
className: "StatusBanner",
|
467
|
-
modelProperties: {
|
468
|
-
title: {
|
469
|
-
serializedName: "title",
|
470
|
-
type: {
|
471
|
-
name: "String"
|
472
|
-
}
|
473
|
-
},
|
474
|
-
message: {
|
475
|
-
serializedName: "message",
|
476
|
-
type: {
|
477
|
-
name: "String"
|
478
|
-
}
|
479
|
-
},
|
480
|
-
cloud: {
|
481
|
-
serializedName: "cloud",
|
482
|
-
type: {
|
483
|
-
name: "String"
|
484
|
-
}
|
485
|
-
},
|
486
|
-
lastModifiedTime: {
|
487
|
-
serializedName: "lastModifiedTime",
|
488
|
-
type: {
|
489
|
-
name: "DateTime"
|
490
|
-
}
|
491
|
-
}
|
492
|
-
}
|
493
|
-
}
|
494
|
-
};
|
495
|
-
var ImpactedRegion = {
|
496
|
-
serializedName: "impactedRegion",
|
497
|
-
type: {
|
498
|
-
name: "Composite",
|
499
|
-
className: "ImpactedRegion",
|
500
|
-
modelProperties: {
|
501
|
-
id: {
|
502
|
-
serializedName: "id",
|
503
|
-
type: {
|
504
|
-
name: "String"
|
505
|
-
}
|
506
|
-
},
|
507
|
-
name: {
|
508
|
-
serializedName: "name",
|
509
|
-
type: {
|
510
|
-
name: "String"
|
511
|
-
}
|
512
|
-
}
|
513
|
-
}
|
514
|
-
}
|
515
|
-
};
|
516
|
-
var EmergingIssueImpact = {
|
517
|
-
serializedName: "emergingIssueImpact",
|
518
|
-
type: {
|
519
|
-
name: "Composite",
|
520
|
-
className: "EmergingIssueImpact",
|
521
|
-
modelProperties: {
|
522
|
-
id: {
|
523
|
-
serializedName: "id",
|
524
|
-
type: {
|
525
|
-
name: "String"
|
526
|
-
}
|
527
|
-
},
|
528
|
-
name: {
|
529
|
-
serializedName: "name",
|
530
|
-
type: {
|
531
|
-
name: "String"
|
532
|
-
}
|
533
|
-
},
|
534
|
-
regions: {
|
535
|
-
serializedName: "regions",
|
536
|
-
type: {
|
537
|
-
name: "Sequence",
|
538
|
-
element: {
|
539
|
-
type: {
|
540
|
-
name: "Composite",
|
541
|
-
className: "ImpactedRegion"
|
542
|
-
}
|
543
|
-
}
|
544
|
-
}
|
545
|
-
}
|
546
|
-
}
|
547
|
-
}
|
548
|
-
};
|
549
|
-
var StatusActiveEvent = {
|
550
|
-
serializedName: "statusActiveEvent",
|
551
|
-
type: {
|
552
|
-
name: "Composite",
|
553
|
-
className: "StatusActiveEvent",
|
554
|
-
modelProperties: {
|
555
|
-
title: {
|
556
|
-
serializedName: "title",
|
557
|
-
type: {
|
558
|
-
name: "String"
|
559
|
-
}
|
560
|
-
},
|
561
|
-
description: {
|
562
|
-
serializedName: "description",
|
563
|
-
type: {
|
564
|
-
name: "String"
|
565
|
-
}
|
566
|
-
},
|
567
|
-
trackingId: {
|
568
|
-
serializedName: "trackingId",
|
569
|
-
type: {
|
570
|
-
name: "String"
|
571
|
-
}
|
572
|
-
},
|
573
|
-
startTime: {
|
574
|
-
serializedName: "startTime",
|
575
|
-
type: {
|
576
|
-
name: "DateTime"
|
577
|
-
}
|
578
|
-
},
|
579
|
-
cloud: {
|
580
|
-
serializedName: "cloud",
|
581
|
-
type: {
|
582
|
-
name: "String"
|
583
|
-
}
|
584
|
-
},
|
585
|
-
severity: {
|
586
|
-
serializedName: "severity",
|
587
|
-
type: {
|
588
|
-
name: "String"
|
589
|
-
}
|
590
|
-
},
|
591
|
-
stage: {
|
592
|
-
serializedName: "stage",
|
593
|
-
type: {
|
594
|
-
name: "String"
|
595
|
-
}
|
596
|
-
},
|
597
|
-
published: {
|
598
|
-
serializedName: "published",
|
599
|
-
type: {
|
600
|
-
name: "Boolean"
|
601
|
-
}
|
602
|
-
},
|
603
|
-
lastModifiedTime: {
|
604
|
-
serializedName: "lastModifiedTime",
|
605
|
-
type: {
|
606
|
-
name: "DateTime"
|
607
|
-
}
|
608
|
-
},
|
609
|
-
impacts: {
|
610
|
-
serializedName: "impacts",
|
611
|
-
type: {
|
612
|
-
name: "Sequence",
|
613
|
-
element: {
|
614
|
-
type: {
|
615
|
-
name: "Composite",
|
616
|
-
className: "EmergingIssueImpact"
|
617
|
-
}
|
618
|
-
}
|
619
|
-
}
|
620
|
-
}
|
621
|
-
}
|
622
|
-
}
|
623
|
-
};
|
624
|
-
var Resource = {
|
625
|
-
serializedName: "Resource",
|
626
|
-
type: {
|
627
|
-
name: "Composite",
|
628
|
-
className: "Resource",
|
629
|
-
modelProperties: {
|
630
|
-
id: {
|
631
|
-
readOnly: true,
|
632
|
-
serializedName: "id",
|
633
|
-
type: {
|
634
|
-
name: "String"
|
635
|
-
}
|
636
|
-
},
|
637
|
-
name: {
|
638
|
-
readOnly: true,
|
639
|
-
serializedName: "name",
|
640
|
-
type: {
|
641
|
-
name: "String"
|
642
|
-
}
|
643
|
-
},
|
644
|
-
type: {
|
645
|
-
readOnly: true,
|
646
|
-
serializedName: "type",
|
647
|
-
type: {
|
648
|
-
name: "String"
|
649
|
-
}
|
650
|
-
}
|
651
|
-
}
|
652
|
-
}
|
653
|
-
};
|
654
|
-
var EmergingIssuesGetResult = {
|
655
|
-
serializedName: "emergingIssuesGetResult",
|
656
|
-
type: {
|
657
|
-
name: "Composite",
|
658
|
-
className: "EmergingIssuesGetResult",
|
659
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { refreshTimestamp: {
|
660
|
-
serializedName: "properties.refreshTimestamp",
|
661
|
-
type: {
|
662
|
-
name: "DateTime"
|
663
|
-
}
|
664
|
-
}, statusBanners: {
|
665
|
-
serializedName: "properties.statusBanners",
|
666
|
-
type: {
|
667
|
-
name: "Sequence",
|
668
|
-
element: {
|
669
|
-
type: {
|
670
|
-
name: "Composite",
|
671
|
-
className: "StatusBanner"
|
672
|
-
}
|
673
|
-
}
|
674
|
-
}
|
675
|
-
}, statusActiveEvents: {
|
676
|
-
serializedName: "properties.statusActiveEvents",
|
677
|
-
type: {
|
678
|
-
name: "Sequence",
|
679
|
-
element: {
|
680
|
-
type: {
|
681
|
-
name: "Composite",
|
682
|
-
className: "StatusActiveEvent"
|
683
|
-
}
|
684
|
-
}
|
685
|
-
}
|
686
|
-
} })
|
687
|
-
}
|
688
|
-
};
|
689
|
-
var ErrorResponse = {
|
690
|
-
serializedName: "ErrorResponse",
|
691
|
-
type: {
|
692
|
-
name: "Composite",
|
693
|
-
className: "ErrorResponse",
|
694
|
-
modelProperties: {
|
695
|
-
code: {
|
696
|
-
readOnly: true,
|
697
|
-
serializedName: "code",
|
698
|
-
type: {
|
699
|
-
name: "String"
|
700
|
-
}
|
701
|
-
},
|
702
|
-
message: {
|
703
|
-
readOnly: true,
|
704
|
-
serializedName: "message",
|
705
|
-
type: {
|
706
|
-
name: "String"
|
707
|
-
}
|
708
|
-
},
|
709
|
-
details: {
|
710
|
-
readOnly: true,
|
711
|
-
serializedName: "details",
|
712
|
-
type: {
|
713
|
-
name: "String"
|
714
|
-
}
|
715
|
-
}
|
716
|
-
}
|
717
|
-
}
|
718
|
-
};
|
719
|
-
var ProxyResource = {
|
720
|
-
serializedName: "ProxyResource",
|
721
|
-
type: {
|
722
|
-
name: "Composite",
|
723
|
-
className: "ProxyResource",
|
724
|
-
modelProperties: __assign({}, Resource.type.modelProperties)
|
725
|
-
}
|
726
|
-
};
|
727
|
-
var TrackedResource = {
|
728
|
-
serializedName: "TrackedResource",
|
729
|
-
type: {
|
730
|
-
name: "Composite",
|
731
|
-
className: "TrackedResource",
|
732
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
|
733
|
-
serializedName: "tags",
|
734
|
-
type: {
|
735
|
-
name: "Dictionary",
|
736
|
-
value: {
|
737
|
-
type: {
|
738
|
-
name: "String"
|
739
|
-
}
|
740
|
-
}
|
741
|
-
}
|
742
|
-
}, location: {
|
743
|
-
required: true,
|
744
|
-
serializedName: "location",
|
745
|
-
type: {
|
746
|
-
name: "String"
|
747
|
-
}
|
748
|
-
} })
|
749
|
-
}
|
750
|
-
};
|
751
|
-
var AzureEntityResource = {
|
752
|
-
serializedName: "AzureEntityResource",
|
753
|
-
type: {
|
754
|
-
name: "Composite",
|
755
|
-
className: "AzureEntityResource",
|
756
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
|
757
|
-
readOnly: true,
|
758
|
-
serializedName: "etag",
|
759
|
-
type: {
|
760
|
-
name: "String"
|
761
|
-
}
|
762
|
-
} })
|
763
|
-
}
|
764
|
-
};
|
765
|
-
var AvailabilityStatusListResult = {
|
766
|
-
serializedName: "availabilityStatusListResult",
|
767
|
-
type: {
|
768
|
-
name: "Composite",
|
769
|
-
className: "AvailabilityStatusListResult",
|
770
|
-
modelProperties: {
|
771
|
-
value: {
|
772
|
-
required: true,
|
773
|
-
serializedName: "",
|
774
|
-
type: {
|
775
|
-
name: "Sequence",
|
776
|
-
element: {
|
777
|
-
type: {
|
778
|
-
name: "Composite",
|
779
|
-
className: "AvailabilityStatus"
|
780
|
-
}
|
781
|
-
}
|
782
|
-
}
|
783
|
-
},
|
784
|
-
nextLink: {
|
785
|
-
serializedName: "nextLink",
|
786
|
-
type: {
|
787
|
-
name: "String"
|
788
|
-
}
|
789
|
-
}
|
790
|
-
}
|
791
|
-
}
|
792
|
-
};
|
793
|
-
var EmergingIssueListResult = {
|
794
|
-
serializedName: "emergingIssueListResult",
|
795
|
-
type: {
|
796
|
-
name: "Composite",
|
797
|
-
className: "EmergingIssueListResult",
|
798
|
-
modelProperties: {
|
799
|
-
value: {
|
800
|
-
serializedName: "",
|
801
|
-
type: {
|
802
|
-
name: "Sequence",
|
803
|
-
element: {
|
804
|
-
type: {
|
805
|
-
name: "Composite",
|
806
|
-
className: "EmergingIssuesGetResult"
|
807
|
-
}
|
808
|
-
}
|
809
|
-
}
|
810
|
-
},
|
811
|
-
nextLink: {
|
812
|
-
serializedName: "nextLink",
|
813
|
-
type: {
|
814
|
-
name: "String"
|
815
|
-
}
|
816
|
-
}
|
817
|
-
}
|
818
|
-
}
|
819
|
-
};
|
820
|
-
|
821
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
822
|
-
__proto__: null,
|
823
|
-
CloudError: CloudError,
|
824
|
-
BaseResource: BaseResource,
|
825
|
-
AvailabilityStatusPropertiesRecentlyResolvedState: AvailabilityStatusPropertiesRecentlyResolvedState,
|
826
|
-
RecommendedAction: RecommendedAction,
|
827
|
-
ServiceImpactingEventStatus: ServiceImpactingEventStatus,
|
828
|
-
ServiceImpactingEventIncidentProperties: ServiceImpactingEventIncidentProperties,
|
829
|
-
ServiceImpactingEvent: ServiceImpactingEvent,
|
830
|
-
AvailabilityStatusProperties: AvailabilityStatusProperties,
|
831
|
-
AvailabilityStatus: AvailabilityStatus,
|
832
|
-
OperationDisplay: OperationDisplay,
|
833
|
-
Operation: Operation,
|
834
|
-
OperationListResult: OperationListResult,
|
835
|
-
StatusBanner: StatusBanner,
|
836
|
-
ImpactedRegion: ImpactedRegion,
|
837
|
-
EmergingIssueImpact: EmergingIssueImpact,
|
838
|
-
StatusActiveEvent: StatusActiveEvent,
|
839
|
-
Resource: Resource,
|
840
|
-
EmergingIssuesGetResult: EmergingIssuesGetResult,
|
841
|
-
ErrorResponse: ErrorResponse,
|
842
|
-
ProxyResource: ProxyResource,
|
843
|
-
TrackedResource: TrackedResource,
|
844
|
-
AzureEntityResource: AzureEntityResource,
|
845
|
-
AvailabilityStatusListResult: AvailabilityStatusListResult,
|
846
|
-
EmergingIssueListResult: EmergingIssueListResult
|
847
|
-
});
|
848
|
-
|
849
|
-
/*
|
850
|
-
* Copyright (c) Microsoft Corporation.
|
851
|
-
* Licensed under the MIT License.
|
852
|
-
*
|
853
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
854
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
855
|
-
*/
|
856
|
-
|
857
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
858
|
-
__proto__: null,
|
859
|
-
AvailabilityStatus: AvailabilityStatus,
|
860
|
-
AvailabilityStatusListResult: AvailabilityStatusListResult,
|
861
|
-
AvailabilityStatusProperties: AvailabilityStatusProperties,
|
862
|
-
AvailabilityStatusPropertiesRecentlyResolvedState: AvailabilityStatusPropertiesRecentlyResolvedState,
|
863
|
-
ErrorResponse: ErrorResponse,
|
864
|
-
RecommendedAction: RecommendedAction,
|
865
|
-
ServiceImpactingEvent: ServiceImpactingEvent,
|
866
|
-
ServiceImpactingEventIncidentProperties: ServiceImpactingEventIncidentProperties,
|
867
|
-
ServiceImpactingEventStatus: ServiceImpactingEventStatus
|
868
|
-
});
|
869
|
-
|
870
|
-
/*
|
871
|
-
* Copyright (c) Microsoft Corporation.
|
872
|
-
* Licensed under the MIT License.
|
873
|
-
*
|
874
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
875
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
876
|
-
* regenerated.
|
877
|
-
*/
|
878
|
-
var acceptLanguage = {
|
879
|
-
parameterPath: "acceptLanguage",
|
880
|
-
mapper: {
|
881
|
-
serializedName: "accept-language",
|
882
|
-
defaultValue: 'en-US',
|
883
|
-
type: {
|
884
|
-
name: "String"
|
885
|
-
}
|
886
|
-
}
|
887
|
-
};
|
888
|
-
var apiVersion = {
|
889
|
-
parameterPath: "apiVersion",
|
890
|
-
mapper: {
|
891
|
-
required: true,
|
892
|
-
serializedName: "api-version",
|
893
|
-
type: {
|
894
|
-
name: "String"
|
895
|
-
}
|
896
|
-
}
|
897
|
-
};
|
898
|
-
var expand = {
|
899
|
-
parameterPath: [
|
900
|
-
"options",
|
901
|
-
"expand"
|
902
|
-
],
|
903
|
-
mapper: {
|
904
|
-
serializedName: "$expand",
|
905
|
-
type: {
|
906
|
-
name: "String"
|
907
|
-
}
|
908
|
-
}
|
909
|
-
};
|
910
|
-
var filter = {
|
911
|
-
parameterPath: [
|
912
|
-
"options",
|
913
|
-
"filter"
|
914
|
-
],
|
915
|
-
mapper: {
|
916
|
-
serializedName: "$filter",
|
917
|
-
type: {
|
918
|
-
name: "String"
|
919
|
-
}
|
920
|
-
}
|
921
|
-
};
|
922
|
-
var issueName = {
|
923
|
-
parameterPath: "issueName",
|
924
|
-
mapper: {
|
925
|
-
required: true,
|
926
|
-
isConstant: true,
|
927
|
-
serializedName: "issueName",
|
928
|
-
defaultValue: 'default',
|
929
|
-
type: {
|
930
|
-
name: "String"
|
931
|
-
}
|
932
|
-
}
|
933
|
-
};
|
934
|
-
var nextPageLink = {
|
935
|
-
parameterPath: "nextPageLink",
|
936
|
-
mapper: {
|
937
|
-
required: true,
|
938
|
-
serializedName: "nextLink",
|
939
|
-
type: {
|
940
|
-
name: "String"
|
941
|
-
}
|
942
|
-
},
|
943
|
-
skipEncoding: true
|
944
|
-
};
|
945
|
-
var resourceGroupName = {
|
946
|
-
parameterPath: "resourceGroupName",
|
947
|
-
mapper: {
|
948
|
-
required: true,
|
949
|
-
serializedName: "resourceGroupName",
|
950
|
-
type: {
|
951
|
-
name: "String"
|
952
|
-
}
|
953
|
-
}
|
954
|
-
};
|
955
|
-
var resourceUri = {
|
956
|
-
parameterPath: "resourceUri",
|
957
|
-
mapper: {
|
958
|
-
required: true,
|
959
|
-
serializedName: "resourceUri",
|
960
|
-
type: {
|
961
|
-
name: "String"
|
962
|
-
}
|
963
|
-
},
|
964
|
-
skipEncoding: true
|
965
|
-
};
|
966
|
-
var subscriptionId = {
|
967
|
-
parameterPath: "subscriptionId",
|
968
|
-
mapper: {
|
969
|
-
required: true,
|
970
|
-
serializedName: "subscriptionId",
|
971
|
-
type: {
|
972
|
-
name: "String"
|
973
|
-
}
|
974
|
-
}
|
975
|
-
};
|
976
|
-
|
977
|
-
/*
|
978
|
-
* Copyright (c) Microsoft Corporation.
|
979
|
-
* Licensed under the MIT License.
|
980
|
-
*
|
981
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
982
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
983
|
-
* regenerated.
|
984
|
-
*/
|
985
|
-
/** Class representing a AvailabilityStatuses. */
|
986
|
-
var AvailabilityStatuses = /** @class */ (function () {
|
987
|
-
/**
|
988
|
-
* Create a AvailabilityStatuses.
|
989
|
-
* @param {MicrosoftResourceHealthContext} client Reference to the service client.
|
990
|
-
*/
|
991
|
-
function AvailabilityStatuses(client) {
|
992
|
-
this.client = client;
|
993
|
-
}
|
994
|
-
AvailabilityStatuses.prototype.listBySubscriptionId = function (options, callback) {
|
995
|
-
return this.client.sendOperationRequest({
|
996
|
-
options: options
|
997
|
-
}, listBySubscriptionIdOperationSpec, callback);
|
998
|
-
};
|
999
|
-
AvailabilityStatuses.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
1000
|
-
return this.client.sendOperationRequest({
|
1001
|
-
resourceGroupName: resourceGroupName,
|
1002
|
-
options: options
|
1003
|
-
}, listByResourceGroupOperationSpec, callback);
|
1004
|
-
};
|
1005
|
-
AvailabilityStatuses.prototype.getByResource = function (resourceUri, options, callback) {
|
1006
|
-
return this.client.sendOperationRequest({
|
1007
|
-
resourceUri: resourceUri,
|
1008
|
-
options: options
|
1009
|
-
}, getByResourceOperationSpec, callback);
|
1010
|
-
};
|
1011
|
-
AvailabilityStatuses.prototype.list = function (resourceUri, options, callback) {
|
1012
|
-
return this.client.sendOperationRequest({
|
1013
|
-
resourceUri: resourceUri,
|
1014
|
-
options: options
|
1015
|
-
}, listOperationSpec, callback);
|
1016
|
-
};
|
1017
|
-
AvailabilityStatuses.prototype.listBySubscriptionIdNext = function (nextPageLink, options, callback) {
|
1018
|
-
return this.client.sendOperationRequest({
|
1019
|
-
nextPageLink: nextPageLink,
|
1020
|
-
options: options
|
1021
|
-
}, listBySubscriptionIdNextOperationSpec, callback);
|
1022
|
-
};
|
1023
|
-
AvailabilityStatuses.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
1024
|
-
return this.client.sendOperationRequest({
|
1025
|
-
nextPageLink: nextPageLink,
|
1026
|
-
options: options
|
1027
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
1028
|
-
};
|
1029
|
-
AvailabilityStatuses.prototype.listNext = function (nextPageLink, options, callback) {
|
1030
|
-
return this.client.sendOperationRequest({
|
1031
|
-
nextPageLink: nextPageLink,
|
1032
|
-
options: options
|
1033
|
-
}, listNextOperationSpec, callback);
|
1034
|
-
};
|
1035
|
-
return AvailabilityStatuses;
|
1036
|
-
}());
|
1037
|
-
// Operation Specifications
|
1038
|
-
var serializer = new msRest.Serializer(Mappers);
|
1039
|
-
var listBySubscriptionIdOperationSpec = {
|
1040
|
-
httpMethod: "GET",
|
1041
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses",
|
1042
|
-
urlParameters: [
|
1043
|
-
subscriptionId
|
1044
|
-
],
|
1045
|
-
queryParameters: [
|
1046
|
-
apiVersion,
|
1047
|
-
filter,
|
1048
|
-
expand
|
1049
|
-
],
|
1050
|
-
headerParameters: [
|
1051
|
-
acceptLanguage
|
1052
|
-
],
|
1053
|
-
responses: {
|
1054
|
-
200: {
|
1055
|
-
bodyMapper: AvailabilityStatusListResult
|
1056
|
-
},
|
1057
|
-
default: {
|
1058
|
-
bodyMapper: ErrorResponse
|
1059
|
-
}
|
1060
|
-
},
|
1061
|
-
serializer: serializer
|
1062
|
-
};
|
1063
|
-
var listByResourceGroupOperationSpec = {
|
1064
|
-
httpMethod: "GET",
|
1065
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses",
|
1066
|
-
urlParameters: [
|
1067
|
-
subscriptionId,
|
1068
|
-
resourceGroupName
|
1069
|
-
],
|
1070
|
-
queryParameters: [
|
1071
|
-
apiVersion,
|
1072
|
-
filter,
|
1073
|
-
expand
|
1074
|
-
],
|
1075
|
-
headerParameters: [
|
1076
|
-
acceptLanguage
|
1077
|
-
],
|
1078
|
-
responses: {
|
1079
|
-
200: {
|
1080
|
-
bodyMapper: AvailabilityStatusListResult
|
1081
|
-
},
|
1082
|
-
default: {
|
1083
|
-
bodyMapper: ErrorResponse
|
1084
|
-
}
|
1085
|
-
},
|
1086
|
-
serializer: serializer
|
1087
|
-
};
|
1088
|
-
var getByResourceOperationSpec = {
|
1089
|
-
httpMethod: "GET",
|
1090
|
-
path: "{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current",
|
1091
|
-
urlParameters: [
|
1092
|
-
resourceUri
|
1093
|
-
],
|
1094
|
-
queryParameters: [
|
1095
|
-
apiVersion,
|
1096
|
-
filter,
|
1097
|
-
expand
|
1098
|
-
],
|
1099
|
-
headerParameters: [
|
1100
|
-
acceptLanguage
|
1101
|
-
],
|
1102
|
-
responses: {
|
1103
|
-
200: {
|
1104
|
-
bodyMapper: AvailabilityStatus
|
1105
|
-
},
|
1106
|
-
default: {
|
1107
|
-
bodyMapper: ErrorResponse
|
1108
|
-
}
|
1109
|
-
},
|
1110
|
-
serializer: serializer
|
1111
|
-
};
|
1112
|
-
var listOperationSpec = {
|
1113
|
-
httpMethod: "GET",
|
1114
|
-
path: "{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses",
|
1115
|
-
urlParameters: [
|
1116
|
-
resourceUri
|
1117
|
-
],
|
1118
|
-
queryParameters: [
|
1119
|
-
apiVersion,
|
1120
|
-
filter,
|
1121
|
-
expand
|
1122
|
-
],
|
1123
|
-
headerParameters: [
|
1124
|
-
acceptLanguage
|
1125
|
-
],
|
1126
|
-
responses: {
|
1127
|
-
200: {
|
1128
|
-
bodyMapper: AvailabilityStatusListResult
|
1129
|
-
},
|
1130
|
-
default: {
|
1131
|
-
bodyMapper: ErrorResponse
|
1132
|
-
}
|
1133
|
-
},
|
1134
|
-
serializer: serializer
|
1135
|
-
};
|
1136
|
-
var listBySubscriptionIdNextOperationSpec = {
|
1137
|
-
httpMethod: "GET",
|
1138
|
-
baseUrl: "https://management.azure.com",
|
1139
|
-
path: "{nextLink}",
|
1140
|
-
urlParameters: [
|
1141
|
-
nextPageLink
|
1142
|
-
],
|
1143
|
-
queryParameters: [
|
1144
|
-
apiVersion,
|
1145
|
-
filter,
|
1146
|
-
expand
|
1147
|
-
],
|
1148
|
-
headerParameters: [
|
1149
|
-
acceptLanguage
|
1150
|
-
],
|
1151
|
-
responses: {
|
1152
|
-
200: {
|
1153
|
-
bodyMapper: AvailabilityStatusListResult
|
1154
|
-
},
|
1155
|
-
default: {
|
1156
|
-
bodyMapper: ErrorResponse
|
1157
|
-
}
|
1158
|
-
},
|
1159
|
-
serializer: serializer
|
1160
|
-
};
|
1161
|
-
var listByResourceGroupNextOperationSpec = {
|
1162
|
-
httpMethod: "GET",
|
1163
|
-
baseUrl: "https://management.azure.com",
|
1164
|
-
path: "{nextLink}",
|
1165
|
-
urlParameters: [
|
1166
|
-
nextPageLink
|
1167
|
-
],
|
1168
|
-
queryParameters: [
|
1169
|
-
apiVersion,
|
1170
|
-
filter,
|
1171
|
-
expand
|
1172
|
-
],
|
1173
|
-
headerParameters: [
|
1174
|
-
acceptLanguage
|
1175
|
-
],
|
1176
|
-
responses: {
|
1177
|
-
200: {
|
1178
|
-
bodyMapper: AvailabilityStatusListResult
|
1179
|
-
},
|
1180
|
-
default: {
|
1181
|
-
bodyMapper: ErrorResponse
|
1182
|
-
}
|
1183
|
-
},
|
1184
|
-
serializer: serializer
|
1185
|
-
};
|
1186
|
-
var listNextOperationSpec = {
|
1187
|
-
httpMethod: "GET",
|
1188
|
-
baseUrl: "https://management.azure.com",
|
1189
|
-
path: "{nextLink}",
|
1190
|
-
urlParameters: [
|
1191
|
-
nextPageLink
|
1192
|
-
],
|
1193
|
-
queryParameters: [
|
1194
|
-
apiVersion,
|
1195
|
-
filter,
|
1196
|
-
expand
|
1197
|
-
],
|
1198
|
-
headerParameters: [
|
1199
|
-
acceptLanguage
|
1200
|
-
],
|
1201
|
-
responses: {
|
1202
|
-
200: {
|
1203
|
-
bodyMapper: AvailabilityStatusListResult
|
1204
|
-
},
|
1205
|
-
default: {
|
1206
|
-
bodyMapper: ErrorResponse
|
1207
|
-
}
|
1208
|
-
},
|
1209
|
-
serializer: serializer
|
1210
|
-
};
|
1211
|
-
|
1212
|
-
/*
|
1213
|
-
* Copyright (c) Microsoft Corporation.
|
1214
|
-
* Licensed under the MIT License.
|
1215
|
-
*
|
1216
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1217
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
1218
|
-
*/
|
1219
|
-
|
1220
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
1221
|
-
__proto__: null,
|
1222
|
-
AvailabilityStatus: AvailabilityStatus,
|
1223
|
-
AvailabilityStatusListResult: AvailabilityStatusListResult,
|
1224
|
-
AvailabilityStatusProperties: AvailabilityStatusProperties,
|
1225
|
-
AvailabilityStatusPropertiesRecentlyResolvedState: AvailabilityStatusPropertiesRecentlyResolvedState,
|
1226
|
-
ErrorResponse: ErrorResponse,
|
1227
|
-
RecommendedAction: RecommendedAction,
|
1228
|
-
ServiceImpactingEvent: ServiceImpactingEvent,
|
1229
|
-
ServiceImpactingEventIncidentProperties: ServiceImpactingEventIncidentProperties,
|
1230
|
-
ServiceImpactingEventStatus: ServiceImpactingEventStatus
|
1231
|
-
});
|
1232
|
-
|
1233
|
-
/*
|
1234
|
-
* Copyright (c) Microsoft Corporation.
|
1235
|
-
* Licensed under the MIT License.
|
1236
|
-
*
|
1237
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1238
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1239
|
-
* regenerated.
|
1240
|
-
*/
|
1241
|
-
/** Class representing a ChildAvailabilityStatuses. */
|
1242
|
-
var ChildAvailabilityStatuses = /** @class */ (function () {
|
1243
|
-
/**
|
1244
|
-
* Create a ChildAvailabilityStatuses.
|
1245
|
-
* @param {MicrosoftResourceHealthContext} client Reference to the service client.
|
1246
|
-
*/
|
1247
|
-
function ChildAvailabilityStatuses(client) {
|
1248
|
-
this.client = client;
|
1249
|
-
}
|
1250
|
-
ChildAvailabilityStatuses.prototype.getByResource = function (resourceUri, options, callback) {
|
1251
|
-
return this.client.sendOperationRequest({
|
1252
|
-
resourceUri: resourceUri,
|
1253
|
-
options: options
|
1254
|
-
}, getByResourceOperationSpec$1, callback);
|
1255
|
-
};
|
1256
|
-
ChildAvailabilityStatuses.prototype.list = function (resourceUri, options, callback) {
|
1257
|
-
return this.client.sendOperationRequest({
|
1258
|
-
resourceUri: resourceUri,
|
1259
|
-
options: options
|
1260
|
-
}, listOperationSpec$1, callback);
|
1261
|
-
};
|
1262
|
-
ChildAvailabilityStatuses.prototype.listNext = function (nextPageLink, options, callback) {
|
1263
|
-
return this.client.sendOperationRequest({
|
1264
|
-
nextPageLink: nextPageLink,
|
1265
|
-
options: options
|
1266
|
-
}, listNextOperationSpec$1, callback);
|
1267
|
-
};
|
1268
|
-
return ChildAvailabilityStatuses;
|
1269
|
-
}());
|
1270
|
-
// Operation Specifications
|
1271
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
1272
|
-
var getByResourceOperationSpec$1 = {
|
1273
|
-
httpMethod: "GET",
|
1274
|
-
path: "{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current",
|
1275
|
-
urlParameters: [
|
1276
|
-
resourceUri
|
1277
|
-
],
|
1278
|
-
queryParameters: [
|
1279
|
-
apiVersion,
|
1280
|
-
filter,
|
1281
|
-
expand
|
1282
|
-
],
|
1283
|
-
headerParameters: [
|
1284
|
-
acceptLanguage
|
1285
|
-
],
|
1286
|
-
responses: {
|
1287
|
-
200: {
|
1288
|
-
bodyMapper: AvailabilityStatus
|
1289
|
-
},
|
1290
|
-
default: {
|
1291
|
-
bodyMapper: ErrorResponse
|
1292
|
-
}
|
1293
|
-
},
|
1294
|
-
serializer: serializer$1
|
1295
|
-
};
|
1296
|
-
var listOperationSpec$1 = {
|
1297
|
-
httpMethod: "GET",
|
1298
|
-
path: "{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses",
|
1299
|
-
urlParameters: [
|
1300
|
-
resourceUri
|
1301
|
-
],
|
1302
|
-
queryParameters: [
|
1303
|
-
apiVersion,
|
1304
|
-
filter,
|
1305
|
-
expand
|
1306
|
-
],
|
1307
|
-
headerParameters: [
|
1308
|
-
acceptLanguage
|
1309
|
-
],
|
1310
|
-
responses: {
|
1311
|
-
200: {
|
1312
|
-
bodyMapper: AvailabilityStatusListResult
|
1313
|
-
},
|
1314
|
-
default: {
|
1315
|
-
bodyMapper: ErrorResponse
|
1316
|
-
}
|
1317
|
-
},
|
1318
|
-
serializer: serializer$1
|
1319
|
-
};
|
1320
|
-
var listNextOperationSpec$1 = {
|
1321
|
-
httpMethod: "GET",
|
1322
|
-
baseUrl: "https://management.azure.com",
|
1323
|
-
path: "{nextLink}",
|
1324
|
-
urlParameters: [
|
1325
|
-
nextPageLink
|
1326
|
-
],
|
1327
|
-
queryParameters: [
|
1328
|
-
apiVersion,
|
1329
|
-
filter,
|
1330
|
-
expand
|
1331
|
-
],
|
1332
|
-
headerParameters: [
|
1333
|
-
acceptLanguage
|
1334
|
-
],
|
1335
|
-
responses: {
|
1336
|
-
200: {
|
1337
|
-
bodyMapper: AvailabilityStatusListResult
|
1338
|
-
},
|
1339
|
-
default: {
|
1340
|
-
bodyMapper: ErrorResponse
|
1341
|
-
}
|
1342
|
-
},
|
1343
|
-
serializer: serializer$1
|
1344
|
-
};
|
1345
|
-
|
1346
|
-
/*
|
1347
|
-
* Copyright (c) Microsoft Corporation.
|
1348
|
-
* Licensed under the MIT License.
|
1349
|
-
*
|
1350
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1351
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
1352
|
-
*/
|
1353
|
-
|
1354
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
1355
|
-
__proto__: null,
|
1356
|
-
AvailabilityStatus: AvailabilityStatus,
|
1357
|
-
AvailabilityStatusListResult: AvailabilityStatusListResult,
|
1358
|
-
AvailabilityStatusProperties: AvailabilityStatusProperties,
|
1359
|
-
AvailabilityStatusPropertiesRecentlyResolvedState: AvailabilityStatusPropertiesRecentlyResolvedState,
|
1360
|
-
ErrorResponse: ErrorResponse,
|
1361
|
-
RecommendedAction: RecommendedAction,
|
1362
|
-
ServiceImpactingEvent: ServiceImpactingEvent,
|
1363
|
-
ServiceImpactingEventIncidentProperties: ServiceImpactingEventIncidentProperties,
|
1364
|
-
ServiceImpactingEventStatus: ServiceImpactingEventStatus
|
1365
|
-
});
|
1366
|
-
|
1367
|
-
/*
|
1368
|
-
* Copyright (c) Microsoft Corporation.
|
1369
|
-
* Licensed under the MIT License.
|
1370
|
-
*
|
1371
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1372
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1373
|
-
* regenerated.
|
1374
|
-
*/
|
1375
|
-
/** Class representing a ChildResources. */
|
1376
|
-
var ChildResources = /** @class */ (function () {
|
1377
|
-
/**
|
1378
|
-
* Create a ChildResources.
|
1379
|
-
* @param {MicrosoftResourceHealthContext} client Reference to the service client.
|
1380
|
-
*/
|
1381
|
-
function ChildResources(client) {
|
1382
|
-
this.client = client;
|
1383
|
-
}
|
1384
|
-
ChildResources.prototype.list = function (resourceUri, options, callback) {
|
1385
|
-
return this.client.sendOperationRequest({
|
1386
|
-
resourceUri: resourceUri,
|
1387
|
-
options: options
|
1388
|
-
}, listOperationSpec$2, callback);
|
1389
|
-
};
|
1390
|
-
ChildResources.prototype.listNext = function (nextPageLink, options, callback) {
|
1391
|
-
return this.client.sendOperationRequest({
|
1392
|
-
nextPageLink: nextPageLink,
|
1393
|
-
options: options
|
1394
|
-
}, listNextOperationSpec$2, callback);
|
1395
|
-
};
|
1396
|
-
return ChildResources;
|
1397
|
-
}());
|
1398
|
-
// Operation Specifications
|
1399
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
1400
|
-
var listOperationSpec$2 = {
|
1401
|
-
httpMethod: "GET",
|
1402
|
-
path: "{resourceUri}/providers/Microsoft.ResourceHealth/childResources",
|
1403
|
-
urlParameters: [
|
1404
|
-
resourceUri
|
1405
|
-
],
|
1406
|
-
queryParameters: [
|
1407
|
-
apiVersion,
|
1408
|
-
filter,
|
1409
|
-
expand
|
1410
|
-
],
|
1411
|
-
headerParameters: [
|
1412
|
-
acceptLanguage
|
1413
|
-
],
|
1414
|
-
responses: {
|
1415
|
-
200: {
|
1416
|
-
bodyMapper: AvailabilityStatusListResult
|
1417
|
-
},
|
1418
|
-
default: {
|
1419
|
-
bodyMapper: ErrorResponse
|
1420
|
-
}
|
1421
|
-
},
|
1422
|
-
serializer: serializer$2
|
1423
|
-
};
|
1424
|
-
var listNextOperationSpec$2 = {
|
1425
|
-
httpMethod: "GET",
|
1426
|
-
baseUrl: "https://management.azure.com",
|
1427
|
-
path: "{nextLink}",
|
1428
|
-
urlParameters: [
|
1429
|
-
nextPageLink
|
1430
|
-
],
|
1431
|
-
queryParameters: [
|
1432
|
-
apiVersion,
|
1433
|
-
filter,
|
1434
|
-
expand
|
1435
|
-
],
|
1436
|
-
headerParameters: [
|
1437
|
-
acceptLanguage
|
1438
|
-
],
|
1439
|
-
responses: {
|
1440
|
-
200: {
|
1441
|
-
bodyMapper: AvailabilityStatusListResult
|
1442
|
-
},
|
1443
|
-
default: {
|
1444
|
-
bodyMapper: ErrorResponse
|
1445
|
-
}
|
1446
|
-
},
|
1447
|
-
serializer: serializer$2
|
1448
|
-
};
|
1449
|
-
|
1450
|
-
/*
|
1451
|
-
* Copyright (c) Microsoft Corporation.
|
1452
|
-
* Licensed under the MIT License.
|
1453
|
-
*
|
1454
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1455
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
1456
|
-
*/
|
1457
|
-
|
1458
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
1459
|
-
__proto__: null,
|
1460
|
-
ErrorResponse: ErrorResponse,
|
1461
|
-
Operation: Operation,
|
1462
|
-
OperationDisplay: OperationDisplay,
|
1463
|
-
OperationListResult: OperationListResult
|
1464
|
-
});
|
1465
|
-
|
1466
|
-
/*
|
1467
|
-
* Copyright (c) Microsoft Corporation.
|
1468
|
-
* Licensed under the MIT License.
|
1469
|
-
*
|
1470
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1471
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1472
|
-
* regenerated.
|
1473
|
-
*/
|
1474
|
-
/** Class representing a Operations. */
|
1475
|
-
var Operations = /** @class */ (function () {
|
1476
|
-
/**
|
1477
|
-
* Create a Operations.
|
1478
|
-
* @param {MicrosoftResourceHealthContext} client Reference to the service client.
|
1479
|
-
*/
|
1480
|
-
function Operations(client) {
|
1481
|
-
this.client = client;
|
1482
|
-
}
|
1483
|
-
Operations.prototype.list = function (options, callback) {
|
1484
|
-
return this.client.sendOperationRequest({
|
1485
|
-
options: options
|
1486
|
-
}, listOperationSpec$3, callback);
|
1487
|
-
};
|
1488
|
-
return Operations;
|
1489
|
-
}());
|
1490
|
-
// Operation Specifications
|
1491
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
1492
|
-
var listOperationSpec$3 = {
|
1493
|
-
httpMethod: "GET",
|
1494
|
-
path: "providers/Microsoft.ResourceHealth/operations",
|
1495
|
-
queryParameters: [
|
1496
|
-
apiVersion
|
1497
|
-
],
|
1498
|
-
headerParameters: [
|
1499
|
-
acceptLanguage
|
1500
|
-
],
|
1501
|
-
responses: {
|
1502
|
-
200: {
|
1503
|
-
bodyMapper: OperationListResult
|
1504
|
-
},
|
1505
|
-
default: {
|
1506
|
-
bodyMapper: ErrorResponse
|
1507
|
-
}
|
1508
|
-
},
|
1509
|
-
serializer: serializer$3
|
1510
|
-
};
|
1511
|
-
|
1512
|
-
/*
|
1513
|
-
* Copyright (c) Microsoft Corporation.
|
1514
|
-
* Licensed under the MIT License.
|
1515
|
-
*
|
1516
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1517
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
1518
|
-
*/
|
1519
|
-
|
1520
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
1521
|
-
__proto__: null,
|
1522
|
-
AzureEntityResource: AzureEntityResource,
|
1523
|
-
BaseResource: BaseResource,
|
1524
|
-
EmergingIssueImpact: EmergingIssueImpact,
|
1525
|
-
EmergingIssueListResult: EmergingIssueListResult,
|
1526
|
-
EmergingIssuesGetResult: EmergingIssuesGetResult,
|
1527
|
-
ErrorResponse: ErrorResponse,
|
1528
|
-
ImpactedRegion: ImpactedRegion,
|
1529
|
-
ProxyResource: ProxyResource,
|
1530
|
-
Resource: Resource,
|
1531
|
-
StatusActiveEvent: StatusActiveEvent,
|
1532
|
-
StatusBanner: StatusBanner,
|
1533
|
-
TrackedResource: TrackedResource
|
1534
|
-
});
|
1535
|
-
|
1536
|
-
/*
|
1537
|
-
* Copyright (c) Microsoft Corporation.
|
1538
|
-
* Licensed under the MIT License.
|
1539
|
-
*
|
1540
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1541
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1542
|
-
* regenerated.
|
1543
|
-
*/
|
1544
|
-
/** Class representing a EmergingIssues. */
|
1545
|
-
var EmergingIssues = /** @class */ (function () {
|
1546
|
-
/**
|
1547
|
-
* Create a EmergingIssues.
|
1548
|
-
* @param {MicrosoftResourceHealthContext} client Reference to the service client.
|
1549
|
-
*/
|
1550
|
-
function EmergingIssues(client) {
|
1551
|
-
this.client = client;
|
1552
|
-
}
|
1553
|
-
EmergingIssues.prototype.get = function (options, callback) {
|
1554
|
-
return this.client.sendOperationRequest({
|
1555
|
-
options: options
|
1556
|
-
}, getOperationSpec, callback);
|
1557
|
-
};
|
1558
|
-
EmergingIssues.prototype.list = function (options, callback) {
|
1559
|
-
return this.client.sendOperationRequest({
|
1560
|
-
options: options
|
1561
|
-
}, listOperationSpec$4, callback);
|
1562
|
-
};
|
1563
|
-
EmergingIssues.prototype.listNext = function (nextPageLink, options, callback) {
|
1564
|
-
return this.client.sendOperationRequest({
|
1565
|
-
nextPageLink: nextPageLink,
|
1566
|
-
options: options
|
1567
|
-
}, listNextOperationSpec$3, callback);
|
1568
|
-
};
|
1569
|
-
return EmergingIssues;
|
1570
|
-
}());
|
1571
|
-
// Operation Specifications
|
1572
|
-
var serializer$4 = new msRest.Serializer(Mappers$4);
|
1573
|
-
var getOperationSpec = {
|
1574
|
-
httpMethod: "GET",
|
1575
|
-
path: "providers/Microsoft.ResourceHealth/emergingIssues/{issueName}",
|
1576
|
-
urlParameters: [
|
1577
|
-
issueName
|
1578
|
-
],
|
1579
|
-
queryParameters: [
|
1580
|
-
apiVersion
|
1581
|
-
],
|
1582
|
-
headerParameters: [
|
1583
|
-
acceptLanguage
|
1584
|
-
],
|
1585
|
-
responses: {
|
1586
|
-
200: {
|
1587
|
-
bodyMapper: EmergingIssuesGetResult
|
1588
|
-
},
|
1589
|
-
default: {
|
1590
|
-
bodyMapper: ErrorResponse
|
1591
|
-
}
|
1592
|
-
},
|
1593
|
-
serializer: serializer$4
|
1594
|
-
};
|
1595
|
-
var listOperationSpec$4 = {
|
1596
|
-
httpMethod: "GET",
|
1597
|
-
path: "providers/Microsoft.ResourceHealth/emergingIssues",
|
1598
|
-
queryParameters: [
|
1599
|
-
apiVersion
|
1600
|
-
],
|
1601
|
-
headerParameters: [
|
1602
|
-
acceptLanguage
|
1603
|
-
],
|
1604
|
-
responses: {
|
1605
|
-
200: {
|
1606
|
-
bodyMapper: EmergingIssueListResult
|
1607
|
-
},
|
1608
|
-
default: {
|
1609
|
-
bodyMapper: ErrorResponse
|
1610
|
-
}
|
1611
|
-
},
|
1612
|
-
serializer: serializer$4
|
1613
|
-
};
|
1614
|
-
var listNextOperationSpec$3 = {
|
1615
|
-
httpMethod: "GET",
|
1616
|
-
baseUrl: "https://management.azure.com",
|
1617
|
-
path: "{nextLink}",
|
1618
|
-
urlParameters: [
|
1619
|
-
nextPageLink
|
1620
|
-
],
|
1621
|
-
queryParameters: [
|
1622
|
-
apiVersion
|
1623
|
-
],
|
1624
|
-
headerParameters: [
|
1625
|
-
acceptLanguage
|
1626
|
-
],
|
1627
|
-
responses: {
|
1628
|
-
200: {
|
1629
|
-
bodyMapper: EmergingIssueListResult
|
1630
|
-
},
|
1631
|
-
default: {
|
1632
|
-
bodyMapper: ErrorResponse
|
1633
|
-
}
|
1634
|
-
},
|
1635
|
-
serializer: serializer$4
|
1636
|
-
};
|
1637
|
-
|
1638
|
-
/*
|
1639
|
-
* Copyright (c) Microsoft Corporation.
|
1640
|
-
* Licensed under the MIT License.
|
1641
|
-
*
|
1642
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1643
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1644
|
-
* regenerated.
|
1645
|
-
*/
|
1646
|
-
var packageName = "@azure/arm-resourcehealth";
|
1647
|
-
var packageVersion = "2.0.0";
|
1648
|
-
var MicrosoftResourceHealthContext = /** @class */ (function (_super) {
|
1649
|
-
__extends(MicrosoftResourceHealthContext, _super);
|
1650
|
-
/**
|
1651
|
-
* Initializes a new instance of the MicrosoftResourceHealth class.
|
1652
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
1653
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
1654
|
-
* more information about these credentials, see
|
1655
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
1656
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
1657
|
-
* @azure/ms-rest-browserauth are also supported.
|
1658
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
1659
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
1660
|
-
* @param [options] The parameter options
|
1661
|
-
*/
|
1662
|
-
function MicrosoftResourceHealthContext(credentials, subscriptionId, options) {
|
1663
|
-
var _this = this;
|
1664
|
-
if (credentials == undefined) {
|
1665
|
-
throw new Error('\'credentials\' cannot be null.');
|
1666
|
-
}
|
1667
|
-
if (subscriptionId == undefined) {
|
1668
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
1669
|
-
}
|
1670
|
-
if (!options) {
|
1671
|
-
options = {};
|
1672
|
-
}
|
1673
|
-
if (!options.userAgent) {
|
1674
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
1675
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
1676
|
-
}
|
1677
|
-
_this = _super.call(this, credentials, options) || this;
|
1678
|
-
_this.apiVersion = '2017-07-01';
|
1679
|
-
_this.acceptLanguage = 'en-US';
|
1680
|
-
_this.longRunningOperationRetryTimeout = 30;
|
1681
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
1682
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
1683
|
-
_this.credentials = credentials;
|
1684
|
-
_this.subscriptionId = subscriptionId;
|
1685
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
1686
|
-
_this.acceptLanguage = options.acceptLanguage;
|
1687
|
-
}
|
1688
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
1689
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
1690
|
-
}
|
1691
|
-
return _this;
|
1692
|
-
}
|
1693
|
-
return MicrosoftResourceHealthContext;
|
1694
|
-
}(msRestAzure.AzureServiceClient));
|
1695
|
-
|
1696
|
-
/*
|
1697
|
-
* Copyright (c) Microsoft Corporation.
|
1698
|
-
* Licensed under the MIT License.
|
1699
|
-
*
|
1700
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
1701
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
1702
|
-
* regenerated.
|
1703
|
-
*/
|
1704
|
-
var MicrosoftResourceHealth = /** @class */ (function (_super) {
|
1705
|
-
__extends(MicrosoftResourceHealth, _super);
|
1706
|
-
/**
|
1707
|
-
* Initializes a new instance of the MicrosoftResourceHealth class.
|
1708
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
1709
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
1710
|
-
* more information about these credentials, see
|
1711
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
1712
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
1713
|
-
* @azure/ms-rest-browserauth are also supported.
|
1714
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
1715
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
1716
|
-
* @param [options] The parameter options
|
1717
|
-
*/
|
1718
|
-
function MicrosoftResourceHealth(credentials, subscriptionId, options) {
|
1719
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
1720
|
-
_this.availabilityStatuses = new AvailabilityStatuses(_this);
|
1721
|
-
_this.childAvailabilityStatuses = new ChildAvailabilityStatuses(_this);
|
1722
|
-
_this.childResources = new ChildResources(_this);
|
1723
|
-
_this.operations = new Operations(_this);
|
1724
|
-
_this.emergingIssues = new EmergingIssues(_this);
|
1725
|
-
return _this;
|
1726
|
-
}
|
1727
|
-
return MicrosoftResourceHealth;
|
1728
|
-
}(MicrosoftResourceHealthContext));
|
1729
|
-
|
1730
|
-
exports.AvailabilityStatuses = AvailabilityStatuses;
|
1731
|
-
exports.ChildAvailabilityStatuses = ChildAvailabilityStatuses;
|
1732
|
-
exports.ChildResources = ChildResources;
|
1733
|
-
exports.EmergingIssues = EmergingIssues;
|
1734
|
-
exports.MicrosoftResourceHealth = MicrosoftResourceHealth;
|
1735
|
-
exports.MicrosoftResourceHealthContext = MicrosoftResourceHealthContext;
|
1736
|
-
exports.MicrosoftResourceHealthMappers = mappers;
|
1737
|
-
exports.MicrosoftResourceHealthModels = index;
|
1738
|
-
exports.Operations = Operations;
|
1739
|
-
|
1740
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
1741
|
-
|
1742
|
-
})));
|
1743
|
-
//# sourceMappingURL=arm-resourcehealth.js.map
|