Skip to content

Commit 0b19389

Browse files
authored
appinsights-track2 (Azure#20019)
1 parent be4578a commit 0b19389

File tree

16 files changed

+365
-363
lines changed

16 files changed

+365
-363
lines changed

sdk/applicationinsights/arm-appinsights/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release History
22

3-
## 5.0.0-beta.1 (2022-01-21)
3+
## 5.0.0-beta.2 (2022-01-24)
44

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

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

sdk/applicationinsights/arm-appinsights/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
2+
"commit": "2a2aa10bc5e772934d22628faf45a53055ee96c6",
33
"readme": "specification/applicationinsights/resource-manager/readme.md",
44
"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:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/applicationinsights/resource-manager/readme.md --use=@autorest/[email protected]",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
33
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4-
"docModel": { "enabled": true },
5-
"apiReport": { "enabled": true, "reportFolder": "./review" },
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
611
"dtsRollup": {
712
"enabled": true,
813
"untrimmedFilePath": "",
914
"publicTrimmedFilePath": "./types/arm-appinsights.d.ts"
1015
},
1116
"messages": {
12-
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
1322
"extractorMessageReporting": {
14-
"ae-missing-release-tag": { "logLevel": "none" },
15-
"ae-unresolved-link": { "logLevel": "none" }
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
1629
}
1730
}
18-
}
31+
}

sdk/applicationinsights/arm-appinsights/package.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,24 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ApplicationInsightsManagementClient.",
6-
"version": "5.0.0-beta.1",
7-
"engines": { "node": ">=12.0.0" },
6+
"version": "5.0.0-beta.2",
7+
"engines": {
8+
"node": ">=12.0.0"
9+
},
810
"dependencies": {
911
"@azure/core-paging": "^1.2.0",
1012
"@azure/core-client": "^1.0.0",
1113
"@azure/core-auth": "^1.3.0",
1214
"@azure/core-rest-pipeline": "^1.1.0",
1315
"tslib": "^2.2.0"
1416
},
15-
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
17+
"keywords": [
18+
"node",
19+
"azure",
20+
"typescript",
21+
"browser",
22+
"isomorphic"
23+
],
1624
"license": "MIT",
1725
"main": "./dist/index.js",
1826
"module": "./dist-esm/src/index.js",
@@ -39,7 +47,9 @@
3947
"type": "git",
4048
"url": "https://github.com/Azure/azure-sdk-for-js.git"
4149
},
42-
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
50+
"bugs": {
51+
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
52+
},
4353
"files": [
4454
"dist/**/*.js",
4555
"dist/**/*.js.map",
@@ -95,4 +105,4 @@
95105
]
96106
},
97107
"autoPublish": true
98-
}
108+
}

sdk/applicationinsights/arm-appinsights/review/arm-appinsights.api.md

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,10 @@ export type APIKeysListResponse = ApplicationInsightsComponentAPIKeyListResult;
150150
// @public
151151
export type ApplicationInsightsComponent = ComponentsResource & {
152152
kind: string;
153+
etag?: string;
153154
readonly applicationId?: string;
154155
readonly appId?: string;
156+
readonly namePropertiesName?: string;
155157
applicationType?: ApplicationType;
156158
flowType?: FlowType;
157159
requestSource?: RequestSource;
@@ -166,10 +168,14 @@ export type ApplicationInsightsComponent = ComponentsResource & {
166168
retentionInDays?: number;
167169
disableIpMasking?: boolean;
168170
immediatePurgeDataOn30Days?: boolean;
171+
workspaceResourceId?: string;
172+
readonly laMigrationDate?: Date;
169173
readonly privateLinkScopedResources?: PrivateLinkScopedResource[];
170174
publicNetworkAccessForIngestion?: PublicNetworkAccessType;
171175
publicNetworkAccessForQuery?: PublicNetworkAccessType;
172176
ingestionMode?: IngestionMode;
177+
disableLocalAuth?: boolean;
178+
forceCustomerStorageForProfiler?: boolean;
173179
};
174180

175181
// @public
@@ -393,8 +399,6 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
393399
// (undocumented)
394400
myWorkbooks: MyWorkbooks;
395401
// (undocumented)
396-
operations: Operations;
397-
// (undocumented)
398402
proactiveDetectionConfigurations: ProactiveDetectionConfigurations;
399403
// (undocumented)
400404
subscriptionId: string;
@@ -656,6 +660,17 @@ export interface ErrorResponse {
656660
message?: string;
657661
}
658662

663+
// @public (undocumented)
664+
export interface ErrorResponseComponents {
665+
error?: ErrorResponseComponentsError;
666+
}
667+
668+
// @public
669+
export interface ErrorResponseComponentsError {
670+
readonly code?: string;
671+
readonly message?: string;
672+
}
673+
659674
// @public (undocumented)
660675
export interface ErrorResponseLinkedStorage {
661676
error?: ErrorResponseLinkedStorageError;
@@ -1158,30 +1173,12 @@ export interface OperationListResult {
11581173
// @public
11591174
export interface OperationLive {
11601175
display?: OperationInfo;
1176+
isDataAction?: boolean;
11611177
name?: string;
11621178
origin?: string;
11631179
properties?: Record<string, unknown>;
11641180
}
11651181

1166-
// @public
1167-
export interface Operations {
1168-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationLive>;
1169-
}
1170-
1171-
// @public
1172-
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1173-
}
1174-
1175-
// @public
1176-
export type OperationsListNextResponse = OperationsListResult;
1177-
1178-
// @public
1179-
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1180-
}
1181-
1182-
// @public
1183-
export type OperationsListResponse = OperationsListResult;
1184-
11851182
// @public
11861183
export interface OperationsListResult {
11871184
nextLink?: string;

sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import {
2727
WorkbooksImpl,
2828
ComponentsImpl,
2929
ComponentLinkedStorageAccountsOperationsImpl,
30-
OperationsImpl,
3130
LiveTokenImpl
3231
} from "./operations";
3332
import {
@@ -49,7 +48,6 @@ import {
4948
Workbooks,
5049
Components,
5150
ComponentLinkedStorageAccountsOperations,
52-
Operations,
5351
LiveToken
5452
} from "./operationsInterfaces";
5553
import { ApplicationInsightsManagementClientOptionalParams } from "./models";
@@ -85,7 +83,7 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
8583
credential: credentials
8684
};
8785

88-
const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.1`;
86+
const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.2`;
8987
const userAgentPrefix =
9088
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
9189
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -134,7 +132,6 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
134132
this.componentLinkedStorageAccountsOperations = new ComponentLinkedStorageAccountsOperationsImpl(
135133
this
136134
);
137-
this.operations = new OperationsImpl(this);
138135
this.liveToken = new LiveTokenImpl(this);
139136
}
140137

@@ -156,6 +153,5 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
156153
workbooks: Workbooks;
157154
components: Components;
158155
componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;
159-
operations: Operations;
160156
liveToken: LiveToken;
161157
}

0 commit comments

Comments
 (0)