Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 32 additions & 10 deletions sdk/resourcehealth/arm-resourcehealth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,37 @@
# Release History

## 4.0.0 (2022-06-02)

**Features**

## 3.0.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface AvailabilityStatusPropertiesRecentlyResolved
- Added Interface ErrorResponseError
- Added Type Alias ImpactedResourceStatus
- Added Type Alias ReasonTypeValues
- Interface AvailabilityStatusProperties has a new optional parameter occurredTime
- Interface AvailabilityStatusProperties has a new optional parameter recentlyResolved
- Interface AvailabilityStatusProperties has a new optional parameter title
- Interface ErrorResponse has a new optional parameter error
- Added Enum KnownAvailabilityStateValues
- Added Enum KnownReasonChronicityTypes
- Added Enum KnownReasonTypeValues

**Breaking Changes**

- Removed operation group ChildAvailabilityStatuses
- Removed operation group ChildResources
- Removed operation group EmergingIssues
- Interface AvailabilityStatusProperties no longer has parameter occuredTime
- Interface AvailabilityStatusProperties no longer has parameter recentlyResolvedState
- Interface ErrorResponse no longer has parameter code
- Interface ErrorResponse no longer has parameter details
- Interface ErrorResponse no longer has parameter message
- Class MicrosoftResourceHealth no longer has parameter childAvailabilityStatuses
- Class MicrosoftResourceHealth no longer has parameter childResources
- Class MicrosoftResourceHealth no longer has parameter emergingIssues
- Removed Enum KnownSeverityValues
- Removed Enum KnownStageValues

## 3.0.1 (2022-04-29)

**Features**
Expand Down
12 changes: 6 additions & 6 deletions sdk/resourcehealth/arm-resourcehealth/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "0cd7b3e83d5e7e21222dcc4bdde4565562da0cdf",
"readme": "specification\\resourcehealth\\resource-manager\\readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\resourcehealth\\resource-manager\\readme.md --use=@autorest/[email protected].20220408.1 --generate-sample=true",
"commit": "072dca0080f39db3099eb21cf610456e62c16fb2",
"readme": "specification/resourcehealth/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/resourcehealth/resource-manager/readme.md --use=@autorest/[email protected].20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].0",
"use": "@autorest/[email protected].20220408.1"
}
"release_tool": "@azure-tools/[email protected].1",
"use": "@autorest/[email protected].20220425.1"
}
22 changes: 8 additions & 14 deletions sdk/resourcehealth/arm-resourcehealth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for MicrosoftResourceHealth.",
"version": "3.0.2",
"version": "4.0.0",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -38,9 +38,11 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourcehealth/arm-resourcehealth",
"repository": {
Expand Down Expand Up @@ -91,7 +93,7 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand All @@ -104,13 +106,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-resourcehealth?view=azure-node-preview"
}
}
"autoPublish": true
}
177 changes: 38 additions & 139 deletions sdk/resourcehealth/arm-resourcehealth/review/arm-resourcehealth.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as coreClient from '@azure/core-client';
import { PagedAsyncIterableIterator } from '@azure/core-paging';

// @public
export type AvailabilityStateValues = "Available" | "Unavailable" | "Unknown";
export type AvailabilityStateValues = string;

