@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.
Files changed (65) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +11 -0
  3. package/dist/index.js +558 -488
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/src/applicationInsightsManagementClient.d.ts +1 -2
  8. package/dist-esm/src/applicationInsightsManagementClient.d.ts.map +1 -1
  9. package/dist-esm/src/applicationInsightsManagementClient.js +21 -4
  10. package/dist-esm/src/applicationInsightsManagementClient.js.map +1 -1
  11. package/dist-esm/src/models/index.d.ts +92 -53
  12. package/dist-esm/src/models/index.d.ts.map +1 -1
  13. package/dist-esm/src/models/index.js +10 -6
  14. package/dist-esm/src/models/index.js.map +1 -1
  15. package/dist-esm/src/models/mappers.d.ts +5 -3
  16. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  17. package/dist-esm/src/models/mappers.js +168 -94
  18. package/dist-esm/src/models/mappers.js.map +1 -1
  19. package/dist-esm/src/models/parameters.d.ts +1 -1
  20. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  21. package/dist-esm/src/models/parameters.js +14 -14
  22. package/dist-esm/src/models/parameters.js.map +1 -1
  23. package/dist-esm/src/operations/components.js +33 -5
  24. package/dist-esm/src/operations/components.js.map +1 -1
  25. package/dist-esm/src/operations/index.d.ts +0 -1
  26. package/dist-esm/src/operations/index.d.ts.map +1 -1
  27. package/dist-esm/src/operations/index.js +0 -1
  28. package/dist-esm/src/operations/index.js.map +1 -1
  29. package/dist-esm/src/operations/liveToken.js +1 -1
  30. package/dist-esm/src/operations/workbooks.d.ts +10 -10
  31. package/dist-esm/src/operations/workbooks.js +11 -11
  32. package/dist-esm/src/operations/workbooks.js.map +1 -1
  33. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -1
  34. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  35. package/dist-esm/src/operationsInterfaces/index.js +0 -1
  36. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  37. package/dist-esm/src/operationsInterfaces/workbooks.d.ts +7 -7
  38. package/dist-esm/test/sampleTest.js +11 -13
  39. package/dist-esm/test/sampleTest.js.map +1 -1
  40. package/package.json +32 -18
  41. package/review/arm-appinsights.api.md +38 -33
  42. package/rollup.config.js +6 -72
  43. package/src/applicationInsightsManagementClient.ts +27 -6
  44. package/src/models/index.ts +101 -61
  45. package/src/models/mappers.ts +179 -97
  46. package/src/models/parameters.ts +15 -15
  47. package/src/operations/components.ts +33 -5
  48. package/src/operations/index.ts +0 -1
  49. package/src/operations/liveToken.ts +1 -1
  50. package/src/operations/workbooks.ts +11 -11
  51. package/src/operationsInterfaces/index.ts +0 -1
  52. package/src/operationsInterfaces/workbooks.ts +7 -7
  53. package/tsconfig.json +12 -4
  54. package/types/arm-appinsights.d.ts +83 -54
  55. package/types/tsdoc-metadata.json +1 -1
  56. package/dist-esm/src/operations/operations.d.ts +0 -32
  57. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  58. package/dist-esm/src/operations/operations.js +0 -116
  59. package/dist-esm/src/operations/operations.js.map +0 -1
  60. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
  61. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  62. package/dist-esm/src/operationsInterfaces/operations.js +0 -9
  63. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  64. package/src/operations/operations.ts +0 -133
  65. package/src/operationsInterfaces/operations.ts +0 -22
