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
16 changes: 3 additions & 13 deletions sdk/applicationinsights/arm-appinsights/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
# Release History

## 5.0.0-beta.5 (2022-07-12)

## 5.0.0-beta.5 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 5.0.0-beta.4 (2022-06-01)

The package of @azure/arm-appinsights is using our next generation design principles since version 5.0.0-beta.4, which contains breaking changes.
The package of @azure/arm-appinsights is using our next generation design principles since version 5.0.0-beta.5, which contains breaking changes.

To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).

Expand Down
8 changes: 4 additions & 4 deletions sdk/applicationinsights/arm-appinsights/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "261f2cd5b009f319d44149da020c42e3d0832a7a",
"commit": "4a3882122dc9c948e8c47b933126b5e5fba36ae1",
"readme": "specification/applicationinsights/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:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\applicationinsights\\resource-manager\\readme.md --use=@autorest/[email protected]beta.20",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --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/applicationinsights/resource-manager/readme.md --use=@autorest/[email protected]alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/[email protected]beta.20"
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.0",
"use": "@autorest/[email protected]alpha.19.20220425.1"
}
4 changes: 1 addition & 3 deletions sdk/applicationinsights/arm-appinsights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
Expand Down Expand Up @@ -109,4 +107,4 @@
]
},
"autoPublish": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,8 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
// (undocumented)
myWorkbooks: MyWorkbooks;
// (undocumented)
operations: Operations;
// (undocumented)
proactiveDetectionConfigurations: ProactiveDetectionConfigurations;
// (undocumented)
subscriptionId: string;
Expand Down Expand Up @@ -654,9 +656,17 @@ export interface ErrorDefinition {
readonly message?: string;
}

// @public
export interface ErrorFieldContract {
code?: string;
message?: string;
target?: string;
}

// @public
export interface ErrorResponse {
code?: string;
details?: ErrorFieldContract[];
message?: string;
}

Expand Down Expand Up @@ -780,6 +790,12 @@ export type FavoriteType = "shared" | "user";
// @public
export type FlowType = string;

// @public
export interface HeaderField {
headerFieldName?: string;
headerFieldValue?: string;
}

// @public
export type IngestionMode = string;

Expand Down Expand Up @@ -1183,6 +1199,25 @@ export interface OperationLive {
properties?: Record<string, unknown>;
}

// @public
export interface Operations {
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
}

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

// @public
export type OperationsListNextResponse = OperationListResult;

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

// @public
export type OperationsListResponse = OperationListResult;

// @public
export interface OperationsListResult {
nextLink?: string;
Expand Down Expand Up @@ -1224,7 +1259,7 @@ export interface ProactiveDetectionConfigurationsUpdateOptionalParams extends co
export type ProactiveDetectionConfigurationsUpdateResponse = ApplicationInsightsComponentProactiveDetectionConfiguration;

// @public
export type ProxyResource = Resource;
export type ProxyResource = Resource & {};

// @public
export type PublicNetworkAccessType = string;
Expand Down Expand Up @@ -1290,6 +1325,8 @@ export type WebTest = WebtestsResource & {
locations?: WebTestGeolocation[];
configuration?: WebTestPropertiesConfiguration;
readonly provisioningState?: string;
request?: WebTestPropertiesRequest;
validationRules?: WebTestPropertiesValidationRules;
};

// @public
Expand All @@ -1298,7 +1335,7 @@ export interface WebTestGeolocation {
}

// @public
export type WebTestKind = "ping" | "multistep";
export type WebTestKind = "ping" | "multistep" | "standard";

// @public
export interface WebTestListResult {
Expand All @@ -1323,6 +1360,32 @@ export interface WebTestPropertiesConfiguration {
webTest?: string;
}

// @public
export interface WebTestPropertiesRequest {
followRedirects?: boolean;
headers?: HeaderField[];
httpVerb?: string;
parseDependentRequests?: boolean;
requestBody?: string;
requestUrl?: string;
}

// @public
export interface WebTestPropertiesValidationRules {
contentValidation?: WebTestPropertiesValidationRulesContentValidation;
expectedHttpStatusCode?: number;
ignoreHttpsStatusCode?: boolean;
sSLCertRemainingLifetimeCheck?: number;
sSLCheck?: boolean;
}

// @public
export interface WebTestPropertiesValidationRulesContentValidation {
contentMatch?: string;
ignoreCase?: boolean;
passIfTextFound?: boolean;
}

// @public
export interface WebTests {
createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, options?: WebTestsCreateOrUpdateOptionalParams): Promise<WebTestsCreateOrUpdateResponse>;
Expand Down Expand Up @@ -1453,7 +1516,7 @@ export type WorkbookResource = TrackedResource & {
};

// @public
export type WorkbookResourceIdentity = ManagedServiceIdentity;
export type WorkbookResourceIdentity = ManagedServiceIdentity & {};

// @public
export interface Workbooks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import * as coreClient from "@azure/core-client";
import * as coreRestPipeline from "@azure/core-rest-pipeline";
import * as coreAuth from "@azure/core-auth";
import {
ComponentsImpl,
AnnotationsImpl,
APIKeysImpl,
ExportConfigurationsImpl,
Expand All @@ -23,14 +24,15 @@ import {
WebTestLocationsImpl,
WebTestsImpl,
AnalyticsItemsImpl,
OperationsImpl,
WorkbookTemplatesImpl,
MyWorkbooksImpl,
WorkbooksImpl,
ComponentsImpl,
ComponentLinkedStorageAccountsOperationsImpl,
LiveTokenImpl
LiveTokenImpl,
ComponentLinkedStorageAccountsOperationsImpl
} from "./operations";
import {
Components,
Annotations,
APIKeys,
ExportConfigurations,
Expand All @@ -44,12 +46,12 @@ import {
WebTestLocations,
WebTests,
AnalyticsItems,
Operations,
WorkbookTemplates,
MyWorkbooks,
Workbooks,
Components,
ComponentLinkedStorageAccountsOperations,
LiveToken
LiveToken,
ComponentLinkedStorageAccountsOperations
} from "./operationsInterfaces";
import { ApplicationInsightsManagementClientOptionalParams } from "./models";

Expand Down Expand Up @@ -131,6 +133,7 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.components = new ComponentsImpl(this);
this.annotations = new AnnotationsImpl(this);
this.aPIKeys = new APIKeysImpl(this);
this.exportConfigurations = new ExportConfigurationsImpl(this);
Expand All @@ -150,16 +153,17 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
this.webTestLocations = new WebTestLocationsImpl(this);
this.webTests = new WebTestsImpl(this);
this.analyticsItems = new AnalyticsItemsImpl(this);
this.operations = new OperationsImpl(this);
this.workbookTemplates = new WorkbookTemplatesImpl(this);
this.myWorkbooks = new MyWorkbooksImpl(this);
this.workbooks = new WorkbooksImpl(this);
this.components = new ComponentsImpl(this);
this.liveToken = new LiveTokenImpl(this);
this.componentLinkedStorageAccountsOperations = new ComponentLinkedStorageAccountsOperationsImpl(
this
);
this.liveToken = new LiveTokenImpl(this);
}

components: Components;
annotations: Annotations;
aPIKeys: APIKeys;
exportConfigurations: ExportConfigurations;
Expand All @@ -173,10 +177,10 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
webTestLocations: WebTestLocations;
webTests: WebTests;
analyticsItems: AnalyticsItems;
operations: Operations;
workbookTemplates: WorkbookTemplates;
myWorkbooks: MyWorkbooks;
workbooks: Workbooks;
components: Components;
componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;
liveToken: LiveToken;
componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;
}
Loading