@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/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 5.0.0-beta.
|
|
3
|
+
## 5.0.0-beta.2 (2022-01-24)
|
|
4
4
|
|
|
5
|
-
The package of @azure/arm-appinsights is using our next generation design principles since version 5.0.0-beta.
|
|
5
|
+
The package of @azure/arm-appinsights is using our next generation design principles since version 5.0.0-beta.2, which contains breaking changes.
|
|
6
6
|
|
|
7
7
|
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
|
8
8
|
|
package/dist/index.js
CHANGED
|
@@ -2238,6 +2238,43 @@ const ComponentsResource = {
|
|
|
2238
2238
|
}
|
|
2239
2239
|
}
|
|
2240
2240
|
};
|
|
2241
|
+
const ErrorResponseComponents = {
|
|
2242
|
+
type: {
|
|
2243
|
+
name: "Composite",
|
|
2244
|
+
className: "ErrorResponseComponents",
|
|
2245
|
+
modelProperties: {
|
|
2246
|
+
error: {
|
|
2247
|
+
serializedName: "error",
|
|
2248
|
+
type: {
|
|
2249
|
+
name: "Composite",
|
|
2250
|
+
className: "ErrorResponseComponentsError"
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
};
|
|
2256
|
+
const ErrorResponseComponentsError = {
|
|
2257
|
+
type: {
|
|
2258
|
+
name: "Composite",
|
|
2259
|
+
className: "ErrorResponseComponentsError",
|
|
2260
|
+
modelProperties: {
|
|
2261
|
+
code: {
|
|
2262
|
+
serializedName: "code",
|
|
2263
|
+
readOnly: true,
|
|
2264
|
+
type: {
|
|
2265
|
+
name: "String"
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
message: {
|
|
2269
|
+
serializedName: "message",
|
|
2270
|
+
readOnly: true,
|
|
2271
|
+
type: {
|
|
2272
|
+
name: "String"
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
};
|
|
2241
2278
|
const ComponentPurgeBody = {
|
|
2242
2279
|
type: {
|
|
2243
2280
|
name: "Composite",
|
|
@@ -2379,98 +2416,6 @@ const ComponentLinkedStorageAccountsPatch = {
|
|
|
2379
2416
|
}
|
|
2380
2417
|
}
|
|
2381
2418
|
};
|
|
2382
|
-
const OperationsListResult = {
|
|
2383
|
-
type: {
|
|
2384
|
-
name: "Composite",
|
|
2385
|
-
className: "OperationsListResult",
|
|
2386
|
-
modelProperties: {
|
|
2387
|
-
value: {
|
|
2388
|
-
serializedName: "value",
|
|
2389
|
-
type: {
|
|
2390
|
-
name: "Sequence",
|
|
2391
|
-
element: {
|
|
2392
|
-
type: {
|
|
2393
|
-
name: "Composite",
|
|
2394
|
-
className: "OperationLive"
|
|
2395
|
-
}
|
|
2396
|
-
}
|
|
2397
|
-
}
|
|
2398
|
-
},
|
|
2399
|
-
nextLink: {
|
|
2400
|
-
serializedName: "nextLink",
|
|
2401
|
-
type: {
|
|
2402
|
-
name: "String"
|
|
2403
|
-
}
|
|
2404
|
-
}
|
|
2405
|
-
}
|
|
2406
|
-
}
|
|
2407
|
-
};
|
|
2408
|
-
const OperationLive = {
|
|
2409
|
-
type: {
|
|
2410
|
-
name: "Composite",
|
|
2411
|
-
className: "OperationLive",
|
|
2412
|
-
modelProperties: {
|
|
2413
|
-
name: {
|
|
2414
|
-
serializedName: "name",
|
|
2415
|
-
type: {
|
|
2416
|
-
name: "String"
|
|
2417
|
-
}
|
|
2418
|
-
},
|
|
2419
|
-
display: {
|
|
2420
|
-
serializedName: "display",
|
|
2421
|
-
type: {
|
|
2422
|
-
name: "Composite",
|
|
2423
|
-
className: "OperationInfo"
|
|
2424
|
-
}
|
|
2425
|
-
},
|
|
2426
|
-
origin: {
|
|
2427
|
-
serializedName: "origin",
|
|
2428
|
-
type: {
|
|
2429
|
-
name: "String"
|
|
2430
|
-
}
|
|
2431
|
-
},
|
|
2432
|
-
properties: {
|
|
2433
|
-
serializedName: "properties",
|
|
2434
|
-
type: {
|
|
2435
|
-
name: "Dictionary",
|
|
2436
|
-
value: { type: { name: "any" } }
|
|
2437
|
-
}
|
|
2438
|
-
}
|
|
2439
|
-
}
|
|
2440
|
-
}
|
|
2441
|
-
};
|
|
2442
|
-
const OperationInfo = {
|
|
2443
|
-
type: {
|
|
2444
|
-
name: "Composite",
|
|
2445
|
-
className: "OperationInfo",
|
|
2446
|
-
modelProperties: {
|
|
2447
|
-
provider: {
|
|
2448
|
-
serializedName: "provider",
|
|
2449
|
-
type: {
|
|
2450
|
-
name: "String"
|
|
2451
|
-
}
|
|
2452
|
-
},
|
|
2453
|
-
resource: {
|
|
2454
|
-
serializedName: "resource",
|
|
2455
|
-
type: {
|
|
2456
|
-
name: "String"
|
|
2457
|
-
}
|
|
2458
|
-
},
|
|
2459
|
-
operation: {
|
|
2460
|
-
serializedName: "operation",
|
|
2461
|
-
type: {
|
|
2462
|
-
name: "String"
|
|
2463
|
-
}
|
|
2464
|
-
},
|
|
2465
|
-
description: {
|
|
2466
|
-
serializedName: "description",
|
|
2467
|
-
type: {
|
|
2468
|
-
name: "String"
|
|
2469
|
-
}
|
|
2470
|
-
}
|
|
2471
|
-
}
|
|
2472
|
-
}
|
|
2473
|
-
};
|
|
2474
2419
|
const LiveTokenResponse = {
|
|
2475
2420
|
type: {
|
|
2476
2421
|
name: "Composite",
|
|
@@ -2619,6 +2564,104 @@ const WorkbookInnerErrorTrace = {
|
|
|
2619
2564
|
}
|
|
2620
2565
|
}
|
|
2621
2566
|
};
|
|
2567
|
+
const OperationsListResult = {
|
|
2568
|
+
type: {
|
|
2569
|
+
name: "Composite",
|
|
2570
|
+
className: "OperationsListResult",
|
|
2571
|
+
modelProperties: {
|
|
2572
|
+
value: {
|
|
2573
|
+
serializedName: "value",
|
|
2574
|
+
type: {
|
|
2575
|
+
name: "Sequence",
|
|
2576
|
+
element: {
|
|
2577
|
+
type: {
|
|
2578
|
+
name: "Composite",
|
|
2579
|
+
className: "OperationLive"
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
},
|
|
2584
|
+
nextLink: {
|
|
2585
|
+
serializedName: "nextLink",
|
|
2586
|
+
type: {
|
|
2587
|
+
name: "String"
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
};
|
|
2593
|
+
const OperationLive = {
|
|
2594
|
+
type: {
|
|
2595
|
+
name: "Composite",
|
|
2596
|
+
className: "OperationLive",
|
|
2597
|
+
modelProperties: {
|
|
2598
|
+
name: {
|
|
2599
|
+
serializedName: "name",
|
|
2600
|
+
type: {
|
|
2601
|
+
name: "String"
|
|
2602
|
+
}
|
|
2603
|
+
},
|
|
2604
|
+
isDataAction: {
|
|
2605
|
+
serializedName: "isDataAction",
|
|
2606
|
+
type: {
|
|
2607
|
+
name: "Boolean"
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
display: {
|
|
2611
|
+
serializedName: "display",
|
|
2612
|
+
type: {
|
|
2613
|
+
name: "Composite",
|
|
2614
|
+
className: "OperationInfo"
|
|
2615
|
+
}
|
|
2616
|
+
},
|
|
2617
|
+
origin: {
|
|
2618
|
+
serializedName: "origin",
|
|
2619
|
+
type: {
|
|
2620
|
+
name: "String"
|
|
2621
|
+
}
|
|
2622
|
+
},
|
|
2623
|
+
properties: {
|
|
2624
|
+
serializedName: "properties",
|
|
2625
|
+
type: {
|
|
2626
|
+
name: "Dictionary",
|
|
2627
|
+
value: { type: { name: "any" } }
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
};
|
|
2633
|
+
const OperationInfo = {
|
|
2634
|
+
type: {
|
|
2635
|
+
name: "Composite",
|
|
2636
|
+
className: "OperationInfo",
|
|
2637
|
+
modelProperties: {
|
|
2638
|
+
provider: {
|
|
2639
|
+
serializedName: "provider",
|
|
2640
|
+
type: {
|
|
2641
|
+
name: "String"
|
|
2642
|
+
}
|
|
2643
|
+
},
|
|
2644
|
+
resource: {
|
|
2645
|
+
serializedName: "resource",
|
|
2646
|
+
type: {
|
|
2647
|
+
name: "String"
|
|
2648
|
+
}
|
|
2649
|
+
},
|
|
2650
|
+
operation: {
|
|
2651
|
+
serializedName: "operation",
|
|
2652
|
+
type: {
|
|
2653
|
+
name: "String"
|
|
2654
|
+
}
|
|
2655
|
+
},
|
|
2656
|
+
description: {
|
|
2657
|
+
serializedName: "description",
|
|
2658
|
+
type: {
|
|
2659
|
+
name: "String"
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
};
|
|
2622
2665
|
const WebTest = {
|
|
2623
2666
|
type: {
|
|
2624
2667
|
name: "Composite",
|
|
@@ -2863,6 +2906,11 @@ const ApplicationInsightsComponent = {
|
|
|
2863
2906
|
type: {
|
|
2864
2907
|
name: "String"
|
|
2865
2908
|
}
|
|
2909
|
+
}, etag: {
|
|
2910
|
+
serializedName: "etag",
|
|
2911
|
+
type: {
|
|
2912
|
+
name: "String"
|
|
2913
|
+
}
|
|
2866
2914
|
}, applicationId: {
|
|
2867
2915
|
serializedName: "properties.ApplicationId",
|
|
2868
2916
|
readOnly: true,
|
|
@@ -2875,6 +2923,12 @@ const ApplicationInsightsComponent = {
|
|
|
2875
2923
|
type: {
|
|
2876
2924
|
name: "String"
|
|
2877
2925
|
}
|
|
2926
|
+
}, namePropertiesName: {
|
|
2927
|
+
serializedName: "properties.Name",
|
|
2928
|
+
readOnly: true,
|
|
2929
|
+
type: {
|
|
2930
|
+
name: "String"
|
|
2931
|
+
}
|
|
2878
2932
|
}, applicationType: {
|
|
2879
2933
|
defaultValue: "web",
|
|
2880
2934
|
serializedName: "properties.Application_Type",
|
|
@@ -2940,7 +2994,6 @@ const ApplicationInsightsComponent = {
|
|
|
2940
2994
|
name: "String"
|
|
2941
2995
|
}
|
|
2942
2996
|
}, retentionInDays: {
|
|
2943
|
-
defaultValue: 90,
|
|
2944
2997
|
serializedName: "properties.RetentionInDays",
|
|
2945
2998
|
type: {
|
|
2946
2999
|
name: "Number"
|
|
@@ -2955,6 +3008,17 @@ const ApplicationInsightsComponent = {
|
|
|
2955
3008
|
type: {
|
|
2956
3009
|
name: "Boolean"
|
|
2957
3010
|
}
|
|
3011
|
+
}, workspaceResourceId: {
|
|
3012
|
+
serializedName: "properties.WorkspaceResourceId",
|
|
3013
|
+
type: {
|
|
3014
|
+
name: "String"
|
|
3015
|
+
}
|
|
3016
|
+
}, laMigrationDate: {
|
|
3017
|
+
serializedName: "properties.LaMigrationDate",
|
|
3018
|
+
readOnly: true,
|
|
3019
|
+
type: {
|
|
3020
|
+
name: "DateTime"
|
|
3021
|
+
}
|
|
2958
3022
|
}, privateLinkScopedResources: {
|
|
2959
3023
|
serializedName: "properties.PrivateLinkScopedResources",
|
|
2960
3024
|
readOnly: true,
|
|
@@ -2980,11 +3044,21 @@ const ApplicationInsightsComponent = {
|
|
|
2980
3044
|
name: "String"
|
|
2981
3045
|
}
|
|
2982
3046
|
}, ingestionMode: {
|
|
2983
|
-
defaultValue: "
|
|
3047
|
+
defaultValue: "LogAnalytics",
|
|
2984
3048
|
serializedName: "properties.IngestionMode",
|
|
2985
3049
|
type: {
|
|
2986
3050
|
name: "String"
|
|
2987
3051
|
}
|
|
3052
|
+
}, disableLocalAuth: {
|
|
3053
|
+
serializedName: "properties.DisableLocalAuth",
|
|
3054
|
+
type: {
|
|
3055
|
+
name: "Boolean"
|
|
3056
|
+
}
|
|
3057
|
+
}, forceCustomerStorageForProfiler: {
|
|
3058
|
+
serializedName: "properties.ForceCustomerStorageForProfiler",
|
|
3059
|
+
type: {
|
|
3060
|
+
name: "Boolean"
|
|
3061
|
+
}
|
|
2988
3062
|
} })
|
|
2989
3063
|
}
|
|
2990
3064
|
};
|
|
@@ -3163,6 +3237,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
3163
3237
|
ApplicationInsightsComponentListResult: ApplicationInsightsComponentListResult,
|
|
3164
3238
|
PrivateLinkScopedResource: PrivateLinkScopedResource,
|
|
3165
3239
|
ComponentsResource: ComponentsResource,
|
|
3240
|
+
ErrorResponseComponents: ErrorResponseComponents,
|
|
3241
|
+
ErrorResponseComponentsError: ErrorResponseComponentsError,
|
|
3166
3242
|
ComponentPurgeBody: ComponentPurgeBody,
|
|
3167
3243
|
ComponentPurgeBodyFilters: ComponentPurgeBodyFilters,
|
|
3168
3244
|
ComponentPurgeResponse: ComponentPurgeResponse,
|
|
@@ -3170,9 +3246,6 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
3170
3246
|
ErrorResponseLinkedStorage: ErrorResponseLinkedStorage,
|
|
3171
3247
|
ErrorResponseLinkedStorageError: ErrorResponseLinkedStorageError,
|
|
3172
3248
|
ComponentLinkedStorageAccountsPatch: ComponentLinkedStorageAccountsPatch,
|
|
3173
|
-
OperationsListResult: OperationsListResult,
|
|
3174
|
-
OperationLive: OperationLive,
|
|
3175
|
-
OperationInfo: OperationInfo,
|
|
3176
3249
|
LiveTokenResponse: LiveTokenResponse,
|
|
3177
3250
|
ErrorResponse: ErrorResponse,
|
|
3178
3251
|
Operation: Operation,
|
|
@@ -3180,6 +3253,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
3180
3253
|
OperationListResult: OperationListResult,
|
|
3181
3254
|
InnerErrorTrace: InnerErrorTrace,
|
|
3182
3255
|
WorkbookInnerErrorTrace: WorkbookInnerErrorTrace,
|
|
3256
|
+
OperationsListResult: OperationsListResult,
|
|
3257
|
+
OperationLive: OperationLive,
|
|
3258
|
+
OperationInfo: OperationInfo,
|
|
3183
3259
|
WebTest: WebTest,
|
|
3184
3260
|
WorkbookTemplate: WorkbookTemplate,
|
|
3185
3261
|
MyWorkbook: MyWorkbook,
|
|
@@ -3624,7 +3700,7 @@ const revisionId = {
|
|
|
3624
3700
|
const apiVersion4 = {
|
|
3625
3701
|
parameterPath: "apiVersion",
|
|
3626
3702
|
mapper: {
|
|
3627
|
-
defaultValue: "
|
|
3703
|
+
defaultValue: "2020-02-02",
|
|
3628
3704
|
isConstant: true,
|
|
3629
3705
|
serializedName: "api-version",
|
|
3630
3706
|
type: {
|
|
@@ -3683,17 +3759,6 @@ const linkedStorageAccountsProperties1 = {
|
|
|
3683
3759
|
parameterPath: "linkedStorageAccountsProperties",
|
|
3684
3760
|
mapper: ComponentLinkedStorageAccountsPatch
|
|
3685
3761
|
};
|
|
3686
|
-
const apiVersion6 = {
|
|
3687
|
-
parameterPath: "apiVersion",
|
|
3688
|
-
mapper: {
|
|
3689
|
-
defaultValue: "2020-06-02-preview",
|
|
3690
|
-
isConstant: true,
|
|
3691
|
-
serializedName: "api-version",
|
|
3692
|
-
type: {
|
|
3693
|
-
name: "String"
|
|
3694
|
-
}
|
|
3695
|
-
}
|
|
3696
|
-
};
|
|
3697
3762
|
const resourceUri = {
|
|
3698
3763
|
parameterPath: "resourceUri",
|
|
3699
3764
|
mapper: {
|
|
@@ -3705,6 +3770,17 @@ const resourceUri = {
|
|
|
3705
3770
|
},
|
|
3706
3771
|
skipEncoding: true
|
|
3707
3772
|
};
|
|
3773
|
+
const apiVersion6 = {
|
|
3774
|
+
parameterPath: "apiVersion",
|
|
3775
|
+
mapper: {
|
|
3776
|
+
defaultValue: "2021-10-14",
|
|
3777
|
+
isConstant: true,
|
|
3778
|
+
serializedName: "api-version",
|
|
3779
|
+
type: {
|
|
3780
|
+
name: "String"
|
|
3781
|
+
}
|
|
3782
|
+
}
|
|
3783
|
+
};
|
|
3708
3784
|
|
|
3709
3785
|
/*
|
|
3710
3786
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -7101,6 +7177,9 @@ const listOperationSpec$9 = {
|
|
|
7101
7177
|
responses: {
|
|
7102
7178
|
200: {
|
|
7103
7179
|
bodyMapper: ApplicationInsightsComponentListResult
|
|
7180
|
+
},
|
|
7181
|
+
default: {
|
|
7182
|
+
bodyMapper: ErrorResponseComponents
|
|
7104
7183
|
}
|
|
7105
7184
|
},
|
|
7106
7185
|
queryParameters: [apiVersion4],
|
|
@@ -7114,6 +7193,9 @@ const listByResourceGroupOperationSpec$4 = {
|
|
|
7114
7193
|
responses: {
|
|
7115
7194
|
200: {
|
|
7116
7195
|
bodyMapper: ApplicationInsightsComponentListResult
|
|
7196
|
+
},
|
|
7197
|
+
default: {
|
|
7198
|
+
bodyMapper: ErrorResponseComponents
|
|
7117
7199
|
}
|
|
7118
7200
|
},
|
|
7119
7201
|
queryParameters: [apiVersion4],
|
|
@@ -7128,7 +7210,13 @@ const listByResourceGroupOperationSpec$4 = {
|
|
|
7128
7210
|
const deleteOperationSpec$a = {
|
|
7129
7211
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}",
|
|
7130
7212
|
httpMethod: "DELETE",
|
|
7131
|
-
responses: {
|
|
7213
|
+
responses: {
|
|
7214
|
+
200: {},
|
|
7215
|
+
204: {},
|
|
7216
|
+
default: {
|
|
7217
|
+
bodyMapper: ErrorResponseComponents
|
|
7218
|
+
}
|
|
7219
|
+
},
|
|
7132
7220
|
queryParameters: [apiVersion4],
|
|
7133
7221
|
urlParameters: [
|
|
7134
7222
|
$host,
|
|
@@ -7136,6 +7224,7 @@ const deleteOperationSpec$a = {
|
|
|
7136
7224
|
subscriptionId,
|
|
7137
7225
|
resourceName
|
|
7138
7226
|
],
|
|
7227
|
+
headerParameters: [accept],
|
|
7139
7228
|
serializer: serializer$g
|
|
7140
7229
|
};
|
|
7141
7230
|
const getOperationSpec$e = {
|
|
@@ -7144,6 +7233,9 @@ const getOperationSpec$e = {
|
|
|
7144
7233
|
responses: {
|
|
7145
7234
|
200: {
|
|
7146
7235
|
bodyMapper: ApplicationInsightsComponent
|
|
7236
|
+
},
|
|
7237
|
+
default: {
|
|
7238
|
+
bodyMapper: ErrorResponseComponents
|
|
7147
7239
|
}
|
|
7148
7240
|
},
|
|
7149
7241
|
queryParameters: [apiVersion4],
|
|
@@ -7163,8 +7255,8 @@ const createOrUpdateOperationSpec$4 = {
|
|
|
7163
7255
|
200: {
|
|
7164
7256
|
bodyMapper: ApplicationInsightsComponent
|
|
7165
7257
|
},
|
|
7166
|
-
|
|
7167
|
-
bodyMapper:
|
|
7258
|
+
default: {
|
|
7259
|
+
bodyMapper: ErrorResponseComponents
|
|
7168
7260
|
}
|
|
7169
7261
|
},
|
|
7170
7262
|
requestBody: insightProperties,
|
|
@@ -7186,8 +7278,8 @@ const updateTagsOperationSpec$1 = {
|
|
|
7186
7278
|
200: {
|
|
7187
7279
|
bodyMapper: ApplicationInsightsComponent
|
|
7188
7280
|
},
|
|
7189
|
-
|
|
7190
|
-
bodyMapper:
|
|
7281
|
+
default: {
|
|
7282
|
+
bodyMapper: ErrorResponseComponents
|
|
7191
7283
|
}
|
|
7192
7284
|
},
|
|
7193
7285
|
requestBody: componentTags,
|
|
@@ -7208,6 +7300,9 @@ const purgeOperationSpec = {
|
|
|
7208
7300
|
responses: {
|
|
7209
7301
|
202: {
|
|
7210
7302
|
bodyMapper: ComponentPurgeResponse
|
|
7303
|
+
},
|
|
7304
|
+
default: {
|
|
7305
|
+
bodyMapper: ErrorResponseComponents
|
|
7211
7306
|
}
|
|
7212
7307
|
},
|
|
7213
7308
|
requestBody: body,
|
|
@@ -7228,6 +7323,9 @@ const getPurgeStatusOperationSpec = {
|
|
|
7228
7323
|
responses: {
|
|
7229
7324
|
200: {
|
|
7230
7325
|
bodyMapper: ComponentPurgeStatusResponse
|
|
7326
|
+
},
|
|
7327
|
+
default: {
|
|
7328
|
+
bodyMapper: ErrorResponseComponents
|
|
7231
7329
|
}
|
|
7232
7330
|
},
|
|
7233
7331
|
queryParameters: [apiVersion4],
|
|
@@ -7247,6 +7345,9 @@ const listNextOperationSpec$1 = {
|
|
|
7247
7345
|
responses: {
|
|
7248
7346
|
200: {
|
|
7249
7347
|
bodyMapper: ApplicationInsightsComponentListResult
|
|
7348
|
+
},
|
|
7349
|
+
default: {
|
|
7350
|
+
bodyMapper: ErrorResponseComponents
|
|
7250
7351
|
}
|
|
7251
7352
|
},
|
|
7252
7353
|
queryParameters: [apiVersion4],
|
|
@@ -7264,6 +7365,9 @@ const listByResourceGroupNextOperationSpec$3 = {
|
|
|
7264
7365
|
responses: {
|
|
7265
7366
|
200: {
|
|
7266
7367
|
bodyMapper: ApplicationInsightsComponentListResult
|
|
7368
|
+
},
|
|
7369
|
+
default: {
|
|
7370
|
+
bodyMapper: ErrorResponseComponents
|
|
7267
7371
|
}
|
|
7268
7372
|
},
|
|
7269
7373
|
queryParameters: [apiVersion4],
|
|
@@ -7448,118 +7552,6 @@ const deleteOperationSpec$b = {
|
|
|
7448
7552
|
serializer: serializer$h
|
|
7449
7553
|
};
|
|
7450
7554
|
|
|
7451
|
-
/*
|
|
7452
|
-
* Copyright (c) Microsoft Corporation.
|
|
7453
|
-
* Licensed under the MIT License.
|
|
7454
|
-
*
|
|
7455
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7456
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7457
|
-
*/
|
|
7458
|
-
/// <reference lib="esnext.asynciterable" />
|
|
7459
|
-
/** Class containing Operations operations. */
|
|
7460
|
-
class OperationsImpl {
|
|
7461
|
-
/**
|
|
7462
|
-
* Initialize a new instance of the class Operations class.
|
|
7463
|
-
* @param client Reference to the service client
|
|
7464
|
-
*/
|
|
7465
|
-
constructor(client) {
|
|
7466
|
-
this.client = client;
|
|
7467
|
-
}
|
|
7468
|
-
/**
|
|
7469
|
-
* List the available operations supported by the resource provider.
|
|
7470
|
-
* @param options The options parameters.
|
|
7471
|
-
*/
|
|
7472
|
-
list(options) {
|
|
7473
|
-
const iter = this.listPagingAll(options);
|
|
7474
|
-
return {
|
|
7475
|
-
next() {
|
|
7476
|
-
return iter.next();
|
|
7477
|
-
},
|
|
7478
|
-
[Symbol.asyncIterator]() {
|
|
7479
|
-
return this;
|
|
7480
|
-
},
|
|
7481
|
-
byPage: () => {
|
|
7482
|
-
return this.listPagingPage(options);
|
|
7483
|
-
}
|
|
7484
|
-
};
|
|
7485
|
-
}
|
|
7486
|
-
listPagingPage(options) {
|
|
7487
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
7488
|
-
let result = yield tslib.__await(this._list(options));
|
|
7489
|
-
yield yield tslib.__await(result.value || []);
|
|
7490
|
-
let continuationToken = result.nextLink;
|
|
7491
|
-
while (continuationToken) {
|
|
7492
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
7493
|
-
continuationToken = result.nextLink;
|
|
7494
|
-
yield yield tslib.__await(result.value || []);
|
|
7495
|
-
}
|
|
7496
|
-
});
|
|
7497
|
-
}
|
|
7498
|
-
listPagingAll(options) {
|
|
7499
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
7500
|
-
var e_1, _a;
|
|
7501
|
-
try {
|
|
7502
|
-
for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
|
7503
|
-
const page = _c.value;
|
|
7504
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
7505
|
-
}
|
|
7506
|
-
}
|
|
7507
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
7508
|
-
finally {
|
|
7509
|
-
try {
|
|
7510
|
-
if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
|
|
7511
|
-
}
|
|
7512
|
-
finally { if (e_1) throw e_1.error; }
|
|
7513
|
-
}
|
|
7514
|
-
});
|
|
7515
|
-
}
|
|
7516
|
-
/**
|
|
7517
|
-
* List the available operations supported by the resource provider.
|
|
7518
|
-
* @param options The options parameters.
|
|
7519
|
-
*/
|
|
7520
|
-
_list(options) {
|
|
7521
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$a);
|
|
7522
|
-
}
|
|
7523
|
-
/**
|
|
7524
|
-
* ListNext
|
|
7525
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
7526
|
-
* @param options The options parameters.
|
|
7527
|
-
*/
|
|
7528
|
-
_listNext(nextLink, options) {
|
|
7529
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$2);
|
|
7530
|
-
}
|
|
7531
|
-
}
|
|
7532
|
-
// Operation Specifications
|
|
7533
|
-
const serializer$i = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
7534
|
-
const listOperationSpec$a = {
|
|
7535
|
-
path: "/providers/microsoft.insights/operations",
|
|
7536
|
-
httpMethod: "GET",
|
|
7537
|
-
responses: {
|
|
7538
|
-
200: {
|
|
7539
|
-
bodyMapper: OperationsListResult
|
|
7540
|
-
},
|
|
7541
|
-
default: {}
|
|
7542
|
-
},
|
|
7543
|
-
queryParameters: [apiVersion6],
|
|
7544
|
-
urlParameters: [$host],
|
|
7545
|
-
headerParameters: [accept],
|
|
7546
|
-
serializer: serializer$i
|
|
7547
|
-
};
|
|
7548
|
-
const listNextOperationSpec$2 = {
|
|
7549
|
-
path: "{nextLink}",
|
|
7550
|
-
httpMethod: "GET",
|
|
7551
|
-
responses: {
|
|
7552
|
-
200: {
|
|
7553
|
-
bodyMapper: OperationsListResult
|
|
7554
|
-
},
|
|
7555
|
-
default: {}
|
|
7556
|
-
},
|
|
7557
|
-
queryParameters: [apiVersion6],
|
|
7558
|
-
urlParameters: [$host, nextLink],
|
|
7559
|
-
headerParameters: [accept],
|
|
7560
|
-
serializer: serializer$i
|
|
7561
|
-
};
|
|
7562
|
-
|
|
7563
7555
|
/*
|
|
7564
7556
|
* Copyright (c) Microsoft Corporation.
|
|
7565
7557
|
* Licensed under the MIT License.
|
|
@@ -7586,9 +7578,9 @@ class LiveTokenImpl {
|
|
|
7586
7578
|
}
|
|
7587
7579
|
}
|
|
7588
7580
|
// Operation Specifications
|
|
7589
|
-
const serializer$
|
|
7581
|
+
const serializer$i = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
7590
7582
|
const getOperationSpec$g = {
|
|
7591
|
-
path: "/{resourceUri}/providers/
|
|
7583
|
+
path: "/{resourceUri}/providers/Microsoft.Insights/generatelivetoken",
|
|
7592
7584
|
httpMethod: "POST",
|
|
7593
7585
|
responses: {
|
|
7594
7586
|
200: {
|
|
@@ -7601,7 +7593,7 @@ const getOperationSpec$g = {
|
|
|
7601
7593
|
queryParameters: [apiVersion6],
|
|
7602
7594
|
urlParameters: [$host, resourceUri],
|
|
7603
7595
|
headerParameters: [accept],
|
|
7604
|
-
serializer: serializer$
|
|
7596
|
+
serializer: serializer$i
|
|
7605
7597
|
};
|
|
7606
7598
|
|
|
7607
7599
|
/*
|
|
@@ -7633,7 +7625,7 @@ class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
|
|
|
7633
7625
|
requestContentType: "application/json; charset=utf-8",
|
|
7634
7626
|
credential: credentials
|
|
7635
7627
|
};
|
|
7636
|
-
const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.
|
|
7628
|
+
const packageDetails = `azsdk-js-arm-appinsights/5.0.0-beta.2`;
|
|
7637
7629
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
7638
7630
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
7639
7631
|
: `${packageDetails}`;
|
|
@@ -7666,7 +7658,6 @@ class ApplicationInsightsManagementClient extends coreClient.ServiceClient {
|
|
|
7666
7658
|
this.workbooks = new WorkbooksImpl(this);
|
|
7667
7659
|
this.components = new ComponentsImpl(this);
|
|
7668
7660
|
this.componentLinkedStorageAccountsOperations = new ComponentLinkedStorageAccountsOperationsImpl(this);
|
|
7669
|
-
this.operations = new OperationsImpl(this);
|
|
7670
7661
|
this.liveToken = new LiveTokenImpl(this);
|
|
7671
7662
|
}
|
|
7672
7663
|
}
|