@@ -923,8 +923,8 @@ export interface WorkbookErrorDefinition {
923
923
 
924
924
  /** The parameters that can be provided when updating workbook properties properties. */
925
925
  export interface WorkbookUpdateParameters {
926
- /** The kind of workbook. Choices are user and shared. */
927
- kind?: SharedTypeKind;
926
+ /** The kind of workbook. Only valid value is shared. */
927
+ kind?: WorkbookUpdateSharedTypeKind;
928
928
  /** Resource tags. */
929
929
  tags?: { [propertyName: string]: string };
930
930
  /** The user-defined name (display name) of the workbook. */
@@ -980,6 +980,25 @@ export interface ComponentsResource {
980
980
  tags?: { [propertyName: string]: string };
981
981
  }
982
982
 
983
+ export interface ErrorResponseComponents {
984
+ /** Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message. */
985
+ error?: ErrorResponseComponentsError;
986
+ }
987
+
988
+ /** Error response indicates Insights service is not able to process the incoming request. The reason is provided in the error message. */
989
+ export interface ErrorResponseComponentsError {
990
+ /**
991
+ * Error code.
992
+ * NOTE: This property will not be serialized. It can only be populated by the server.
993
+ */
994
+ readonly code?: string;
995
+ /**
996
+ * Error message indicating why the operation failed.
997
+ * NOTE: This property will not be serialized. It can only be populated by the server.
998
+ */
999
+ readonly message?: string;
1000
+ }
1001
+
983
1002
  /** Describes the body of a purge request for an App Insights component */
984
1003
  export interface ComponentPurgeBody {
985
1004
  /** Table from which to purge data. */
@@ -1037,38 +1056,6 @@ export interface ComponentLinkedStorageAccountsPatch {
1037
1056
  linkedStorageAccount?: string;
1038
1057
  }
1039
1058
 
1040
- /** Result of the List Operations operation */
1041
- export interface OperationsListResult {
1042
- /** A collection of operations */
1043
- value?: OperationLive[];
1044
- /** URL to get the next set of operation list results if there are any. */
1045
- nextLink?: string;
1046
- }
1047
-
1048
- /** Represents an operation returned by the GetOperations request */
1049
- export interface OperationLive {
1050
- /** Name of the operation */
1051
- name?: string;
1052
- /** Display name of the operation */
1053
- display?: OperationInfo;
1054
- /** Origin of the operation */
1055
- origin?: string;
1056
- /** Properties of the operation */
1057
- properties?: Record<string, unknown>;
1058
- }
1059
-
1060
- /** Information about an operation */
1061
- export interface OperationInfo {
1062
- /** Name of the provider */
1063
- provider?: string;
1064
- /** Name of the resource type */
1065
- resource?: string;
1066
- /** Name of the operation */
1067
- operation?: string;
1068
- /** Description of the operation */
1069
- description?: string;
1070
- }
1071
-
1072
1059
  /** The response to a live token query. */
1073
1060
  export interface LiveTokenResponse {
1074
1061
  /**
@@ -1130,6 +1117,40 @@ export interface WorkbookInnerErrorTrace {
1130
1117
  readonly trace?: string[];
1131
1118
  }
1132
1119
 
1120
+ /** Result of the List Operations operation */
1121
+ export interface OperationsListResult {
1122
+ /** A collection of operations */
1123
+ value?: OperationLive[];
1124
+ /** URL to get the next set of operation list results if there are any. */
1125
+ nextLink?: string;
1126
+ }
1127
+
1128
+ /** Represents an operation returned by the GetOperations request */
1129
+ export interface OperationLive {
1130
+ /** Name of the operation */
1131
+ name?: string;
1132
+ /** Indicates whether the operation is a data action */
1133
+ isDataAction?: boolean;
1134
+ /** Display name of the operation */
1135
+ display?: OperationInfo;
1136
+ /** Origin of the operation */
1137
+ origin?: string;
1138
+ /** Properties of the operation */
1139
+ properties?: Record<string, unknown>;
1140
+ }
1141
+
1142
+ /** Information about an operation */
1143
+ export interface OperationInfo {
1144
+ /** Name of the provider */
1145
+ provider?: string;
1146
+ /** Name of the resource type */
1147
+ resource?: string;
1148
+ /** Name of the operation */
1149
+ operation?: string;
1150
+ /** Description of the operation */
1151
+ description?: string;
1152
+ }
1153
+
1133
1154
  /** An Application Insights web test definition. */
1134
1155
  export type WebTest = WebtestsResource & {
1135
1156
  /** The kind of web test that this web test watches. Choices are ping and multistep. */
@@ -1211,7 +1232,7 @@ export type MyWorkbook = MyWorkbookResource & {
1211
1232
  };
1212
1233
 
1213
1234
  /** Identity used for BYOS */
1214
- export type WorkbookResourceIdentity = ManagedServiceIdentity & {};
1235
+ export type WorkbookResourceIdentity = ManagedServiceIdentity;
1215
1236
 
1216
1237
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1217
1238
  export type TrackedResource = Resource & {
@@ -1222,12 +1243,14 @@ export type TrackedResource = Resource & {
1222
1243
  };
1223
1244
 
1224
1245
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1225
- export type ProxyResource = Resource & {};
1246
+ export type ProxyResource = Resource;
1226
1247
 
1227
1248
  /** An Application Insights component definition. */
1228
1249
  export type ApplicationInsightsComponent = ComponentsResource & {
1229
1250
  /** 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. */
1230
1251
  kind: string;
1252
+ /** Resource etag */
1253
+ etag?: string;
1231
1254
  /**
1232
1255
  * The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.
1233
1256
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1238,6 +1261,11 @@ export type ApplicationInsightsComponent = ComponentsResource & {
1238
1261
  * NOTE: This property will not be serialized. It can only be populated by the server.
1239
1262
  */
1240
1263
  readonly appId?: string;
1264
+ /**
1265
+ * Application name.
1266
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1267
+ */
1268
+ readonly namePropertiesName?: string;
1241
1269
  /** Type of application being monitored. */
1242
1270
  applicationType?: ApplicationType;
1243
1271
  /** 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. */
@@ -1284,6 +1312,13 @@ export type ApplicationInsightsComponent = ComponentsResource & {
1284
1312
  disableIpMasking?: boolean;
1285
1313
  /** Purge data immediately after 30 days. */
1286
1314
  immediatePurgeDataOn30Days?: boolean;
1315
+ /** 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. */
1316
+ workspaceResourceId?: string;
1317
+ /**
1318
+ * The date which the component got migrated to LA, in ISO 8601 format.
1319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1320
+ */
1321
+ readonly laMigrationDate?: Date;
1287
1322
  /**
1288
1323
  * List of linked private link scope resources.
1289
1324
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1295,14 +1330,18 @@ export type ApplicationInsightsComponent = ComponentsResource & {
1295
1330
  publicNetworkAccessForQuery?: PublicNetworkAccessType;
1296
1331
  /** Indicates the flow of the ingestion. */
1297
1332
  ingestionMode?: IngestionMode;
1333
+ /** Disable Non-AAD based Auth. */
1334
+ disableLocalAuth?: boolean;
1335
+ /** Force users to create their own storage account for profiler and debugger. */
1336
+ forceCustomerStorageForProfiler?: boolean;
1298
1337
  };
1299
1338
 
1300
1339
  /** An azure resource object */
1301
1340
  export type WorkbookResource = TrackedResource & {
1302
1341
  /** Identity used for BYOS */
1303
1342
  identity?: WorkbookResourceIdentity;
1304
- /** The kind of workbook. Choices are user and shared. */
1305
- kind?: Kind;
1343
+ /** The kind of workbook. Only valid value is shared. */
1344
+ kind?: WorkbookSharedTypeKind;
1306
1345
  /** Resource etag */
1307
1346
  etag?: string;
1308
1347
  };
@@ -1313,7 +1352,7 @@ export type ComponentLinkedStorageAccounts = ProxyResource & {
1313
1352
  linkedStorageAccount?: string;
1314
1353
  };
1315
1354
 
1316
- /** An Application Insights workbook definition. */
1355
+ /** A workbook definition. */
1317
1356
  export type Workbook = WorkbookResource & {
1318
1357
  /**
1319
1358
  * Metadata pertaining to creation and last modification of the resource.
@@ -1547,21 +1586,33 @@ export enum KnownManagedServiceIdentityType {
1547
1586
  */
1548
1587
  export type ManagedServiceIdentityType = string;
1549
1588
 
1550
- /** Known values of {@link SharedTypeKind} that the service accepts. */
1551
- export enum KnownSharedTypeKind {
1552
- User = "user",
1589
+ /** Known values of {@link WorkbookSharedTypeKind} that the service accepts. */
1590
+ export enum KnownWorkbookSharedTypeKind {
1553
1591
  Shared = "shared"
1554
1592
  }
1555
1593
 
1556
1594
  /**
1557
- * Defines values for SharedTypeKind. \
1558
- * {@link KnownSharedTypeKind} can be used interchangeably with SharedTypeKind,
1595
+ * Defines values for WorkbookSharedTypeKind. \
1596
+ * {@link KnownWorkbookSharedTypeKind} can be used interchangeably with WorkbookSharedTypeKind,
1559
1597
  * this enum contains the known values that the service supports.
1560
1598
  * ### Known values supported by the service
1561
- * **user** \
1562
1599
  * **shared**
1563
1600
  */
1564
- export type SharedTypeKind = string;
1601
+ export type WorkbookSharedTypeKind = string;
1602
+
1603
+ /** Known values of {@link WorkbookUpdateSharedTypeKind} that the service accepts. */
1604
+ export enum KnownWorkbookUpdateSharedTypeKind {
1605
+ Shared = "shared"
1606
+ }
1607
+
1608
+ /**
1609
+ * Defines values for WorkbookUpdateSharedTypeKind. \
1610
+ * {@link KnownWorkbookUpdateSharedTypeKind} can be used interchangeably with WorkbookUpdateSharedTypeKind,
1611
+ * this enum contains the known values that the service supports.
1612
+ * ### Known values supported by the service
1613
+ * **shared**
1614
+ */
1615
+ export type WorkbookUpdateSharedTypeKind = string;
1565
1616
 
1566
1617
  /** Known values of {@link ApplicationType} that the service accepts. */
1567
1618
  export enum KnownApplicationType {
@@ -2165,7 +2216,10 @@ export type WorkbooksListByResourceGroupResponse = WorkbooksListResult;
2165
2216
 
2166
2217
  /** Optional parameters. */
2167
2218
  export interface WorkbooksGetOptionalParams
2168
- extends coreClient.OperationOptions {}
2219
+ extends coreClient.OperationOptions {
2220
+ /** Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks. */
2221
+ canFetchContent?: boolean;
2222
+ }
2169
2223
 
2170
2224
  /** Contains response data for the get operation. */
2171
2225
  export type WorkbooksGetResponse = Workbook;
@@ -2335,20 +2389,6 @@ export type ComponentLinkedStorageAccountsUpdateResponse = ComponentLinkedStorag
2335
2389
  export interface ComponentLinkedStorageAccountsDeleteOptionalParams
2336
2390
  extends coreClient.OperationOptions {}
2337
2391
 
2338
- /** Optional parameters. */
2339
- export interface OperationsListOptionalParams
2340
- extends coreClient.OperationOptions {}
2341
-
2342
- /** Contains response data for the list operation. */
2343
- export type OperationsListResponse = OperationsListResult;
2344
-
2345
- /** Optional parameters. */
2346
- export interface OperationsListNextOptionalParams
2347
- extends coreClient.OperationOptions {}
2348
-
2349
- /** Contains response data for the listNext operation. */
2350
- export type OperationsListNextResponse = OperationsListResult;
2351
-
2352
2392
  /** Optional parameters. */
2353
2393
  export interface LiveTokenGetOptionalParams
2354
2394
  extends coreClient.OperationOptions {}
@@ -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: "ApplicationInsights",
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
  }
@@ -357,7 +357,7 @@ export const scope: OperationQueryParameter = {
357
357
  };
358
358
 
359
359
  export const typeParam: OperationQueryParameter = {
360
- parameterPath: ["options", "typeParam"],
360
+ parameterPath: ["options", "type"],
361
361
  mapper: {
362
362
  defaultValue: "none",
363
363
  serializedName: "type",
@@ -475,7 +475,7 @@ export const workbookProperties: OperationParameter = {
475
475
  export const apiVersion3: OperationQueryParameter = {
476
476
  parameterPath: "apiVersion",
477
477
  mapper: {
478
- defaultValue: "2021-08-01",
478
+ defaultValue: "2022-04-01",
479
479
  isConstant: true,
480
480
  serializedName: "api-version",
481
481
  type: {
@@ -508,7 +508,7 @@ export const revisionId: OperationURLParameter = {
508
508
  export const apiVersion4: OperationQueryParameter = {
509
509
  parameterPath: "apiVersion",
510
510
  mapper: {
511
- defaultValue: "2018-05-01-preview",
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
+ };