@azure/arm-appinsights 5.0.0-beta.3 → 5.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,15 +3,15 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for ApplicationInsightsManagementClient.",
6
- "version": "5.0.0-beta.3",
6
+ "version": "5.0.0-beta.5",
7
7
  "engines": {
8
8
  "node": ">=12.0.0"
9
9
  },
10
10
  "dependencies": {
11
11
  "@azure/core-paging": "^1.2.0",
12
- "@azure/core-client": "^1.0.0",
12
+ "@azure/core-client": "^1.5.0",
13
13
  "@azure/core-auth": "^1.3.0",
14
- "@azure/core-rest-pipeline": "^1.1.0",
14
+ "@azure/core-rest-pipeline": "^1.8.0",
15
15
  "tslib": "^2.2.0"
16
16
  },
17
17
  "keywords": [
@@ -26,7 +26,7 @@
26
26
  "module": "./dist-esm/src/index.js",
27
27
  "types": "./types/arm-appinsights.d.ts",
28
28
  "devDependencies": {
29
- "@microsoft/api-extractor": "^7.18.11",
29
+ "@microsoft/api-extractor": "^7.31.1",
30
30
  "@rollup/plugin-commonjs": "^21.0.1",
31
31
  "@rollup/plugin-json": "^4.1.0",
32
32
  "@rollup/plugin-multi-entry": "^4.1.0",
@@ -38,9 +38,13 @@
38
38
  "uglify-js": "^3.4.9",
39
39
  "rimraf": "^3.0.0",
40
40
  "@azure/identity": "^2.0.1",
41
- "@azure-tools/test-recorder": "^1.0.0",
41
+ "@azure-tools/test-recorder": "^2.0.0",
42
+ "@azure-tools/test-credential": "^1.0.0",
42
43
  "mocha": "^7.1.1",
43
- "cross-env": "^7.0.2"
44
+ "@types/chai": "^4.2.8",
45
+ "chai": "^4.2.0",
46
+ "cross-env": "^7.0.2",
47
+ "@azure/dev-tool": "^1.0.0"
44
48
  },
45
49
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/applicationinsights/arm-appinsights",
46
50
  "repository": {
@@ -91,7 +95,7 @@
91
95
  "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
92
96
  "unit-test:browser": "echo skipped",
93
97
  "integration-test": "npm run integration-test:node && npm run integration-test:browser",
94
- "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
98
+ "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
95
99
  "integration-test:browser": "echo skipped",
96
100
  "docs": "echo skipped"
97
101
  },
@@ -105,4 +109,4 @@
105
109
  ]
106
110
  },
107
111
  "autoPublish": true
108
- }
112
+ }
@@ -968,17 +968,21 @@ export enum KnownRequestSource {
968
968
  }
969
969
 
970
970
  // @public
