@azure/arm-appinsights 5.0.0-beta.3 → 5.0.0-beta.4
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/CHANGELOG.md +2 -2
- package/dist/index.js +41 -18
- 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/applicationInsightsManagementClient.d.ts.map +1 -1
- package/dist-esm/src/applicationInsightsManagementClient.js +20 -2
- package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +22 -12
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -6
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/parameters.js +2 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/workbooks.d.ts +8 -8
- package/dist-esm/src/operations/workbooks.js +8 -8
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts +6 -6
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +11 -7
- package/review/arm-appinsights.api.md +19 -12
- package/src/applicationInsightsManagementClient.ts +27 -2
- package/src/models/index.ts +24 -12
- package/src/models/parameters.ts +2 -2
- package/src/operations/workbooks.ts +8 -8
- package/src/operationsInterfaces/workbooks.ts +6 -6
- package/types/arm-appinsights.d.ts +39 -27
- package/types/tsdoc-metadata.json +1 -1
|
@@ -968,17 +968,21 @@ export enum KnownRequestSource {
|
|
|
968
968
|
}
|
|
969
969
|
|
|
970
970
|
// @public
|
|
971
|
-
export enum
|
|
971
|
+
export enum KnownStorageType {
|
|
972
972
|
// (undocumented)
|
|
973
|
-
|
|
973
|
+
ServiceProfiler = "ServiceProfiler"
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
// @public
|
|
977
|
+
export enum KnownWorkbookSharedTypeKind {
|
|
974
978
|
// (undocumented)
|
|
975
|
-
|
|
979
|
+
Shared = "shared"
|
|
976
980
|
}
|
|
977
981
|
|
|
978
982
|
// @public
|
|
979
|
-
export enum
|
|
983
|
+
export enum KnownWorkbookUpdateSharedTypeKind {
|
|
980
984
|
// (undocumented)
|
|
981
|
-
|
|
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?:
|
|
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?:
|
|
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,7 +84,7 @@ 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.
|
|
87
|
+
const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.4`;
|
|
87
88
|
const userAgentPrefix =
|
|
88
89
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
89
90
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -98,9 +99,33 @@ export class ApplicationInsightsManagementClient extends coreClient.ServiceClien
|
|
|
98
99
|
userAgentOptions: {
|
|
99
100
|
userAgentPrefix
|
|
100
101
|
},
|
|
101
|
-
baseUri:
|
|
102
|
+
baseUri:
|
|
103
|
+
options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
102
104
|
};
|
|
103
105
|
super(optionsWithDefaults);
|
|
106
|
+
|
|
107
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
108
|
+
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();
|
|
109
|
+
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
|
110
|
+
(pipelinePolicy) =>
|
|
111
|
+
pipelinePolicy.name ===
|
|
112
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
113
|
+
);
|
|
114
|
+
if (!bearerTokenAuthenticationPolicyFound) {
|
|
115
|
+
this.pipeline.removePolicy({
|
|
116
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
117
|
+
});
|
|
118
|
+
this.pipeline.addPolicy(
|
|
119
|
+
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
120
|
+
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
|
121
|
+
challengeCallbacks: {
|
|
122
|
+
authorizeRequestOnChallenge:
|
|
123
|
+
coreClient.authorizeRequestOnClaimChallenge
|
|
124
|
+
}
|
|
125
|
+
})
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
104
129
|
// Parameter assignments
|
|
105
130
|
this.subscriptionId = subscriptionId;
|
|
106
131
|
|
package/src/models/index.ts
CHANGED
|
@@ -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?:
|
|
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?:
|
|
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
|
-
/**
|
|
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
|
|
1590
|
-
export enum
|
|
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
|
|
1597
|
-
* {@link
|
|
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
|
|
1615
|
+
export type WorkbookUpdateSharedTypeKind = string;
|
|
1604
1616
|
|
|
1605
1617
|
/** Known values of {@link ApplicationType} that the service accepts. */
|
|
1606
1618
|
export enum KnownApplicationType {
|
package/src/models/parameters.ts
CHANGED
|
@@ -357,7 +357,7 @@ export const scope: OperationQueryParameter = {
|
|
|
357
357
|
};
|
|
358
358
|
|
|
359
359
|
export const typeParam: OperationQueryParameter = {
|
|
360
|
-
parameterPath: ["options", "
|
|
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: "
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
/**
|
|
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?:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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?:
|
|
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 */
|