@azure/arm-resourcehealth 3.0.1 → 3.1.1-alpha.20220715.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +16 -0
- package/README.md +7 -7
- package/dist/index.js +36 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/microsoftResourceHealth.d.ts +2 -0
- package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -1
- package/dist-esm/src/microsoftResourceHealth.js +30 -1
- package/dist-esm/src/microsoftResourceHealth.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +8 -2
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +6 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +9 -6
- package/review/arm-resourcehealth.api.md +3 -9
- package/src/microsoftResourceHealth.ts +35 -1
- package/src/models/index.ts +8 -2
- package/types/arm-resourcehealth.d.ts +10 -2
package/src/models/index.ts
CHANGED
@@ -245,19 +245,22 @@ export interface EmergingIssueListResult {
|
|
245
245
|
}
|
246
246
|
|
247
247
|
/** The Get EmergingIssues operation response. */
|
248
|
-
export
|
248
|
+
export interface EmergingIssuesGetResult extends Resource {
|
249
249
|
/** Timestamp for when last time refreshed for ongoing emerging issue. */
|
250
250
|
refreshTimestamp?: Date;
|
251
251
|
/** The list of emerging issues of banner type. */
|
252
252
|
statusBanners?: StatusBanner[];
|
253
253
|
/** The list of emerging issues of active event type. */
|
254
254
|
statusActiveEvents?: StatusActiveEvent[];
|
255
|
-
}
|
255
|
+
}
|
256
256
|
|
257
257
|
/** Known values of {@link SeverityValues} that the service accepts. */
|
258
258
|
export enum KnownSeverityValues {
|
259
|
+
/** Information */
|
259
260
|
Information = "Information",
|
261
|
+
/** Warning */
|
260
262
|
Warning = "Warning",
|
263
|
+
/** Error */
|
261
264
|
Error = "Error"
|
262
265
|
}
|
263
266
|
|
@@ -274,8 +277,11 @@ export type SeverityValues = string;
|
|
274
277
|
|
275
278
|
/** Known values of {@link StageValues} that the service accepts. */
|
276
279
|
export enum KnownStageValues {
|
280
|
+
/** Active */
|
277
281
|
Active = "Active",
|
282
|
+
/** Resolve */
|
278
283
|
Resolve = "Resolve",
|
284
|
+
/** Archived */
|
279
285
|
Archived = "Archived"
|
280
286
|
}
|
281
287
|
|
@@ -317,14 +317,14 @@ export declare interface EmergingIssuesGetOptionalParams extends coreClient.Oper
|
|
317
317
|
export declare type EmergingIssuesGetResponse = EmergingIssuesGetResult;
|
318
318
|
|
319
319
|
/** The Get EmergingIssues operation response. */
|
320
|
-
export declare
|
320
|
+
export declare interface EmergingIssuesGetResult extends Resource {
|
321
321
|
/** Timestamp for when last time refreshed for ongoing emerging issue. */
|
322
322
|
refreshTimestamp?: Date;
|
323
323
|
/** The list of emerging issues of banner type. */
|
324
324
|
statusBanners?: StatusBanner[];
|
325
325
|
/** The list of emerging issues of active event type. */
|
326
326
|
statusActiveEvents?: StatusActiveEvent[];
|
327
|
-
}
|
327
|
+
}
|
328
328
|
|
329
329
|
/** Optional parameters. */
|
330
330
|
export declare interface EmergingIssuesListNextOptionalParams extends coreClient.OperationOptions {
|
@@ -369,15 +369,21 @@ export declare interface ImpactedRegion {
|
|
369
369
|
|
370
370
|
/** Known values of {@link SeverityValues} that the service accepts. */
|
371
371
|
export declare enum KnownSeverityValues {
|
372
|
+
/** Information */
|
372
373
|
Information = "Information",
|
374
|
+
/** Warning */
|
373
375
|
Warning = "Warning",
|
376
|
+
/** Error */
|
374
377
|
Error = "Error"
|
375
378
|
}
|
376
379
|
|
377
380
|
/** Known values of {@link StageValues} that the service accepts. */
|
378
381
|
export declare enum KnownStageValues {
|
382
|
+
/** Active */
|
379
383
|
Active = "Active",
|
384
|
+
/** Resolve */
|
380
385
|
Resolve = "Resolve",
|
386
|
+
/** Archived */
|
381
387
|
Archived = "Archived"
|
382
388
|
}
|
383
389
|
|
@@ -393,6 +399,8 @@ export declare class MicrosoftResourceHealth extends coreClient.ServiceClient {
|
|
393
399
|
* @param options The parameter options
|
394
400
|
*/
|
395
401
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftResourceHealthOptionalParams);
|
402
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
403
|
+
private addCustomApiVersionPolicy;
|
396
404
|
availabilityStatuses: AvailabilityStatuses;
|
397
405
|
childAvailabilityStatuses: ChildAvailabilityStatuses;
|
398
406
|
childResources: ChildResources;
|