971
- export enum KnownSharedTypeKind {
971
+ export enum KnownStorageType {
972
972
  // (undocumented)
973
- Shared = "shared",
973
+ ServiceProfiler = "ServiceProfiler"
974
+ }
975
+
976
+ // @public
977
+ export enum KnownWorkbookSharedTypeKind {
974
978
  // (undocumented)
975
- User = "user"
979
+ Shared = "shared"
976
980
  }
977
981
 
978
982
  // @public
979
- export enum KnownStorageType {
983
+ export enum KnownWorkbookUpdateSharedTypeKind {
980
984
  // (undocumented)
981
- ServiceProfiler = "ServiceProfiler"
985
+ Shared = "shared"
982
986
  }
983
987
 
984
988
  // @public
@@ -1220,7 +1224,7 @@ export interface ProactiveDetectionConfigurationsUpdateOptionalParams extends co
1220
1224
  export type ProactiveDetectionConfigurationsUpdateResponse = ApplicationInsightsComponentProactiveDetectionConfiguration;
1221
1225
 
1222
1226
  // @public
1223
- export type ProxyResource = Resource & {};
1227
+ export type ProxyResource = Resource;
1224
1228
 
1225
1229
  // @public
1226
1230
  export type PublicNetworkAccessType = string;
@@ -1238,9 +1242,6 @@ export interface Resource {
1238
1242
  readonly type?: string;
1239
1243
  }
1240
1244
 
1241
- // @public
1242
- export type SharedTypeKind = string;
1243
-
1244
1245
  // @public
1245
1246
  export type StorageType = string;
1246
1247
 
@@ -1447,12 +1448,12 @@ export interface WorkbookInnerErrorTrace {
1447
1448
  // @public
1448
1449
  export type WorkbookResource = TrackedResource & {
1449
1450
  identity?: WorkbookResourceIdentity;
1450
- kind?: Kind;
1451
+ kind?: WorkbookSharedTypeKind;
1451
1452
  etag?: string;
1452
1453
  };
1453
1454
 
1454
1455
  // @public
1455
- export type WorkbookResourceIdentity = ManagedServiceIdentity & {};
1456
+ export type WorkbookResourceIdentity = ManagedServiceIdentity;
1456
1457
 
1457
1458
  // @public
1458
1459
  export interface Workbooks {
@@ -1486,6 +1487,9 @@ export interface WorkbooksGetOptionalParams extends coreClient.OperationOptions
1486
1487
  // @public
1487
1488
  export type WorkbooksGetResponse = Workbook;
1488
1489
 
1490
+ // @public
1491
+ export type WorkbookSharedTypeKind = string;
1492
+
1489
1493
  // @public
1490
1494
  export interface WorkbooksListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1491
1495
  canFetchContent?: boolean;
@@ -1683,7 +1687,7 @@ export interface WorkbookUpdateParameters {
1683
1687
  category?: string;
1684
1688
  description?: string;
1685
1689
  displayName?: string;
1686
- kind?: SharedTypeKind;
1690
+ kind?: WorkbookUpdateSharedTypeKind;
1687
1691
  revision?: string;
1688
1692
  serializedData?: string;
1689
1693
  tags?: {
@@ -1692,6 +1696,9 @@ export interface WorkbookUpdateParameters {
1692
1696
  tagsPropertiesTags?: string[];
1693
1697
  }
1694
1698
 
1699
+ // @public
1700
+ export type WorkbookUpdateSharedTypeKind = string;
1701
+
1695
1702
  // @public
1696
1703
  export interface WorkItemConfiguration {
1697
1704
  configDisplayName?: string;
@@ -7,6 +7,7 @@
7
7
  */
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
11
  import * as coreAuth from "@azure/core-auth";
11
12
  import {
12
13
  AnnotationsImpl,
@@ -83,24 +84,45 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
83
84
  credential: credentials
84
85
  };
85
86
 
86
- const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.3`;
87
+ const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.5`;
87
88
  const userAgentPrefix =
88
89
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
89
90
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
90
91
  : `${packageDetails}`;
91
92
 
92
- if (!options.credentialScopes) {
93
- options.credentialScopes = ["https://management.azure.com/.default"];
94
- }
95
93
  const optionsWithDefaults = {
96
94
  ...defaults,
97
95
  ...options,
98
96
  userAgentOptions: {
99
97
  userAgentPrefix
100
98
  },
101
- baseUri: options.endpoint || "https://management.azure.com"
99
+ baseUri:
100
+ options.endpoint ?? options.baseUri ?? "https://management.azure.com"
102
101
  };
103
102
  super(optionsWithDefaults);
103
+
104
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
105
+ const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();
106
+ const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
107
+ (pipelinePolicy) =>
108
+ pipelinePolicy.name ===
109
+ coreRestPipeline.bearerTokenAuthenticationPolicyName
110
+ );
111
+ if (!bearerTokenAuthenticationPolicyFound) {
112
+ this.pipeline.removePolicy({
113
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
114
+ });
115
+ this.pipeline.addPolicy(
116
+ coreRestPipeline.bearerTokenAuthenticationPolicy({
117
+ scopes: `${optionsWithDefaults.baseUri}/.default`,
118
+ challengeCallbacks: {
119
+ authorizeRequestOnChallenge:
120
+ coreClient.authorizeRequestOnClaimChallenge
121
+ }
122
+ })
123
+ );
124
+ }
125
+ }
104
126
  // Parameter assignments
105
127
  this.subscriptionId = subscriptionId;
106
128
 
@@ -924,7 +924,7 @@ export interface WorkbookErrorDefinition {
924
924
  /** The parameters that can be provided when updating workbook properties properties. */
925
925
  export interface WorkbookUpdateParameters {
926
926
  /** The kind of workbook. Only valid value is shared. */
927
- kind?: SharedTypeKind;
927
+ kind?: WorkbookUpdateSharedTypeKind;
928
928
  /** Resource tags. */
929
929
  tags?: { [propertyName: string]: string };
930
930
  /** The user-defined name (display name) of the workbook. */
@@ -1232,7 +1232,7 @@ export type MyWorkbook = MyWorkbookResource & {
1232
1232
  };
1233
1233
 
1234
1234
  /** Identity used for BYOS */
1235
- export type WorkbookResourceIdentity = ManagedServiceIdentity & {};
1235
+ export type WorkbookResourceIdentity = ManagedServiceIdentity;
1236
1236
 
1237
1237
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1238
1238
  export type TrackedResource = Resource & {
@@ -1243,7 +1243,7 @@ export type TrackedResource = Resource & {
1243
1243
  };
1244
1244
 
1245
1245
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1246
- export type ProxyResource = Resource & {};
1246
+ export type ProxyResource = Resource;
1247
1247
 
1248
1248
  /** An Application Insights component definition. */
1249
1249
  export type ApplicationInsightsComponent = ComponentsResource & {
@@ -1341,7 +1341,7 @@ export type WorkbookResource = TrackedResource & {
1341
1341
  /** Identity used for BYOS */
1342
1342
  identity?: WorkbookResourceIdentity;
1343
1343
  /** The kind of workbook. Only valid value is shared. */
1344
- kind?: Kind;
1344
+ kind?: WorkbookSharedTypeKind;
1345
1345
  /** Resource etag */
1346
1346
  etag?: string;
1347
1347
  };
@@ -1352,7 +1352,7 @@ export type ComponentLinkedStorageAccounts = ProxyResource & {
1352
1352
  linkedStorageAccount?: string;
1353
1353
  };
1354
1354
 
1355
- /** An Application Insights workbook definition. */
1355
+ /** A workbook definition. */
1356
1356
  export type Workbook = WorkbookResource & {
1357
1357
  /**
1358
1358
  * Metadata pertaining to creation and last modification of the resource.
@@ -1586,21 +1586,33 @@ export enum KnownManagedServiceIdentityType {
1586
1586
  */
1587
1587
  export type ManagedServiceIdentityType = string;
1588
1588
 
1589
- /** Known values of {@link SharedTypeKind} that the service accepts. */
1590
- export enum KnownSharedTypeKind {
1591
- User = "user",
1589
+ /** Known values of {@link WorkbookSharedTypeKind} that the service accepts. */
1590
+ export enum KnownWorkbookSharedTypeKind {
1592
1591
  Shared = "shared"
1593
1592
  }
1594
1593
 
1595
1594
  /**
1596
- * Defines values for SharedTypeKind. \
1597
- * {@link KnownSharedTypeKind} can be used interchangeably with SharedTypeKind,
1595
+ * Defines values for WorkbookSharedTypeKind. \
1596
+ * {@link KnownWorkbookSharedTypeKind} can be used interchangeably with WorkbookSharedTypeKind,
1597
+ * this enum contains the known values that the service supports.
1598
+ * ### Known values supported by the service
1599
+ * **shared**
1600
+ */
1601
+ export type WorkbookSharedTypeKind = string;
1602
+
1603
+ /** Known values of {@link WorkbookUpdateSharedTypeKind} that the service accepts. */
1604
+ export enum KnownWorkbookUpdateSharedTypeKind {
1605
+ Shared = "shared"
1606
+ }
1607
+
1608
+ /**
1609
+ * Defines values for WorkbookUpdateSharedTypeKind. \
1610
+ * {@link KnownWorkbookUpdateSharedTypeKind} can be used interchangeably with WorkbookUpdateSharedTypeKind,
1598
1611
  * this enum contains the known values that the service supports.
1599
1612
  * ### Known values supported by the service
1600
- * **user** \
1601
1613
  * **shared**
1602
1614
  */
1603
- export type SharedTypeKind = string;
1615
+ export type WorkbookUpdateSharedTypeKind = string;
1604
1616
 
1605
1617
  /** Known values of {@link ApplicationType} that the service accepts. */
1606
1618
  export enum KnownApplicationType {
@@ -357,7 +357,7 @@ export const scope: OperationQueryParameter = {
357
357
  };
358
358
 
359
359
  export const typeParam: OperationQueryParameter = {
360
- parameterPath: ["options", "typeParam"],
360
+ parameterPath: ["options", "type"],
361
361
  mapper: {
362
362
  defaultValue: "none",
363
363
  serializedName: "type",
@@ -475,7 +475,7 @@ export const workbookProperties: OperationParameter = {
475
475
  export const apiVersion3: OperationQueryParameter = {
476
476
  parameterPath: "apiVersion",
477
477
  mapper: {
478
- defaultValue: "2021-08-01",
478
+ defaultValue: "2022-04-01",
479
479
  isConstant: true,
480
480
  serializedName: "api-version",
481
481
  type: {
@@ -178,7 +178,7 @@ export class WorkbooksImpl implements Workbooks {
178
178
  /**
179
179
  * Get the revisions for the workbook defined by its resourceName.
180
180
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
181
- * @param resourceName The name of the Application Insights component resource.
181
+ * @param resourceName The name of the resource.
182
182
  * @param options The options parameters.
183
183
  */
184
184
  public listRevisionsList(
@@ -281,7 +281,7 @@ export class WorkbooksImpl implements Workbooks {
281
281
  /**
282
282
  * Get a single workbook by its resourceName.
283
283
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
284
- * @param resourceName The name of the Application Insights component resource.
284
+ * @param resourceName The name of the resource.
285
285
  * @param options The options parameters.
286
286
  */
287
287
  get(
@@ -298,7 +298,7 @@ export class WorkbooksImpl implements Workbooks {
298
298
  /**
299
299
  * Delete a workbook.
300
300
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
301
- * @param resourceName The name of the Application Insights component resource.
301
+ * @param resourceName The name of the resource.
302
302
  * @param options The options parameters.
303
303
  */
304
304
  delete(
@@ -315,7 +315,7 @@ export class WorkbooksImpl implements Workbooks {
315
315
  /**
316
316
  * Create a new workbook.
317
317
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
318
- * @param resourceName The name of the Application Insights component resource.
318
+ * @param resourceName The name of the resource.
319
319
  * @param workbookProperties Properties that need to be specified to create a new workbook.
320
320
  * @param options The options parameters.
321
321
  */
@@ -334,7 +334,7 @@ export class WorkbooksImpl implements Workbooks {
334
334
  /**
335
335
  * Updates a workbook that has already been added.
336
336
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
337
- * @param resourceName The name of the Application Insights component resource.
337
+ * @param resourceName The name of the resource.
338
338
  * @param options The options parameters.
339
339
  */
340
340
  update(
@@ -351,7 +351,7 @@ export class WorkbooksImpl implements Workbooks {
351
351
  /**
352
352
  * Get the revisions for the workbook defined by its resourceName.
353
353
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
354
- * @param resourceName The name of the Application Insights component resource.
354
+ * @param resourceName The name of the resource.
355
355
  * @param options The options parameters.
356
356
  */
357
357
  private _revisionsList(
@@ -368,7 +368,7 @@ export class WorkbooksImpl implements Workbooks {
368
368
  /**
369
369
  * Get a single workbook revision defined by its revisionId.
370
370
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
371
- * @param resourceName The name of the Application Insights component resource.
371
+ * @param resourceName The name of the resource.
372
372
  * @param revisionId The id of the workbook's revision.
373
373
  * @param options The options parameters.
374
374
  */
@@ -423,7 +423,7 @@ export class WorkbooksImpl implements Workbooks {
423
423
  /**
424
424
  * RevisionsListNext
425
425
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
426
- * @param resourceName The name of the Application Insights component resource.
426
+ * @param resourceName The name of the resource.
427
427
  * @param nextLink The nextLink from the previous successful call to the RevisionsList method.
428
428
  * @param options The options parameters.
429
429
  */
@@ -50,7 +50,7 @@ export interface Workbooks {
50
50
  /**
51
51
  * Get the revisions for the workbook defined by its resourceName.
52
52
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
- * @param resourceName The name of the Application Insights component resource.
53
+ * @param resourceName The name of the resource.
54
54
  * @param options The options parameters.
55
55
  */
56
56
  listRevisionsList(
@@ -61,7 +61,7 @@ export interface Workbooks {
61
61
  /**
62
62
  * Get a single workbook by its resourceName.
63
63
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
64
- * @param resourceName The name of the Application Insights component resource.
64
+ * @param resourceName The name of the resource.
65
65
  * @param options The options parameters.
66
66
  */
67
67
  get(
@@ -72,7 +72,7 @@ export interface Workbooks {
72
72
  /**
73
73
  * Delete a workbook.
74
74
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
75
- * @param resourceName The name of the Application Insights component resource.
75
+ * @param resourceName The name of the resource.
76
76
  * @param options The options parameters.
77
77
  */
78
78
  delete(
@@ -83,7 +83,7 @@ export interface Workbooks {
83
83
  /**
84
84
  * Create a new workbook.
85
85
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
- * @param resourceName The name of the Application Insights component resource.
86
+ * @param resourceName The name of the resource.
87
87
  * @param workbookProperties Properties that need to be specified to create a new workbook.
88
88
  * @param options The options parameters.
89
89
  */
@@ -96,7 +96,7 @@ export interface Workbooks {
96
96
  /**
97
97
  * Updates a workbook that has already been added.
98
98
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
- * @param resourceName The name of the Application Insights component resource.
99
+ * @param resourceName The name of the resource.
100
100
  * @param options The options parameters.
101
101
  */
102
102
  update(
@@ -107,7 +107,7 @@ export interface Workbooks {
107
107
  /**
108
108
  * Get a single workbook revision defined by its revisionId.
109
109
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
110
- * @param resourceName The name of the Application Insights component resource.
110
+ * @param resourceName The name of the resource.
111
111
  * @param revisionId The id of the workbook's revision.
112
112
  * @param options The options parameters.
113
113
  */
@@ -1751,17 +1751,21 @@ export declare enum KnownRequestSource {
1751
1751
  Rest = "rest"
1752
1752
  }
1753
1753
 
1754
- /** Known values of {@link SharedTypeKind} that the service accepts. */
1755
- export declare enum KnownSharedTypeKind {
1756
- User = "user",
1757
- Shared = "shared"
1758
- }
1759
-
1760
1754
  /** Known values of {@link StorageType} that the service accepts. */
1761
1755
  export declare enum KnownStorageType {
1762
1756
  ServiceProfiler = "ServiceProfiler"
1763
1757
  }
1764
1758
 
1759
+ /** Known values of {@link WorkbookSharedTypeKind} that the service accepts. */
1760
+ export declare enum KnownWorkbookSharedTypeKind {
1761
+ Shared = "shared"
1762
+ }
1763
+
1764
+ /** Known values of {@link WorkbookUpdateSharedTypeKind} that the service accepts. */
1765
+ export declare enum KnownWorkbookUpdateSharedTypeKind {
1766
+ Shared = "shared"
1767
+ }
1768
+
1765
1769
  /** Interface representing a LiveToken. */
1766
1770
  export declare interface LiveToken {
1767
1771
  /**
@@ -2170,7 +2174,7 @@ export declare interface ProactiveDetectionConfigurationsUpdateOptionalParams ex
2170
2174
  export declare type ProactiveDetectionConfigurationsUpdateResponse = ApplicationInsightsComponentProactiveDetectionConfiguration;
2171
2175
 
2172
2176
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
2173
- export declare type ProxyResource = Resource & {};
2177
+ export declare type ProxyResource = Resource;
2174
2178
 
2175
2179
  /**
2176
2180
  * Defines values for PublicNetworkAccessType. \
@@ -2220,16 +2224,6 @@ export declare interface Resource {
2220
2224
  readonly type?: string;
2221
2225
  }
2222
2226
 
2223
- /**
2224
- * Defines values for SharedTypeKind. \
2225
- * {@link KnownSharedTypeKind} can be used interchangeably with SharedTypeKind,
2226
- * this enum contains the known values that the service supports.
2227
- * ### Known values supported by the service
2228
- * **user** \
2229
- * **shared**
2230
- */
2231
- export declare type SharedTypeKind = string;
2232
-
2233
2227
  /**
2234
2228
  * Defines values for StorageType. \
2235
2229
  * {@link KnownStorageType} can be used interchangeably with StorageType,
@@ -2504,7 +2498,7 @@ export declare interface WebTestsUpdateTagsOptionalParams extends coreClient.Ope
2504
2498
  /** Contains response data for the updateTags operation. */
2505
2499
  export declare type WebTestsUpdateTagsResponse = WebTest;
2506
2500
 
2507
- /** An Application Insights workbook definition. */
2501
+ /** A workbook definition. */
2508
2502
  export declare type Workbook = WorkbookResource & {
2509
2503
  /**
2510
2504
  * Metadata pertaining to creation and last modification of the resource.
@@ -2583,13 +2577,13 @@ export declare type WorkbookResource = TrackedResource & {
2583
2577
  /** Identity used for BYOS */
2584
2578
  identity?: WorkbookResourceIdentity;
2585
2579
  /** The kind of workbook. Only valid value is shared. */
2586
- kind?: Kind;
2580
+ kind?: WorkbookSharedTypeKind;
2587
2581
  /** Resource etag */
2588
2582
  etag?: string;
2589
2583
  };
2590
2584
 
2591
2585
  /** Identity used for BYOS */
2592
- export declare type WorkbookResourceIdentity = ManagedServiceIdentity & {};
2586
+ export declare type WorkbookResourceIdentity = ManagedServiceIdentity;
2593
2587
 
2594
2588
  /** Interface representing a Workbooks. */
2595
2589
  export declare interface Workbooks {
@@ -2609,28 +2603,28 @@ export declare interface Workbooks {
2609
2603
  /**
2610
2604
  * Get the revisions for the workbook defined by its resourceName.
2611
2605
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2612
- * @param resourceName The name of the Application Insights component resource.
2606
+ * @param resourceName The name of the resource.
2613
2607
  * @param options The options parameters.
2614
2608
  */
2615
2609
  listRevisionsList(resourceGroupName: string, resourceName: string, options?: WorkbooksRevisionsListOptionalParams): PagedAsyncIterableIterator<Workbook>;
2616
2610
  /**
2617
2611
  * Get a single workbook by its resourceName.
2618
2612
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2619
- * @param resourceName The name of the Application Insights component resource.
2613
+ * @param resourceName The name of the resource.
2620
2614
  * @param options The options parameters.
2621
2615
  */
2622
2616
  get(resourceGroupName: string, resourceName: string, options?: WorkbooksGetOptionalParams): Promise<WorkbooksGetResponse>;
2623
2617
  /**
2624
2618
  * Delete a workbook.
2625
2619
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2626
- * @param resourceName The name of the Application Insights component resource.
2620
+ * @param resourceName The name of the resource.
2627
2621
  * @param options The options parameters.
2628
2622
  */
2629
2623
  delete(resourceGroupName: string, resourceName: string, options?: WorkbooksDeleteOptionalParams): Promise<void>;
2630
2624
  /**
2631
2625
  * Create a new workbook.
2632
2626
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2633
- * @param resourceName The name of the Application Insights component resource.
2627
+ * @param resourceName The name of the resource.
2634
2628
  * @param workbookProperties Properties that need to be specified to create a new workbook.
2635
2629
  * @param options The options parameters.
2636
2630
  */
@@ -2638,14 +2632,14 @@ export declare interface Workbooks {
2638
2632
  /**
2639
2633
  * Updates a workbook that has already been added.
2640
2634
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2641
- * @param resourceName The name of the Application Insights component resource.
2635
+ * @param resourceName The name of the resource.
2642
2636
  * @param options The options parameters.
2643
2637
  */
2644
2638
  update(resourceGroupName: string, resourceName: string, options?: WorkbooksUpdateOptionalParams): Promise<WorkbooksUpdateResponse>;
2645
2639
  /**
2646
2640
  * Get a single workbook revision defined by its revisionId.
2647
2641
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
2648
- * @param resourceName The name of the Application Insights component resource.
2642
+ * @param resourceName The name of the resource.
2649
2643
  * @param revisionId The id of the workbook's revision.
2650
2644
  * @param options The options parameters.
2651
2645
  */
@@ -2674,6 +2668,15 @@ export declare interface WorkbooksGetOptionalParams extends coreClient.Operation
2674
2668
  /** Contains response data for the get operation. */
2675
2669
  export declare type WorkbooksGetResponse = Workbook;
2676
2670
 
2671
+ /**
2672
+ * Defines values for WorkbookSharedTypeKind. \
2673
+ * {@link KnownWorkbookSharedTypeKind} can be used interchangeably with WorkbookSharedTypeKind,
2674
+ * this enum contains the known values that the service supports.
2675
+ * ### Known values supported by the service
2676
+ * **shared**
2677
+ */
2678
+ export declare type WorkbookSharedTypeKind = string;
2679
+
2677
2680
  /** Optional parameters. */
2678
2681
  export declare interface WorkbooksListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
2679
2682
  /** Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks. */
@@ -2955,7 +2958,7 @@ export declare interface WorkbookTemplateUpdateParameters {
2955
2958
  /** The parameters that can be provided when updating workbook properties properties. */
2956
2959
  export declare interface WorkbookUpdateParameters {
2957
2960
  /** The kind of workbook. Only valid value is shared. */
2958
- kind?: SharedTypeKind;
2961
+ kind?: WorkbookUpdateSharedTypeKind;
2959
2962
  /** Resource tags. */
2960
2963
  tags?: {
2961
2964
  [propertyName: string]: string;
@@ -2974,6 +2977,15 @@ export declare interface WorkbookUpdateParameters {
2974
2977
  revision?: string;
2975
2978
  }
2976
2979
 
2980
+ /**
2981
+ * Defines values for WorkbookUpdateSharedTypeKind. \
2982
+ * {@link KnownWorkbookUpdateSharedTypeKind} can be used interchangeably with WorkbookUpdateSharedTypeKind,
2983
+ * this enum contains the known values that the service supports.
2984
+ * ### Known values supported by the service
2985
+ * **shared**
2986
+ */
2987
+ export declare type WorkbookUpdateSharedTypeKind = string;
2988
+
2977
2989
  /** Work item configuration associated with an application insights resource. */
2978
2990
  export declare interface WorkItemConfiguration {
2979
2991
  /** Connector identifier where work item is created */
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.19.4"
8
+ "packageVersion": "7.31.2"
9
9
  }
10
10
  ]
11
11
  }