@azure/arm-appinsights 5.0.0-beta.1 → 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/README.md +11 -0
- package/dist/index.js +558 -488
- 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 +1 -2
- package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -1
- package/dist-esm/src/applicationInsightsManagementClient.js +21 -4
- package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +92 -53
- 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/mappers.d.ts +5 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +168 -94
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +14 -14
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/components.js +33 -5
- package/dist-esm/src/operations/components.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +0 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +0 -1
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/liveToken.js +1 -1
- package/dist-esm/src/operations/workbooks.d.ts +10 -10
- package/dist-esm/src/operations/workbooks.js +11 -11
- package/dist-esm/src/operations/workbooks.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/workbooks.d.ts +7 -7
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +32 -18
- package/review/arm-appinsights.api.md +38 -33
- package/rollup.config.js +6 -72
- package/src/applicationInsightsManagementClient.ts +27 -6
- package/src/models/index.ts +101 -61
- package/src/models/mappers.ts +179 -97
- package/src/models/parameters.ts +15 -15
- package/src/operations/components.ts +33 -5
- package/src/operations/index.ts +0 -1
- package/src/operations/liveToken.ts +1 -1
- package/src/operations/workbooks.ts +11 -11
- package/src/operationsInterfaces/index.ts +0 -1
- package/src/operationsInterfaces/workbooks.ts +7 -7
- package/tsconfig.json +12 -4
- package/types/arm-appinsights.d.ts +83 -54
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -116
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js +0 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/src/operations/operations.ts +0 -133
- package/src/operationsInterfaces/operations.ts +0 -22
|
@@ -331,6 +331,9 @@ const listOperationSpec: coreClient.OperationSpec = {
|
|
|
331
331
|
responses: {
|
|
332
332
|
200: {
|
|
333
333
|
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
334
|
+
},
|
|
335
|
+
default: {
|
|
336
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
334
337
|
}
|
|
335
338
|
},
|
|
336
339
|
queryParameters: [Parameters.apiVersion4],
|
|
@@ -345,6 +348,9 @@ const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
|
345
348
|
responses: {
|
|
346
349
|
200: {
|
|
347
350
|
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
351
|
+
},
|
|
352
|
+
default: {
|
|
353
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
348
354
|
}
|
|
349
355
|
},
|
|
350
356
|
queryParameters: [Parameters.apiVersion4],
|
|
@@ -360,7 +366,13 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
360
366
|
path:
|
|
361
367
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
362
368
|
httpMethod: "DELETE",
|
|
363
|
-
responses: {
|
|
369
|
+
responses: {
|
|
370
|
+
200: {},
|
|
371
|
+
204: {},
|
|
372
|
+
default: {
|
|
373
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
374
|
+
}
|
|
375
|
+
},
|
|
364
376
|
queryParameters: [Parameters.apiVersion4],
|
|
365
377
|
urlParameters: [
|
|
366
378
|
Parameters.$host,
|
|
@@ -368,6 +380,7 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
368
380
|
Parameters.subscriptionId,
|
|
369
381
|
Parameters.resourceName
|
|
370
382
|
],
|
|
383
|
+
headerParameters: [Parameters.accept],
|
|
371
384
|
serializer
|
|
372
385
|
};
|
|
373
386
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
@@ -377,6 +390,9 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
377
390
|
responses: {
|
|
378
391
|
200: {
|
|
379
392
|
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
393
|
+
},
|
|
394
|
+
default: {
|
|
395
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
380
396
|
}
|
|
381
397
|
},
|
|
382
398
|
queryParameters: [Parameters.apiVersion4],
|
|
@@ -397,8 +413,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
397
413
|
200: {
|
|
398
414
|
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
399
415
|
},
|
|
400
|
-
|
|
401
|
-
bodyMapper: Mappers.
|
|
416
|
+
default: {
|
|
417
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
402
418
|
}
|
|
403
419
|
},
|
|
404
420
|
requestBody: Parameters.insightProperties,
|
|
@@ -421,8 +437,8 @@ const updateTagsOperationSpec: coreClient.OperationSpec = {
|
|
|
421
437
|
200: {
|
|
422
438
|
bodyMapper: Mappers.ApplicationInsightsComponent
|
|
423
439
|
},
|
|
424
|
-
|
|
425
|
-
bodyMapper: Mappers.
|
|
440
|
+
default: {
|
|
441
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
426
442
|
}
|
|
427
443
|
},
|
|
428
444
|
requestBody: Parameters.componentTags,
|
|
@@ -444,6 +460,9 @@ const purgeOperationSpec: coreClient.OperationSpec = {
|
|
|
444
460
|
responses: {
|
|
445
461
|
202: {
|
|
446
462
|
bodyMapper: Mappers.ComponentPurgeResponse
|
|
463
|
+
},
|
|
464
|
+
default: {
|
|
465
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
447
466
|
}
|
|
448
467
|
},
|
|
449
468
|
requestBody: Parameters.body,
|
|
@@ -465,6 +484,9 @@ const getPurgeStatusOperationSpec: coreClient.OperationSpec = {
|
|
|
465
484
|
responses: {
|
|
466
485
|
200: {
|
|
467
486
|
bodyMapper: Mappers.ComponentPurgeStatusResponse
|
|
487
|
+
},
|
|
488
|
+
default: {
|
|
489
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
468
490
|
}
|
|
469
491
|
},
|
|
470
492
|
queryParameters: [Parameters.apiVersion4],
|
|
@@ -484,6 +506,9 @@ const listNextOperationSpec: coreClient.OperationSpec = {
|
|
|
484
506
|
responses: {
|
|
485
507
|
200: {
|
|
486
508
|
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
509
|
+
},
|
|
510
|
+
default: {
|
|
511
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
487
512
|
}
|
|
488
513
|
},
|
|
489
514
|
queryParameters: [Parameters.apiVersion4],
|
|
@@ -501,6 +526,9 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
|
501
526
|
responses: {
|
|
502
527
|
200: {
|
|
503
528
|
bodyMapper: Mappers.ApplicationInsightsComponentListResult
|
|
529
|
+
},
|
|
530
|
+
default: {
|
|
531
|
+
bodyMapper: Mappers.ErrorResponseComponents
|
|
504
532
|
}
|
|
505
533
|
},
|
|
506
534
|
queryParameters: [Parameters.apiVersion4],
|
package/src/operations/index.ts
CHANGED
|
@@ -44,7 +44,7 @@ export class LiveTokenImpl implements LiveToken {
|
|
|
44
44
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
45
45
|
|
|
46
46
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
47
|
-
path: "/{resourceUri}/providers/
|
|
47
|
+
path: "/{resourceUri}/providers/Microsoft.Insights/generatelivetoken",
|
|
48
48
|
httpMethod: "POST",
|
|
49
49
|
responses: {
|
|
50
50
|
200: {
|
|
@@ -52,7 +52,7 @@ export class WorkbooksImpl implements Workbooks {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Get all
|
|
55
|
+
* Get all Workbooks defined within a specified subscription and category.
|
|
56
56
|
* @param category Category of workbook to return.
|
|
57
57
|
* @param options The options parameters.
|
|
58
58
|
*/
|
|
@@ -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(
|
|
@@ -247,7 +247,7 @@ export class WorkbooksImpl implements Workbooks {
|
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
|
-
* Get all
|
|
250
|
+
* Get all Workbooks defined within a specified subscription and category.
|
|
251
251
|
* @param category Category of workbook to return.
|
|
252
252
|
* @param options The options parameters.
|
|
253
253
|
*/
|
|
@@ -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
|
*/
|
|
@@ -503,7 +503,7 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
503
503
|
bodyMapper: Mappers.WorkbookError
|
|
504
504
|
}
|
|
505
505
|
},
|
|
506
|
-
queryParameters: [Parameters.apiVersion3],
|
|
506
|
+
queryParameters: [Parameters.canFetchContent, Parameters.apiVersion3],
|
|
507
507
|
urlParameters: [
|
|
508
508
|
Parameters.$host,
|
|
509
509
|
Parameters.resourceGroupName,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
/** Interface representing a Workbooks. */
|
|
29
29
|
export interface Workbooks {
|
|
30
30
|
/**
|
|
31
|
-
* Get all
|
|
31
|
+
* Get all Workbooks defined within a specified subscription and category.
|
|
32
32
|
* @param category Category of workbook to return.
|
|
33
33
|
* @param options The options parameters.
|
|
34
34
|
*/
|
|
@@ -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
|
*/
|
package/tsconfig.json
CHANGED
|
@@ -9,11 +9,19 @@
|
|
|
9
9
|
"esModuleInterop": true,
|
|
10
10
|
"allowSyntheticDefaultImports": true,
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"lib": [
|
|
12
|
+
"lib": [
|
|
13
|
+
"es6",
|
|
14
|
+
"dom"
|
|
15
|
+
],
|
|
13
16
|
"declaration": true,
|
|
14
17
|
"outDir": "./dist-esm",
|
|
15
18
|
"importHelpers": true
|
|
16
19
|
},
|
|
17
|
-
"include": [
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
"include": [
|
|
21
|
+
"./src/**/*.ts",
|
|
22
|
+
"./test/**/*.ts"
|
|
23
|
+
],
|
|
24
|
+
"exclude": [
|
|
25
|
+
"node_modules"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -264,6 +264,8 @@ export declare type APIKeysListResponse = ApplicationInsightsComponentAPIKeyList
|
|
|
264
264
|
export declare type ApplicationInsightsComponent = ComponentsResource & {
|
|
265
265
|
/** The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone. */
|
|
266
266
|
kind: string;
|
|
267
|
+
/** Resource etag */
|
|
268
|
+
etag?: string;
|
|
267
269
|
/**
|
|
268
270
|
* The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
|
|
269
271
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -274,6 +276,11 @@ export declare type ApplicationInsightsComponent = ComponentsResource & {
|
|
|
274
276
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
275
277
|
*/
|
|
276
278
|
readonly appId?: string;
|
|
279
|
+
/**
|
|
280
|
+
* Application name.
|
|
281
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
282
|
+
*/
|
|
283
|
+
readonly namePropertiesName?: string;
|
|
277
284
|
/** Type of application being monitored. */
|
|
278
285
|
applicationType?: ApplicationType;
|
|
279
286
|
/** Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API. */
|
|
@@ -320,6 +327,13 @@ export declare type ApplicationInsightsComponent = ComponentsResource & {
|
|
|
320
327
|
disableIpMasking?: boolean;
|
|
321
328
|
/** Purge data immediately after 30 days. */
|
|
322
329
|
immediatePurgeDataOn30Days?: boolean;
|
|
330
|
+
/** Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property. */
|
|
331
|
+
workspaceResourceId?: string;
|
|
332
|
+
/**
|
|
333
|
+
* The date which the component got migrated to LA, in ISO 8601 format.
|
|
334
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
335
|
+
*/
|
|
336
|
+
readonly laMigrationDate?: Date;
|
|
323
337
|
/**
|
|
324
338
|
* List of linked private link scope resources.
|
|
325
339
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -331,6 +345,10 @@ export declare type ApplicationInsightsComponent = ComponentsResource & {
|
|
|
331
345
|
publicNetworkAccessForQuery?: PublicNetworkAccessType;
|
|
332
346
|
/** Indicates the flow of the ingestion. */
|
|
333
347
|
ingestionMode?: IngestionMode;
|
|
348
|
+
/** Disable Non-AAD based Auth. */
|
|
349
|
+
disableLocalAuth?: boolean;
|
|
350
|
+
/** Force users to create their own storage account for profiler and debugger. */
|
|
351
|
+
forceCustomerStorageForProfiler?: boolean;
|
|
334
352
|
};
|
|
335
353
|
|
|
336
354
|
/** Properties that define an Analytics item that is associated to an Application Insights component. */
|
|
@@ -859,7 +877,6 @@ export declare class ApplicationInsightsManagementClient extends coreClient.Serv
|
|
|
859
877
|
workbooks: Workbooks;
|
|
860
878
|
components: Components;
|
|
861
879
|
componentLinkedStorageAccountsOperations: ComponentLinkedStorageAccountsOperations;
|
|
862
|
-
operations: Operations;
|
|
863
880
|
liveToken: LiveToken;
|
|
864
881
|
}
|
|
865
882
|
|
|
@@ -1301,6 +1318,25 @@ export declare interface ErrorResponse {
|
|
|
1301
1318
|
message?: string;
|
|
1302
1319
|
}
|
|
1303
1320
|
|
|
1321
|
+
export declare interface ErrorResponseComponents {
|
|
1322
|
+
/** Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message. */
|
|
1323
|
+
error?: ErrorResponseComponentsError;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
/** Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message. */
|
|
1327
|
+
export declare interface ErrorResponseComponentsError {
|
|
1328
|
+
/**
|
|
1329
|
+
* Error code.
|
|
1330
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1331
|
+
*/
|
|
1332
|
+
readonly code?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Error message indicating why the operation failed.
|
|
1335
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1336
|
+
*/
|
|
1337
|
+
readonly message?: string;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1304
1340
|
export declare interface ErrorResponseLinkedStorage {
|
|
1305
1341
|
/** Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message. */
|
|
1306
1342
|
error?: ErrorResponseLinkedStorageError;
|
|
@@ -1715,17 +1751,21 @@ export declare enum KnownRequestSource {
|
|
|
1715
1751
|
Rest = "rest"
|
|
1716
1752
|
}
|
|
1717
1753
|
|
|
1718
|
-
/** Known values of {@link SharedTypeKind} that the service accepts. */
|
|
1719
|
-
export declare enum KnownSharedTypeKind {
|
|
1720
|
-
User = "user",
|
|
1721
|
-
Shared = "shared"
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
1754
|
/** Known values of {@link StorageType} that the service accepts. */
|
|
1725
1755
|
export declare enum KnownStorageType {
|
|
1726
1756
|
ServiceProfiler = "ServiceProfiler"
|
|
1727
1757
|
}
|
|
1728
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
|
+
|
|
1729
1769
|
/** Interface representing a LiveToken. */
|
|
1730
1770
|
export declare interface LiveToken {
|
|
1731
1771
|
/**
|
|
@@ -2055,6 +2095,8 @@ export declare interface OperationListResult {
|
|
|
2055
2095
|
export declare interface OperationLive {
|
|
2056
2096
|
/** Name of the operation */
|
|
2057
2097
|
name?: string;
|
|
2098
|
+
/** Indicates whether the operation is a data action */
|
|
2099
|
+
isDataAction?: boolean;
|
|
2058
2100
|
/** Display name of the operation */
|
|
2059
2101
|
display?: OperationInfo;
|
|
2060
2102
|
/** Origin of the operation */
|
|
@@ -2063,29 +2105,6 @@ export declare interface OperationLive {
|
|
|
2063
2105
|
properties?: Record<string, unknown>;
|
|
2064
2106
|
}
|
|
2065
2107
|
|
|
2066
|
-
/** Interface representing a Operations. */
|
|
2067
|
-
export declare interface Operations {
|
|
2068
|
-
/**
|
|
2069
|
-
* List the available operations supported by the resource provider.
|
|
2070
|
-
* @param options The options parameters.
|
|
2071
|
-
*/
|
|
2072
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationLive>;
|
|
2073
|
-
}
|
|
2074
|
-
|
|
2075
|
-
/** Optional parameters. */
|
|
2076
|
-
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
2077
|
-
}
|
|
2078
|
-
|
|
2079
|
-
/** Contains response data for the listNext operation. */
|
|
2080
|
-
export declare type OperationsListNextResponse = OperationsListResult;
|
|
2081
|
-
|
|
2082
|
-
/** Optional parameters. */
|
|
2083
|
-
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
2084
|
-
}
|
|
2085
|
-
|
|
2086
|
-
/** Contains response data for the list operation. */
|
|
2087
|
-
export declare type OperationsListResponse = OperationsListResult;
|
|
2088
|
-
|
|
2089
2108
|
/** Result of the List Operations operation */
|
|
2090
2109
|
export declare interface OperationsListResult {
|
|
2091
2110
|
/** A collection of operations */
|
|
@@ -2155,7 +2174,7 @@ export declare interface ProactiveDetectionConfigurationsUpdateOptionalParams ex
|
|
|
2155
2174
|
export declare type ProactiveDetectionConfigurationsUpdateResponse = ApplicationInsightsComponentProactiveDetectionConfiguration;
|
|
2156
2175
|
|
|
2157
2176
|
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
2158
|
-
export declare type ProxyResource = Resource
|
|
2177
|
+
export declare type ProxyResource = Resource;
|
|
2159
2178
|
|
|
2160
2179
|
/**
|
|
2161
2180
|
* Defines values for PublicNetworkAccessType. \
|
|
@@ -2205,16 +2224,6 @@ export declare interface Resource {
|
|
|
2205
2224
|
readonly type?: string;
|
|
2206
2225
|
}
|
|
2207
2226
|
|
|
2208
|
-
/**
|
|
2209
|
-
* Defines values for SharedTypeKind. \
|
|
2210
|
-
* {@link KnownSharedTypeKind} can be used interchangeably with SharedTypeKind,
|
|
2211
|
-
* this enum contains the known values that the service supports.
|
|
2212
|
-
* ### Known values supported by the service
|
|
2213
|
-
* **user** \
|
|
2214
|
-
* **shared**
|
|
2215
|
-
*/
|
|
2216
|
-
export declare type SharedTypeKind = string;
|
|
2217
|
-
|
|
2218
2227
|
/**
|
|
2219
2228
|
* Defines values for StorageType. \
|
|
2220
2229
|
* {@link KnownStorageType} can be used interchangeably with StorageType,
|
|
@@ -2489,7 +2498,7 @@ export declare interface WebTestsUpdateTagsOptionalParams extends coreClient.Ope
|
|
|
2489
2498
|
/** Contains response data for the updateTags operation. */
|
|
2490
2499
|
export declare type WebTestsUpdateTagsResponse = WebTest;
|
|
2491
2500
|
|
|
2492
|
-
/**
|
|
2501
|
+
/** A workbook definition. */
|
|
2493
2502
|
export declare type Workbook = WorkbookResource & {
|
|
2494
2503
|
/**
|
|
2495
2504
|
* Metadata pertaining to creation and last modification of the resource.
|
|
@@ -2567,19 +2576,19 @@ export declare interface WorkbookInnerErrorTrace {
|
|
|
2567
2576
|
export declare type WorkbookResource = TrackedResource & {
|
|
2568
2577
|
/** Identity used for BYOS */
|
|
2569
2578
|
identity?: WorkbookResourceIdentity;
|
|
2570
|
-
/** The kind of workbook.
|
|
2571
|
-
kind?:
|
|
2579
|
+
/** The kind of workbook. Only valid value is shared. */
|
|
2580
|
+
kind?: WorkbookSharedTypeKind;
|
|
2572
2581
|
/** Resource etag */
|
|
2573
2582
|
etag?: string;
|
|
2574
2583
|
};
|
|
2575
2584
|
|
|
2576
2585
|
/** Identity used for BYOS */
|
|
2577
|
-
export declare type WorkbookResourceIdentity = ManagedServiceIdentity
|
|
2586
|
+
export declare type WorkbookResourceIdentity = ManagedServiceIdentity;
|
|
2578
2587
|
|
|
2579
2588
|
/** Interface representing a Workbooks. */
|
|
2580
2589
|
export declare interface Workbooks {
|
|
2581
2590
|
/**
|
|
2582
|
-
* Get all
|
|
2591
|
+
* Get all Workbooks defined within a specified subscription and category.
|
|
2583
2592
|
* @param category Category of workbook to return.
|
|
2584
2593
|
* @param options The options parameters.
|
|
2585
2594
|
*/
|
|
@@ -2594,28 +2603,28 @@ export declare interface Workbooks {
|
|
|
2594
2603
|
/**
|
|
2595
2604
|
* Get the revisions for the workbook defined by its resourceName.
|
|
2596
2605
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2597
|
-
* @param resourceName The name of the
|
|
2606
|
+
* @param resourceName The name of the resource.
|
|
2598
2607
|
* @param options The options parameters.
|
|
2599
2608
|
*/
|
|
2600
2609
|
listRevisionsList(resourceGroupName: string, resourceName: string, options?: WorkbooksRevisionsListOptionalParams): PagedAsyncIterableIterator<Workbook>;
|
|
2601
2610
|
/**
|
|
2602
2611
|
* Get a single workbook by its resourceName.
|
|
2603
2612
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2604
|
-
* @param resourceName The name of the
|
|
2613
|
+
* @param resourceName The name of the resource.
|
|
2605
2614
|
* @param options The options parameters.
|
|
2606
2615
|
*/
|
|
2607
2616
|
get(resourceGroupName: string, resourceName: string, options?: WorkbooksGetOptionalParams): Promise<WorkbooksGetResponse>;
|
|
2608
2617
|
/**
|
|
2609
2618
|
* Delete a workbook.
|
|
2610
2619
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2611
|
-
* @param resourceName The name of the
|
|
2620
|
+
* @param resourceName The name of the resource.
|
|
2612
2621
|
* @param options The options parameters.
|
|
2613
2622
|
*/
|
|
2614
2623
|
delete(resourceGroupName: string, resourceName: string, options?: WorkbooksDeleteOptionalParams): Promise<void>;
|
|
2615
2624
|
/**
|
|
2616
2625
|
* Create a new workbook.
|
|
2617
2626
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2618
|
-
* @param resourceName The name of the
|
|
2627
|
+
* @param resourceName The name of the resource.
|
|
2619
2628
|
* @param workbookProperties Properties that need to be specified to create a new workbook.
|
|
2620
2629
|
* @param options The options parameters.
|
|
2621
2630
|
*/
|
|
@@ -2623,14 +2632,14 @@ export declare interface Workbooks {
|
|
|
2623
2632
|
/**
|
|
2624
2633
|
* Updates a workbook that has already been added.
|
|
2625
2634
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2626
|
-
* @param resourceName The name of the
|
|
2635
|
+
* @param resourceName The name of the resource.
|
|
2627
2636
|
* @param options The options parameters.
|
|
2628
2637
|
*/
|
|
2629
2638
|
update(resourceGroupName: string, resourceName: string, options?: WorkbooksUpdateOptionalParams): Promise<WorkbooksUpdateResponse>;
|
|
2630
2639
|
/**
|
|
2631
2640
|
* Get a single workbook revision defined by its revisionId.
|
|
2632
2641
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2633
|
-
* @param resourceName The name of the
|
|
2642
|
+
* @param resourceName The name of the resource.
|
|
2634
2643
|
* @param revisionId The id of the workbook's revision.
|
|
2635
2644
|
* @param options The options parameters.
|
|
2636
2645
|
*/
|
|
@@ -2652,11 +2661,22 @@ export declare interface WorkbooksDeleteOptionalParams extends coreClient.Operat
|
|
|
2652
2661
|
|
|
2653
2662
|
/** Optional parameters. */
|
|
2654
2663
|
export declare interface WorkbooksGetOptionalParams extends coreClient.OperationOptions {
|
|
2664
|
+
/** Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks. */
|
|
2665
|
+
canFetchContent?: boolean;
|
|
2655
2666
|
}
|
|
2656
2667
|
|
|
2657
2668
|
/** Contains response data for the get operation. */
|
|
2658
2669
|
export declare type WorkbooksGetResponse = Workbook;
|
|
2659
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
|
+
|
|
2660
2680
|
/** Optional parameters. */
|
|
2661
2681
|
export declare interface WorkbooksListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
2662
2682
|
/** Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks. */
|
|
@@ -2937,8 +2957,8 @@ export declare interface WorkbookTemplateUpdateParameters {
|
|
|
2937
2957
|
|
|
2938
2958
|
/** The parameters that can be provided when updating workbook properties properties. */
|
|
2939
2959
|
export declare interface WorkbookUpdateParameters {
|
|
2940
|
-
/** The kind of workbook.
|
|
2941
|
-
kind?:
|
|
2960
|
+
/** The kind of workbook. Only valid value is shared. */
|
|
2961
|
+
kind?: WorkbookUpdateSharedTypeKind;
|
|
2942
2962
|
/** Resource tags. */
|
|
2943
2963
|
tags?: {
|
|
2944
2964
|
[propertyName: string]: string;
|
|
@@ -2957,6 +2977,15 @@ export declare interface WorkbookUpdateParameters {
|
|
|
2957
2977
|
revision?: string;
|
|
2958
2978
|
}
|
|
2959
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
|
+
|
|
2960
2989
|
/** Work item configuration associated with an application insights resource. */
|
|
2961
2990
|
export declare interface WorkItemConfiguration {
|
|
2962
2991
|
/** Connector identifier where work item is created */
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operations } from "../operationsInterfaces";
|
|
3
|
-
import { ApplicationInsightsManagementClient } from "../applicationInsightsManagementClient";
|
|
4
|
-
import { OperationLive, OperationsListOptionalParams } from "../models";
|
|
5
|
-
/** Class containing Operations operations. */
|
|
6
|
-
export declare class OperationsImpl implements Operations {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class Operations class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: ApplicationInsightsManagementClient);
|
|
13
|
-
/**
|
|
14
|
-
* List the available operations supported by the resource provider.
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationLive>;
|
|
18
|
-
private listPagingPage;
|
|
19
|
-
private listPagingAll;
|
|
20
|
-
/**
|
|
21
|
-
* List the available operations supported by the resource provider.
|
|
22
|
-
* @param options The options parameters.
|
|
23
|
-
*/
|
|
24
|
-
private _list;
|
|
25
|
-
/**
|
|
26
|
-
* ListNext
|
|
27
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
28
|
-
* @param options The options parameters.
|
|
29
|
-
*/
|
|
30
|
-
private _listNext;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAC7F,OAAO,EACL,aAAa,EAEb,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,aAAa,CAAC;YAe7B,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|