@azure/arm-appinsights 5.0.0-beta.1 → 5.0.0-beta.2
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 +222 -231
- 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 +2 -3
- package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +66 -39
- package/dist-esm/src/models/index.d.ts.map +1 -1
- 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 +12 -12
- 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/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/package.json +15 -5
- package/review/arm-appinsights.api.md +18 -21
- package/src/applicationInsightsManagementClient.ts +1 -5
- package/src/models/index.ts +71 -46
- package/src/models/mappers.ts +179 -97
- package/src/models/parameters.ts +13 -13
- package/src/operations/components.ts +33 -5
- package/src/operations/index.ts +0 -1
- package/src/operations/liveToken.ts +1 -1
- package/src/operationsInterfaces/index.ts +0 -1
- package/tsconfig.json +12 -4
- package/types/arm-appinsights.d.ts +39 -24
- 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
package/src/models/mappers.ts
CHANGED
|
@@ -2196,6 +2196,45 @@ export const ComponentsResource: coreClient.CompositeMapper = {
|
|
|
2196
2196
|
}
|
|
2197
2197
|
};
|
|
2198
2198
|
|
|
2199
|
+
export const ErrorResponseComponents: coreClient.CompositeMapper = {
|
|
2200
|
+
type: {
|
|
2201
|
+
name: "Composite",
|
|
2202
|
+
className: "ErrorResponseComponents",
|
|
2203
|
+
modelProperties: {
|
|
2204
|
+
error: {
|
|
2205
|
+
serializedName: "error",
|
|
2206
|
+
type: {
|
|
2207
|
+
name: "Composite",
|
|
2208
|
+
className: "ErrorResponseComponentsError"
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
};
|
|
2214
|
+
|
|
2215
|
+
export const ErrorResponseComponentsError: coreClient.CompositeMapper = {
|
|
2216
|
+
type: {
|
|
2217
|
+
name: "Composite",
|
|
2218
|
+
className: "ErrorResponseComponentsError",
|
|
2219
|
+
modelProperties: {
|
|
2220
|
+
code: {
|
|
2221
|
+
serializedName: "code",
|
|
2222
|
+
readOnly: true,
|
|
2223
|
+
type: {
|
|
2224
|
+
name: "String"
|
|
2225
|
+
}
|
|
2226
|
+
},
|
|
2227
|
+
message: {
|
|
2228
|
+
serializedName: "message",
|
|
2229
|
+
readOnly: true,
|
|
2230
|
+
type: {
|
|
2231
|
+
name: "String"
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
};
|
|
2237
|
+
|
|
2199
2238
|
export const ComponentPurgeBody: coreClient.CompositeMapper = {
|
|
2200
2239
|
type: {
|
|
2201
2240
|
name: "Composite",
|
|
@@ -2344,101 +2383,6 @@ export const ComponentLinkedStorageAccountsPatch: coreClient.CompositeMapper = {
|
|
|
2344
2383
|
}
|
|
2345
2384
|
};
|
|
2346
2385
|
|
|
2347
|
-
export const OperationsListResult: coreClient.CompositeMapper = {
|
|
2348
|
-
type: {
|
|
2349
|
-
name: "Composite",
|
|
2350
|
-
className: "OperationsListResult",
|
|
2351
|
-
modelProperties: {
|
|
2352
|
-
value: {
|
|
2353
|
-
serializedName: "value",
|
|
2354
|
-
type: {
|
|
2355
|
-
name: "Sequence",
|
|
2356
|
-
element: {
|
|
2357
|
-
type: {
|
|
2358
|
-
name: "Composite",
|
|
2359
|
-
className: "OperationLive"
|
|
2360
|
-
}
|
|
2361
|
-
}
|
|
2362
|
-
}
|
|
2363
|
-
},
|
|
2364
|
-
nextLink: {
|
|
2365
|
-
serializedName: "nextLink",
|
|
2366
|
-
type: {
|
|
2367
|
-
name: "String"
|
|
2368
|
-
}
|
|
2369
|
-
}
|
|
2370
|
-
}
|
|
2371
|
-
}
|
|
2372
|
-
};
|
|
2373
|
-
|
|
2374
|
-
export const OperationLive: coreClient.CompositeMapper = {
|
|
2375
|
-
type: {
|
|
2376
|
-
name: "Composite",
|
|
2377
|
-
className: "OperationLive",
|
|
2378
|
-
modelProperties: {
|
|
2379
|
-
name: {
|
|
2380
|
-
serializedName: "name",
|
|
2381
|
-
type: {
|
|
2382
|
-
name: "String"
|
|
2383
|
-
}
|
|
2384
|
-
},
|
|
2385
|
-
display: {
|
|
2386
|
-
serializedName: "display",
|
|
2387
|
-
type: {
|
|
2388
|
-
name: "Composite",
|
|
2389
|
-
className: "OperationInfo"
|
|
2390
|
-
}
|
|
2391
|
-
},
|
|
2392
|
-
origin: {
|
|
2393
|
-
serializedName: "origin",
|
|
2394
|
-
type: {
|
|
2395
|
-
name: "String"
|
|
2396
|
-
}
|
|
2397
|
-
},
|
|
2398
|
-
properties: {
|
|
2399
|
-
serializedName: "properties",
|
|
2400
|
-
type: {
|
|
2401
|
-
name: "Dictionary",
|
|
2402
|
-
value: { type: { name: "any" } }
|
|
2403
|
-
}
|
|
2404
|
-
}
|
|
2405
|
-
}
|
|
2406
|
-
}
|
|
2407
|
-
};
|
|
2408
|
-
|
|
2409
|
-
export const OperationInfo: coreClient.CompositeMapper = {
|
|
2410
|
-
type: {
|
|
2411
|
-
name: "Composite",
|
|
2412
|
-
className: "OperationInfo",
|
|
2413
|
-
modelProperties: {
|
|
2414
|
-
provider: {
|
|
2415
|
-
serializedName: "provider",
|
|
2416
|
-
type: {
|
|
2417
|
-
name: "String"
|
|
2418
|
-
}
|
|
2419
|
-
},
|
|
2420
|
-
resource: {
|
|
2421
|
-
serializedName: "resource",
|
|
2422
|
-
type: {
|
|
2423
|
-
name: "String"
|
|
2424
|
-
}
|
|
2425
|
-
},
|
|
2426
|
-
operation: {
|
|
2427
|
-
serializedName: "operation",
|
|
2428
|
-
type: {
|
|
2429
|
-
name: "String"
|
|
2430
|
-
}
|
|
2431
|
-
},
|
|
2432
|
-
description: {
|
|
2433
|
-
serializedName: "description",
|
|
2434
|
-
type: {
|
|
2435
|
-
name: "String"
|
|
2436
|
-
}
|
|
2437
|
-
}
|
|
2438
|
-
}
|
|
2439
|
-
}
|
|
2440
|
-
};
|
|
2441
|
-
|
|
2442
2386
|
export const LiveTokenResponse: coreClient.CompositeMapper = {
|
|
2443
2387
|
type: {
|
|
2444
2388
|
name: "Composite",
|
|
@@ -2594,6 +2538,107 @@ export const WorkbookInnerErrorTrace: coreClient.CompositeMapper = {
|
|
|
2594
2538
|
}
|
|
2595
2539
|
};
|
|
2596
2540
|
|
|
2541
|
+
export const OperationsListResult: coreClient.CompositeMapper = {
|
|
2542
|
+
type: {
|
|
2543
|
+
name: "Composite",
|
|
2544
|
+
className: "OperationsListResult",
|
|
2545
|
+
modelProperties: {
|
|
2546
|
+
value: {
|
|
2547
|
+
serializedName: "value",
|
|
2548
|
+
type: {
|
|
2549
|
+
name: "Sequence",
|
|
2550
|
+
element: {
|
|
2551
|
+
type: {
|
|
2552
|
+
name: "Composite",
|
|
2553
|
+
className: "OperationLive"
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
},
|
|
2558
|
+
nextLink: {
|
|
2559
|
+
serializedName: "nextLink",
|
|
2560
|
+
type: {
|
|
2561
|
+
name: "String"
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
};
|
|
2567
|
+
|
|
2568
|
+
export const OperationLive: coreClient.CompositeMapper = {
|
|
2569
|
+
type: {
|
|
2570
|
+
name: "Composite",
|
|
2571
|
+
className: "OperationLive",
|
|
2572
|
+
modelProperties: {
|
|
2573
|
+
name: {
|
|
2574
|
+
serializedName: "name",
|
|
2575
|
+
type: {
|
|
2576
|
+
name: "String"
|
|
2577
|
+
}
|
|
2578
|
+
},
|
|
2579
|
+
isDataAction: {
|
|
2580
|
+
serializedName: "isDataAction",
|
|
2581
|
+
type: {
|
|
2582
|
+
name: "Boolean"
|
|
2583
|
+
}
|
|
2584
|
+
},
|
|
2585
|
+
display: {
|
|
2586
|
+
serializedName: "display",
|
|
2587
|
+
type: {
|
|
2588
|
+
name: "Composite",
|
|
2589
|
+
className: "OperationInfo"
|
|
2590
|
+
}
|
|
2591
|
+
},
|
|
2592
|
+
origin: {
|
|
2593
|
+
serializedName: "origin",
|
|
2594
|
+
type: {
|
|
2595
|
+
name: "String"
|
|
2596
|
+
}
|
|
2597
|
+
},
|
|
2598
|
+
properties: {
|
|
2599
|
+
serializedName: "properties",
|
|
2600
|
+
type: {
|
|
2601
|
+
name: "Dictionary",
|
|
2602
|
+
value: { type: { name: "any" } }
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
};
|
|
2608
|
+
|
|
2609
|
+
export const OperationInfo: coreClient.CompositeMapper = {
|
|
2610
|
+
type: {
|
|
2611
|
+
name: "Composite",
|
|
2612
|
+
className: "OperationInfo",
|
|
2613
|
+
modelProperties: {
|
|
2614
|
+
provider: {
|
|
2615
|
+
serializedName: "provider",
|
|
2616
|
+
type: {
|
|
2617
|
+
name: "String"
|
|
2618
|
+
}
|
|
2619
|
+
},
|
|
2620
|
+
resource: {
|
|
2621
|
+
serializedName: "resource",
|
|
2622
|
+
type: {
|
|
2623
|
+
name: "String"
|
|
2624
|
+
}
|
|
2625
|
+
},
|
|
2626
|
+
operation: {
|
|
2627
|
+
serializedName: "operation",
|
|
2628
|
+
type: {
|
|
2629
|
+
name: "String"
|
|
2630
|
+
}
|
|
2631
|
+
},
|
|
2632
|
+
description: {
|
|
2633
|
+
serializedName: "description",
|
|
2634
|
+
type: {
|
|
2635
|
+
name: "String"
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
};
|
|
2641
|
+
|
|
2597
2642
|
export const WebTest: coreClient.CompositeMapper = {
|
|
2598
2643
|
type: {
|
|
2599
2644
|
name: "Composite",
|
|
@@ -2889,6 +2934,12 @@ export const ApplicationInsightsComponent: coreClient.CompositeMapper = {
|
|
|
2889
2934
|
name: "String"
|
|
2890
2935
|
}
|
|
2891
2936
|
},
|
|
2937
|
+
etag: {
|
|
2938
|
+
serializedName: "etag",
|
|
2939
|
+
type: {
|
|
2940
|
+
name: "String"
|
|
2941
|
+
}
|
|
2942
|
+
},
|
|
2892
2943
|
applicationId: {
|
|
2893
2944
|
serializedName: "properties.ApplicationId",
|
|
2894
2945
|
readOnly: true,
|
|
@@ -2903,6 +2954,13 @@ export const ApplicationInsightsComponent: coreClient.CompositeMapper = {
|
|
|
2903
2954
|
name: "String"
|
|
2904
2955
|
}
|
|
2905
2956
|
},
|
|
2957
|
+
namePropertiesName: {
|
|
2958
|
+
serializedName: "properties.Name",
|
|
2959
|
+
readOnly: true,
|
|
2960
|
+
type: {
|
|
2961
|
+
name: "String"
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2906
2964
|
applicationType: {
|
|
2907
2965
|
defaultValue: "web",
|
|
2908
2966
|
serializedName: "properties.Application_Type",
|
|
@@ -2979,7 +3037,6 @@ export const ApplicationInsightsComponent: coreClient.CompositeMapper = {
|
|
|
2979
3037
|
}
|
|
2980
3038
|
},
|
|
2981
3039
|
retentionInDays: {
|
|
2982
|
-
defaultValue: 90,
|
|
2983
3040
|
serializedName: "properties.RetentionInDays",
|
|
2984
3041
|
type: {
|
|
2985
3042
|
name: "Number"
|
|
@@ -2997,6 +3054,19 @@ export const ApplicationInsightsComponent: coreClient.CompositeMapper = {
|
|
|
2997
3054
|
name: "Boolean"
|
|
2998
3055
|
}
|
|
2999
3056
|
},
|
|
3057
|
+
workspaceResourceId: {
|
|
3058
|
+
serializedName: "properties.WorkspaceResourceId",
|
|
3059
|
+
type: {
|
|
3060
|
+
name: "String"
|
|
3061
|
+
}
|
|
3062
|
+
},
|
|
3063
|
+
laMigrationDate: {
|
|
3064
|
+
serializedName: "properties.LaMigrationDate",
|
|
3065
|
+
readOnly: true,
|
|
3066
|
+
type: {
|
|
3067
|
+
name: "DateTime"
|
|
3068
|
+
}
|
|
3069
|
+
},
|
|
3000
3070
|
privateLinkScopedResources: {
|
|
3001
3071
|
serializedName: "properties.PrivateLinkScopedResources",
|
|
3002
3072
|
readOnly: true,
|
|
@@ -3025,11 +3095,23 @@ export const ApplicationInsightsComponent: coreClient.CompositeMapper = {
|
|
|
3025
3095
|
}
|
|
3026
3096
|
},
|
|
3027
3097
|
ingestionMode: {
|
|
3028
|
-
defaultValue: "
|
|
3098
|
+
defaultValue: "LogAnalytics",
|
|
3029
3099
|
serializedName: "properties.IngestionMode",
|
|
3030
3100
|
type: {
|
|
3031
3101
|
name: "String"
|
|
3032
3102
|
}
|
|
3103
|
+
},
|
|
3104
|
+
disableLocalAuth: {
|
|
3105
|
+
serializedName: "properties.DisableLocalAuth",
|
|
3106
|
+
type: {
|
|
3107
|
+
name: "Boolean"
|
|
3108
|
+
}
|
|
3109
|
+
},
|
|
3110
|
+
forceCustomerStorageForProfiler: {
|
|
3111
|
+
serializedName: "properties.ForceCustomerStorageForProfiler",
|
|
3112
|
+
type: {
|
|
3113
|
+
name: "Boolean"
|
|
3114
|
+
}
|
|
3033
3115
|
}
|
|
3034
3116
|
}
|
|
3035
3117
|
}
|
package/src/models/parameters.ts
CHANGED
|
@@ -508,7 +508,7 @@ export const revisionId: OperationURLParameter = {
|
|
|
508
508
|
export const apiVersion4: OperationQueryParameter = {
|
|
509
509
|
parameterPath: "apiVersion",
|
|
510
510
|
mapper: {
|
|
511
|
-
defaultValue: "
|
|
511
|
+
defaultValue: "2020-02-02",
|
|
512
512
|
isConstant: true,
|
|
513
513
|
serializedName: "api-version",
|
|
514
514
|
type: {
|
|
@@ -576,18 +576,6 @@ export const linkedStorageAccountsProperties1: OperationParameter = {
|
|
|
576
576
|
mapper: ComponentLinkedStorageAccountsPatchMapper
|
|
577
577
|
};
|
|
578
578
|
|
|
579
|
-
export const apiVersion6: OperationQueryParameter = {
|
|
580
|
-
parameterPath: "apiVersion",
|
|
581
|
-
mapper: {
|
|
582
|
-
defaultValue: "2020-06-02-preview",
|
|
583
|
-
isConstant: true,
|
|
584
|
-
serializedName: "api-version",
|
|
585
|
-
type: {
|
|
586
|
-
name: "String"
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
|
|
591
579
|
export const resourceUri: OperationURLParameter = {
|
|
592
580
|
parameterPath: "resourceUri",
|
|
593
581
|
mapper: {
|
|
@@ -599,3 +587,15 @@ export const resourceUri: OperationURLParameter = {
|
|
|
599
587
|
},
|
|
600
588
|
skipEncoding: true
|
|
601
589
|
};
|
|
590
|
+
|
|
591
|
+
export const apiVersion6: OperationQueryParameter = {
|
|
592
|
+
parameterPath: "apiVersion",
|
|
593
|
+
mapper: {
|
|
594
|
+
defaultValue: "2021-10-14",
|
|
595
|
+
isConstant: true,
|
|
596
|
+
serializedName: "api-version",
|
|
597
|
+
type: {
|
|
598
|
+
name: "String"
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
};
|
|
@@ -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: {
|
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;
|
|
@@ -2055,6 +2091,8 @@ export declare interface OperationListResult {
|
|
|
2055
2091
|
export declare interface OperationLive {
|
|
2056
2092
|
/** Name of the operation */
|
|
2057
2093
|
name?: string;
|
|
2094
|
+
/** Indicates whether the operation is a data action */
|
|
2095
|
+
isDataAction?: boolean;
|
|
2058
2096
|
/** Display name of the operation */
|
|
2059
2097
|
display?: OperationInfo;
|
|
2060
2098
|
/** Origin of the operation */
|
|
@@ -2063,29 +2101,6 @@ export declare interface OperationLive {
|
|
|
2063
2101
|
properties?: Record<string, unknown>;
|
|
2064
2102
|
}
|
|
2065
2103
|
|
|
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
2104
|
/** Result of the List Operations operation */
|
|
2090
2105
|
export declare interface OperationsListResult {
|
|
2091
2106
|
/** A collection of operations */
|
|
@@ -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"}
|