// @public
export interface AvailabilityStatus {
Expand Down Expand Up @@ -105,159 +105,81 @@ export interface AvailabilityStatusProperties {
healthEventCause?: string;
healthEventId?: string;
healthEventType?: string;
occuredTime?: Date;
occurredTime?: Date;
reasonChronicity?: ReasonChronicityTypes;
reasonType?: string;
recentlyResolvedState?: AvailabilityStatusPropertiesRecentlyResolvedState;
recentlyResolved?: AvailabilityStatusPropertiesRecentlyResolved;
recommendedActions?: RecommendedAction[];
reportedTime?: Date;
resolutionETA?: Date;
rootCauseAttributionTime?: Date;
serviceImpactingEvents?: ServiceImpactingEvent[];
summary?: string;
title?: string;
}

// @public
export interface AvailabilityStatusPropertiesRecentlyResolvedState {
export interface AvailabilityStatusPropertiesRecentlyResolved {
resolvedTime?: Date;
unavailabilitySummary?: string;
unavailableOccurredTime?: Date;
}

// @public
export interface ChildAvailabilityStatuses {
getByResource(resourceUri: string, options?: ChildAvailabilityStatusesGetByResourceOptionalParams): Promise<ChildAvailabilityStatusesGetByResourceResponse>;
list(resourceUri: string, options?: ChildAvailabilityStatusesListOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
}

// @public
export interface ChildAvailabilityStatusesGetByResourceOptionalParams extends coreClient.OperationOptions {
expand?: string;
filter?: string;
}

// @public
export type ChildAvailabilityStatusesGetByResourceResponse = AvailabilityStatus;

// @public
export interface ChildAvailabilityStatusesListNextOptionalParams extends coreClient.OperationOptions {
expand?: string;
filter?: string;
}

// @public
export type ChildAvailabilityStatusesListNextResponse = AvailabilityStatusListResult;

// @public
export interface ChildAvailabilityStatusesListOptionalParams extends coreClient.OperationOptions {
expand?: string;
filter?: string;
}

// @public
export type ChildAvailabilityStatusesListResponse = AvailabilityStatusListResult;

// @public
export interface ChildResources {
list(resourceUri: string, options?: ChildResourcesListOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
}

// @public
export interface ChildResourcesListNextOptionalParams extends coreClient.OperationOptions {
expand?: string;
filter?: string;
export interface ErrorResponse {
error?: ErrorResponseError;
}

// @public
export type ChildResourcesListNextResponse = AvailabilityStatusListResult;

// @public
export interface ChildResourcesListOptionalParams extends coreClient.OperationOptions {
expand?: string;
filter?: string;
export interface ErrorResponseError {
readonly code?: string;
readonly details?: string;
readonly message?: string;
}

// @public
export type ChildResourcesListResponse = AvailabilityStatusListResult;

// @public
export interface EmergingIssueImpact {
export interface ImpactedRegion {
id?: string;
name?: string;
regions?: ImpactedRegion[];
}

// @public
export interface EmergingIssueListResult {
nextLink?: string;
value?: EmergingIssuesGetResult[];
}

// @public
export interface EmergingIssues {
get(options?: EmergingIssuesGetOptionalParams): Promise<EmergingIssuesGetResponse>;
list(options?: EmergingIssuesListOptionalParams): PagedAsyncIterableIterator<EmergingIssuesGetResult>;
}

// @public
export interface EmergingIssuesGetOptionalParams extends coreClient.OperationOptions {
}

// @public
export type EmergingIssuesGetResponse = EmergingIssuesGetResult;

// @public
export type EmergingIssuesGetResult = Resource & {
refreshTimestamp?: Date;
statusBanners?: StatusBanner[];
statusActiveEvents?: StatusActiveEvent[];
export type ImpactedResourceStatus = Resource & {
availabilityState?: AvailabilityStateValues;
title?: string;
summary?: string;
reasonType?: ReasonTypeValues;
occurredTime?: Date;
};

// @public
export interface EmergingIssuesListNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type EmergingIssuesListNextResponse = EmergingIssueListResult;

// @public
export interface EmergingIssuesListOptionalParams extends coreClient.OperationOptions {
}

// @public
export type EmergingIssuesListResponse = EmergingIssueListResult;

// @public
export interface ErrorResponse {
readonly code?: string;
readonly details?: string;
readonly message?: string;
}

// @public
export interface ImpactedRegion {
id?: string;
name?: string;
export enum KnownAvailabilityStateValues {
// (undocumented)
Available = "Available",
// (undocumented)
Degraded = "Degraded",
// (undocumented)
Unavailable = "Unavailable",
// (undocumented)
Unknown = "Unknown"
}

// @public
export enum KnownSeverityValues {
// (undocumented)
Error = "Error",
export enum KnownReasonChronicityTypes {
// (undocumented)
Information = "Information",
Persistent = "Persistent",
// (undocumented)
Warning = "Warning"
Transient = "Transient"
}

// @public
export enum KnownStageValues {
export enum KnownReasonTypeValues {
// (undocumented)
Active = "Active",
Planned = "Planned",
// (undocumented)
Archived = "Archived",
Unplanned = "Unplanned",
// (undocumented)
Resolve = "Resolve"
UserInitiated = "UserInitiated"
}

// @public (undocumented)
Expand All @@ -270,12 +192,6 @@ export class MicrosoftResourceHealth extends coreClient.ServiceClient {
// (undocumented)
availabilityStatuses: AvailabilityStatuses;
// (undocumented)
childAvailabilityStatuses: ChildAvailabilityStatuses;
// (undocumented)
childResources: ChildResources;
// (undocumented)
emergingIssues: EmergingIssues;
// (undocumented)
operations: Operations;
// (undocumented)
subscriptionId: string;
Expand Down Expand Up @@ -320,7 +236,10 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
export type OperationsListResponse = OperationListResult;

// @public
export type ReasonChronicityTypes = "Transient" | "Persistent";
export type ReasonChronicityTypes = string;

// @public
export type ReasonTypeValues = string;

// @public
export interface RecommendedAction {
Expand Down Expand Up @@ -358,26 +277,6 @@ export interface ServiceImpactingEventStatus {
value?: string;
}

// @public
export type SeverityValues = string;

// @public
export type StageValues = string;

// @public
export interface StatusActiveEvent {
cloud?: string;
description?: string;
impacts?: EmergingIssueImpact[];
lastModifiedTime?: Date;
published?: boolean;
severity?: SeverityValues;
stage?: StageValues;
startTime?: Date;
title?: string;
trackingId?: string;
}

// @public
export interface StatusBanner {
cloud?: string;
Expand Down
Loading