@azure/arm-kusto 7.2.2-alpha.20230206.1 → 7.3.0

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 (123) hide show
  1. package/CHANGELOG.md +21 -10
  2. package/dist/index.js +308 -33
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/attachedDatabaseConfigurationsCheckNameAvailabilitySample.js +1 -1
  7. package/dist-esm/samples-dev/attachedDatabaseConfigurationsCreateOrUpdateSample.js +1 -1
  8. package/dist-esm/samples-dev/attachedDatabaseConfigurationsDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/attachedDatabaseConfigurationsGetSample.js +1 -1
  10. package/dist-esm/samples-dev/attachedDatabaseConfigurationsListByClusterSample.js +1 -1
  11. package/dist-esm/samples-dev/clusterPrincipalAssignmentsCheckNameAvailabilitySample.js +1 -1
  12. package/dist-esm/samples-dev/clusterPrincipalAssignmentsCreateOrUpdateSample.js +1 -1
  13. package/dist-esm/samples-dev/clusterPrincipalAssignmentsDeleteSample.js +1 -1
  14. package/dist-esm/samples-dev/clusterPrincipalAssignmentsGetSample.js +1 -1
  15. package/dist-esm/samples-dev/clusterPrincipalAssignmentsListSample.js +1 -1
  16. package/dist-esm/samples-dev/clustersAddLanguageExtensionsSample.js +1 -1
  17. package/dist-esm/samples-dev/clustersCheckNameAvailabilitySample.js +1 -1
  18. package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js +2 -2
  19. package/dist-esm/samples-dev/clustersCreateOrUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/clustersDeleteSample.js +1 -1
  21. package/dist-esm/samples-dev/clustersDetachFollowerDatabasesSample.js +1 -1
  22. package/dist-esm/samples-dev/clustersDiagnoseVirtualNetworkSample.js +1 -1
  23. package/dist-esm/samples-dev/clustersGetSample.js +1 -1
  24. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +1 -1
  25. package/dist-esm/samples-dev/clustersListFollowerDatabasesSample.js +1 -1
  26. package/dist-esm/samples-dev/clustersListLanguageExtensionsSample.js +1 -1
  27. package/dist-esm/samples-dev/clustersListOutboundNetworkDependenciesEndpointsSample.js +1 -1
  28. package/dist-esm/samples-dev/clustersListSample.js +1 -1
  29. package/dist-esm/samples-dev/clustersListSkusByResourceSample.js +1 -1
  30. package/dist-esm/samples-dev/clustersListSkusSample.js +1 -1
  31. package/dist-esm/samples-dev/clustersRemoveLanguageExtensionsSample.js +1 -1
  32. package/dist-esm/samples-dev/clustersStartSample.js +1 -1
  33. package/dist-esm/samples-dev/clustersStopSample.js +1 -1
  34. package/dist-esm/samples-dev/clustersUpdateSample.js +1 -1
  35. package/dist-esm/samples-dev/dataConnectionsCheckNameAvailabilitySample.js +1 -1
  36. package/dist-esm/samples-dev/dataConnectionsCreateOrUpdateSample.js +34 -2
  37. package/dist-esm/samples-dev/dataConnectionsCreateOrUpdateSample.js.map +1 -1
  38. package/dist-esm/samples-dev/dataConnectionsDataConnectionValidationSample.js +2 -2
  39. package/dist-esm/samples-dev/dataConnectionsDeleteSample.js +1 -1
  40. package/dist-esm/samples-dev/dataConnectionsGetSample.js +23 -2
  41. package/dist-esm/samples-dev/dataConnectionsGetSample.js.map +1 -1
  42. package/dist-esm/samples-dev/dataConnectionsListByDatabaseSample.js +1 -1
  43. package/dist-esm/samples-dev/dataConnectionsUpdateSample.js +34 -2
  44. package/dist-esm/samples-dev/dataConnectionsUpdateSample.js.map +1 -1
  45. package/dist-esm/samples-dev/databasePrincipalAssignmentsCheckNameAvailabilitySample.js +1 -1
  46. package/dist-esm/samples-dev/databasePrincipalAssignmentsCreateOrUpdateSample.js +1 -1
  47. package/dist-esm/samples-dev/databasePrincipalAssignmentsDeleteSample.js +1 -1
  48. package/dist-esm/samples-dev/databasePrincipalAssignmentsGetSample.js +1 -1
  49. package/dist-esm/samples-dev/databasePrincipalAssignmentsListSample.js +1 -1
  50. package/dist-esm/samples-dev/databasesAddPrincipalsSample.js +1 -1
  51. package/dist-esm/samples-dev/databasesCheckNameAvailabilitySample.js +1 -1
  52. package/dist-esm/samples-dev/databasesCreateOrUpdateSample.js +2 -2
  53. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  54. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  55. package/dist-esm/samples-dev/databasesListByClusterSample.js +1 -1
  56. package/dist-esm/samples-dev/databasesListPrincipalsSample.js +1 -1
  57. package/dist-esm/samples-dev/databasesRemovePrincipalsSample.js +1 -1
  58. package/dist-esm/samples-dev/databasesUpdateSample.js +1 -1
  59. package/dist-esm/samples-dev/managedPrivateEndpointsCheckNameAvailabilitySample.js +1 -1
  60. package/dist-esm/samples-dev/managedPrivateEndpointsCreateOrUpdateSample.js +1 -1
  61. package/dist-esm/samples-dev/managedPrivateEndpointsDeleteSample.js +1 -1
  62. package/dist-esm/samples-dev/managedPrivateEndpointsGetSample.js +1 -1
  63. package/dist-esm/samples-dev/managedPrivateEndpointsListSample.js +1 -1
  64. package/dist-esm/samples-dev/managedPrivateEndpointsUpdateSample.js +1 -1
  65. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  66. package/dist-esm/samples-dev/operationsResultsGetSample.js +1 -1
  67. package/dist-esm/samples-dev/operationsResultsLocationGetSample.js +1 -1
  68. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
  69. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  70. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  71. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
  72. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  73. package/dist-esm/samples-dev/privateLinkResourcesListSample.js +1 -1
  74. package/dist-esm/samples-dev/scriptsCheckNameAvailabilitySample.js +1 -1
  75. package/dist-esm/samples-dev/scriptsCreateOrUpdateSample.js +1 -1
  76. package/dist-esm/samples-dev/scriptsDeleteSample.js +1 -1
  77. package/dist-esm/samples-dev/scriptsGetSample.js +1 -1
  78. package/dist-esm/samples-dev/scriptsListByDatabaseSample.js +1 -1
  79. package/dist-esm/samples-dev/scriptsUpdateSample.js +1 -1
  80. package/dist-esm/samples-dev/skusListSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/skusListSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/skusListSample.js +52 -0
  83. package/dist-esm/samples-dev/skusListSample.js.map +1 -0
  84. package/dist-esm/src/kustoManagementClient.d.ts +2 -1
  85. package/dist-esm/src/kustoManagementClient.d.ts.map +1 -1
  86. package/dist-esm/src/kustoManagementClient.js +4 -3
  87. package/dist-esm/src/kustoManagementClient.js.map +1 -1
  88. package/dist-esm/src/models/index.d.ts +116 -17
  89. package/dist-esm/src/models/index.d.ts.map +1 -1
  90. package/dist-esm/src/models/index.js +22 -0
  91. package/dist-esm/src/models/index.js.map +1 -1
  92. package/dist-esm/src/models/mappers.d.ts +4 -0
  93. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  94. package/dist-esm/src/models/mappers.js +154 -1
  95. package/dist-esm/src/models/mappers.js.map +1 -1
  96. package/dist-esm/src/models/parameters.js +1 -1
  97. package/dist-esm/src/operations/index.d.ts +1 -0
  98. package/dist-esm/src/operations/index.d.ts.map +1 -1
  99. package/dist-esm/src/operations/index.js +1 -0
  100. package/dist-esm/src/operations/index.js.map +1 -1
  101. package/dist-esm/src/operations/skus.d.ts +28 -0
  102. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  103. package/dist-esm/src/operations/skus.js +100 -0
  104. package/dist-esm/src/operations/skus.js.map +1 -0
  105. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  107. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  108. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  109. package/dist-esm/src/operationsInterfaces/skus.d.ts +12 -0
  110. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  111. package/dist-esm/src/operationsInterfaces/skus.js +9 -0
  112. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  113. package/package.json +6 -6
  114. package/review/arm-kusto.api.md +64 -3
  115. package/src/kustoManagementClient.ts +6 -2
  116. package/src/models/index.ts +123 -17
  117. package/src/models/mappers.ts +168 -1
  118. package/src/models/parameters.ts +1 -1
  119. package/src/operations/index.ts +1 -0
  120. package/src/operations/skus.ts +117 -0
  121. package/src/operationsInterfaces/index.ts +1 -0
  122. package/src/operationsInterfaces/skus.ts +24 -0
  123. package/types/arm-kusto.d.ts +134 -17
package/CHANGELOG.md CHANGED
@@ -1,15 +1,26 @@
1
1
  # Release History
2
+
3
+ ## 7.3.0 (2023-02-07)
4
+
5
+ **Features**
2
6
 
3
- ## 7.2.2 (Unreleased)
4
-
5
- ### Features Added
6
-
7
- ### Breaking Changes
8
-
9
- ### Bugs Fixed
10
-
11
- ### Other Changes
12
-
7
+ - Added operation group Skus
8
+ - Added Interface CosmosDbDataConnection
9
+ - Added Interface ResourceSkuCapabilities
10
+ - Added Interface ResourceSkuZoneDetails
11
+ - Added Interface SkusListOptionalParams
12
+ - Added Type Alias LanguageExtensionImageName
13
+ - Added Type Alias SkusListResponse
14
+ - Interface LanguageExtension has a new optional parameter languageExtensionImageName
15
+ - Interface SkuLocationInfoItem has a new optional parameter zoneDetails
16
+ - Interface TableLevelSharingProperties has a new optional parameter functionsToExclude
17
+ - Interface TableLevelSharingProperties has a new optional parameter functionsToInclude
18
+ - Added Enum KnownLanguageExtensionImageName
19
+ - Enum KnownAzureSkuName has a new value StandardL32AsV3
20
+ - Enum KnownAzureSkuName has a new value StandardL32SV3
21
+ - Enum KnownDataConnectionKind has a new value CosmosDb
22
+ - Enum KnownProvisioningState has a new value Canceled
23
+
13
24
  ## 7.2.1 (2023-01-11)
14
25
 
15
26
  **Features**
package/dist/index.js CHANGED
@@ -110,10 +110,14 @@ exports.KnownAzureSkuName = void 0;
110
110
  KnownAzureSkuName["StandardL8SV3"] = "Standard_L8s_v3";
111
111
  /** StandardL16SV3 */
112
112
  KnownAzureSkuName["StandardL16SV3"] = "Standard_L16s_v3";
113
+ /** StandardL32SV3 */
114
+ KnownAzureSkuName["StandardL32SV3"] = "Standard_L32s_v3";
113
115
  /** StandardL8AsV3 */
114
116
  KnownAzureSkuName["StandardL8AsV3"] = "Standard_L8as_v3";
115
117
  /** StandardL16AsV3 */
116
118
  KnownAzureSkuName["StandardL16AsV3"] = "Standard_L16as_v3";
119
+ /** StandardL32AsV3 */
120
+ KnownAzureSkuName["StandardL32AsV3"] = "Standard_L32as_v3";
117
121
  /** StandardE64IV3 */
118
122
  KnownAzureSkuName["StandardE64IV3"] = "Standard_E64i_v3";
119
123
  /** StandardE80IdsV4 */
@@ -264,6 +268,8 @@ exports.KnownProvisioningState = void 0;
264
268
  KnownProvisioningState["Failed"] = "Failed";
265
269
  /** Moving */
266
270
  KnownProvisioningState["Moving"] = "Moving";
271
+ /** Canceled */
272
+ KnownProvisioningState["Canceled"] = "Canceled";
267
273
  })(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
268
274
  /** Known values of {@link LanguageExtensionName} that the service accepts. */
269
275
  exports.KnownLanguageExtensionName = void 0;
@@ -273,6 +279,20 @@ exports.KnownLanguageExtensionName = void 0;
273
279
  /** R */
274
280
  KnownLanguageExtensionName["R"] = "R";
275
281
  })(exports.KnownLanguageExtensionName || (exports.KnownLanguageExtensionName = {}));
282
+ /** Known values of {@link LanguageExtensionImageName} that the service accepts. */
283
+ exports.KnownLanguageExtensionImageName = void 0;
284
+ (function (KnownLanguageExtensionImageName) {
285
+ /** R */
286
+ KnownLanguageExtensionImageName["R"] = "R";
287
+ /** Python365 */
288
+ KnownLanguageExtensionImageName["Python365"] = "Python3_6_5";
289
+ /** Python3912 */
290
+ KnownLanguageExtensionImageName["Python3912"] = "Python3_9_12";
291
+ /** Python3912IncludeDeepLearning */
292
+ KnownLanguageExtensionImageName["Python3912IncludeDeepLearning"] = "Python3_9_12IncludeDeepLearning";
293
+ /** Python3108 */
294
+ KnownLanguageExtensionImageName["Python3108"] = "Python3_10_8";
295
+ })(exports.KnownLanguageExtensionImageName || (exports.KnownLanguageExtensionImageName = {}));
276
296
  /** Known values of {@link PublicNetworkAccess} that the service accepts. */
277
297
  exports.KnownPublicNetworkAccess = void 0;
278
298
  (function (KnownPublicNetworkAccess) {
@@ -412,6 +432,8 @@ exports.KnownDataConnectionKind = void 0;
412
432
  KnownDataConnectionKind["EventGrid"] = "EventGrid";
413
433
  /** IotHub */
414
434
  KnownDataConnectionKind["IotHub"] = "IotHub";
435
+ /** CosmosDb */
436
+ KnownDataConnectionKind["CosmosDb"] = "CosmosDb";
415
437
  })(exports.KnownDataConnectionKind || (exports.KnownDataConnectionKind = {}));
416
438
  /** Known values of {@link Status} that the service accepts. */
417
439
  exports.KnownStatus = void 0;
@@ -851,6 +873,12 @@ const LanguageExtension = {
851
873
  type: {
852
874
  name: "String"
853
875
  }
876
+ },
877
+ languageExtensionImageName: {
878
+ serializedName: "languageExtensionImageName",
879
+ type: {
880
+ name: "String"
881
+ }
854
882
  }
855
883
  }
856
884
  }
@@ -1201,6 +1229,28 @@ const TableLevelSharingProperties = {
1201
1229
  }
1202
1230
  }
1203
1231
  }
1232
+ },
1233
+ functionsToInclude: {
1234
+ serializedName: "functionsToInclude",
1235
+ type: {
1236
+ name: "Sequence",
1237
+ element: {
1238
+ type: {
1239
+ name: "String"
1240
+ }
1241
+ }
1242
+ }
1243
+ },
1244
+ functionsToExclude: {
1245
+ serializedName: "functionsToExclude",
1246
+ type: {
1247
+ name: "Sequence",
1248
+ element: {
1249
+ type: {
1250
+ name: "String"
1251
+ }
1252
+ }
1253
+ }
1204
1254
  }
1205
1255
  }
1206
1256
  }
@@ -1354,6 +1404,73 @@ const SkuLocationInfoItem = {
1354
1404
  }
1355
1405
  }
1356
1406
  }
1407
+ },
1408
+ zoneDetails: {
1409
+ serializedName: "zoneDetails",
1410
+ type: {
1411
+ name: "Sequence",
1412
+ element: {
1413
+ type: {
1414
+ name: "Composite",
1415
+ className: "ResourceSkuZoneDetails"
1416
+ }
1417
+ }
1418
+ }
1419
+ }
1420
+ }
1421
+ }
1422
+ };
1423
+ const ResourceSkuZoneDetails = {
1424
+ type: {
1425
+ name: "Composite",
1426
+ className: "ResourceSkuZoneDetails",
1427
+ modelProperties: {
1428
+ name: {
1429
+ serializedName: "name",
1430
+ readOnly: true,
1431
+ type: {
1432
+ name: "Sequence",
1433
+ element: {
1434
+ type: {
1435
+ name: "String"
1436
+ }
1437
+ }
1438
+ }
1439
+ },
1440
+ capabilities: {
1441
+ serializedName: "capabilities",
1442
+ readOnly: true,
1443
+ type: {
1444
+ name: "Sequence",
1445
+ element: {
1446
+ type: {
1447
+ name: "Composite",
1448
+ className: "ResourceSkuCapabilities"
1449
+ }
1450
+ }
1451
+ }
1452
+ }
1453
+ }
1454
+ }
1455
+ };
1456
+ const ResourceSkuCapabilities = {
1457
+ type: {
1458
+ name: "Composite",
1459
+ className: "ResourceSkuCapabilities",
1460
+ modelProperties: {
1461
+ name: {
1462
+ serializedName: "name",
1463
+ readOnly: true,
1464
+ type: {
1465
+ name: "String"
1466
+ }
1467
+ },
1468
+ value: {
1469
+ serializedName: "value",
1470
+ readOnly: true,
1471
+ type: {
1472
+ name: "String"
1473
+ }
1357
1474
  }
1358
1475
  }
1359
1476
  }
@@ -3337,6 +3454,63 @@ const EventGridDataConnection = {
3337
3454
  } })
3338
3455
  }
3339
3456
  };
3457
+ const CosmosDbDataConnection = {
3458
+ serializedName: "CosmosDb",
3459
+ type: {
3460
+ name: "Composite",
3461
+ className: "CosmosDbDataConnection",
3462
+ uberParent: "DataConnection",
3463
+ polymorphicDiscriminator: DataConnection.type.polymorphicDiscriminator,
3464
+ modelProperties: Object.assign(Object.assign({}, DataConnection.type.modelProperties), { tableName: {
3465
+ serializedName: "properties.tableName",
3466
+ type: {
3467
+ name: "String"
3468
+ }
3469
+ }, mappingRuleName: {
3470
+ serializedName: "properties.mappingRuleName",
3471
+ type: {
3472
+ name: "String"
3473
+ }
3474
+ }, managedIdentityResourceId: {
3475
+ serializedName: "properties.managedIdentityResourceId",
3476
+ type: {
3477
+ name: "String"
3478
+ }
3479
+ }, managedIdentityObjectId: {
3480
+ serializedName: "properties.managedIdentityObjectId",
3481
+ readOnly: true,
3482
+ type: {
3483
+ name: "String"
3484
+ }
3485
+ }, cosmosDbAccountResourceId: {
3486
+ serializedName: "properties.cosmosDbAccountResourceId",
3487
+ type: {
3488
+ name: "String"
3489
+ }
3490
+ }, cosmosDbDatabase: {
3491
+ serializedName: "properties.cosmosDbDatabase",
3492
+ type: {
3493
+ name: "String"
3494
+ }
3495
+ }, cosmosDbContainer: {
3496
+ serializedName: "properties.cosmosDbContainer",
3497
+ type: {
3498
+ name: "String"
3499
+ }
3500
+ }, retrievalStartDate: {
3501
+ serializedName: "properties.retrievalStartDate",
3502
+ type: {
3503
+ name: "DateTime"
3504
+ }
3505
+ }, provisioningState: {
3506
+ serializedName: "properties.provisioningState",
3507
+ readOnly: true,
3508
+ type: {
3509
+ name: "String"
3510
+ }
3511
+ } })
3512
+ }
3513
+ };
3340
3514
  const ClustersUpdateHeaders = {
3341
3515
  type: {
3342
3516
  name: "Composite",
@@ -3414,7 +3588,8 @@ let discriminators = {
3414
3588
  "Database.ReadOnlyFollowing": ReadOnlyFollowingDatabase,
3415
3589
  "DataConnection.EventHub": EventHubDataConnection,
3416
3590
  "DataConnection.IotHub": IotHubDataConnection,
3417
- "DataConnection.EventGrid": EventGridDataConnection
3591
+ "DataConnection.EventGrid": EventGridDataConnection,
3592
+ "DataConnection.CosmosDb": CosmosDbDataConnection
3418
3593
  };
3419
3594
 
3420
3595
  var Mappers = /*#__PURE__*/Object.freeze({
@@ -3446,6 +3621,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
3446
3621
  SkuDescriptionList: SkuDescriptionList,
3447
3622
  SkuDescription: SkuDescription,
3448
3623
  SkuLocationInfoItem: SkuLocationInfoItem,
3624
+ ResourceSkuZoneDetails: ResourceSkuZoneDetails,
3625
+ ResourceSkuCapabilities: ResourceSkuCapabilities,
3449
3626
  ClusterCheckNameRequest: ClusterCheckNameRequest,
3450
3627
  CheckNameRequest: CheckNameRequest,
3451
3628
  AttachedDatabaseConfigurationsCheckNameRequest: AttachedDatabaseConfigurationsCheckNameRequest,
@@ -3497,6 +3674,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
3497
3674
  EventHubDataConnection: EventHubDataConnection,
3498
3675
  IotHubDataConnection: IotHubDataConnection,
3499
3676
  EventGridDataConnection: EventGridDataConnection,
3677
+ CosmosDbDataConnection: CosmosDbDataConnection,
3500
3678
  ClustersUpdateHeaders: ClustersUpdateHeaders,
3501
3679
  DatabasesUpdateHeaders: DatabasesUpdateHeaders,
3502
3680
  ManagedPrivateEndpointsUpdateHeaders: ManagedPrivateEndpointsUpdateHeaders,
@@ -3567,7 +3745,7 @@ const subscriptionId = {
3567
3745
  const apiVersion = {
3568
3746
  parameterPath: "apiVersion",
3569
3747
  mapper: {
3570
- defaultValue: "2022-07-07",
3748
+ defaultValue: "2022-12-29",
3571
3749
  isConstant: true,
3572
3750
  serializedName: "api-version",
3573
3751
  type: {
@@ -4606,7 +4784,7 @@ class ClustersImpl {
4606
4784
  * @param options The options parameters.
4607
4785
  */
4608
4786
  _list(options) {
4609
- return this.client.sendOperationRequest({ options }, listOperationSpec$6);
4787
+ return this.client.sendOperationRequest({ options }, listOperationSpec$7);
4610
4788
  }
4611
4789
  /**
4612
4790
  * Lists eligible SKUs for Kusto resource provider.
@@ -4770,7 +4948,7 @@ class ClustersImpl {
4770
4948
  }
4771
4949
  }
4772
4950
  // Operation Specifications
4773
- const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4951
+ const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
4774
4952
  const getOperationSpec$b = {
4775
4953
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}",
4776
4954
  httpMethod: "GET",
@@ -4790,7 +4968,7 @@ const getOperationSpec$b = {
4790
4968
  subscriptionId
4791
4969
  ],
4792
4970
  headerParameters: [accept],
4793
- serializer: serializer$c
4971
+ serializer: serializer$d
4794
4972
  };
4795
4973
  const createOrUpdateOperationSpec$8 = {
4796
4974
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}",
@@ -4827,7 +5005,7 @@ const createOrUpdateOperationSpec$8 = {
4827
5005
  ifNoneMatch
4828
5006
  ],
4829
5007
  mediaType: "json",
4830
- serializer: serializer$c
5008
+ serializer: serializer$d
4831
5009
  };
4832
5010
  const updateOperationSpec$4 = {
4833
5011
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}",
@@ -4863,7 +5041,7 @@ const updateOperationSpec$4 = {
4863
5041
  ifMatch
4864
5042
  ],
4865
5043
  mediaType: "json",
4866
- serializer: serializer$c
5044
+ serializer: serializer$d
4867
5045
  };
4868
5046
  const deleteOperationSpec$8 = {
4869
5047
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}",
@@ -4885,7 +5063,7 @@ const deleteOperationSpec$8 = {
4885
5063
  subscriptionId
4886
5064
  ],
4887
5065
  headerParameters: [accept],
4888
- serializer: serializer$c
5066
+ serializer: serializer$d
4889
5067
  };
4890
5068
  const stopOperationSpec = {
4891
5069
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/stop",
@@ -4907,7 +5085,7 @@ const stopOperationSpec = {
4907
5085
  subscriptionId
4908
5086
  ],
4909
5087
  headerParameters: [accept],
4910
- serializer: serializer$c
5088
+ serializer: serializer$d
4911
5089
  };
4912
5090
  const startOperationSpec = {
4913
5091
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/start",
@@ -4929,7 +5107,7 @@ const startOperationSpec = {
4929
5107
  subscriptionId
4930
5108
  ],
4931
5109
  headerParameters: [accept],
4932
- serializer: serializer$c
5110
+ serializer: serializer$d
4933
5111
  };
4934
5112
  const listFollowerDatabasesOperationSpec = {
4935
5113
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listFollowerDatabases",
@@ -4950,7 +5128,7 @@ const listFollowerDatabasesOperationSpec = {
4950
5128
  subscriptionId
4951
5129
  ],
4952
5130
  headerParameters: [accept],
4953
- serializer: serializer$c
5131
+ serializer: serializer$d
4954
5132
  };
4955
5133
  const detachFollowerDatabasesOperationSpec = {
4956
5134
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/detachFollowerDatabases",
@@ -4974,7 +5152,7 @@ const detachFollowerDatabasesOperationSpec = {
4974
5152
  ],
4975
5153
  headerParameters: [accept, contentType],
4976
5154
  mediaType: "json",
4977
- serializer: serializer$c
5155
+ serializer: serializer$d
4978
5156
  };
4979
5157
  const diagnoseVirtualNetworkOperationSpec = {
4980
5158
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/diagnoseVirtualNetwork",
@@ -5004,7 +5182,7 @@ const diagnoseVirtualNetworkOperationSpec = {
5004
5182
  subscriptionId
5005
5183
  ],
5006
5184
  headerParameters: [accept],
5007
- serializer: serializer$c
5185
+ serializer: serializer$d
5008
5186
  };
5009
5187
  const listByResourceGroupOperationSpec = {
5010
5188
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters",
@@ -5024,9 +5202,9 @@ const listByResourceGroupOperationSpec = {
5024
5202
  subscriptionId
5025
5203
  ],
5026
5204
  headerParameters: [accept],
5027
- serializer: serializer$c
5205
+ serializer: serializer$d
5028
5206
  };
5029
- const listOperationSpec$6 = {
5207
+ const listOperationSpec$7 = {
5030
5208
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/clusters",
5031
5209
  httpMethod: "GET",
5032
5210
  responses: {
@@ -5040,7 +5218,7 @@ const listOperationSpec$6 = {
5040
5218
  queryParameters: [apiVersion],
5041
5219
  urlParameters: [$host, subscriptionId],
5042
5220
  headerParameters: [accept],
5043
- serializer: serializer$c
5221
+ serializer: serializer$d
5044
5222
  };
5045
5223
  const listSkusOperationSpec = {
5046
5224
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/skus",
@@ -5056,7 +5234,7 @@ const listSkusOperationSpec = {
5056
5234
  queryParameters: [apiVersion],
5057
5235
  urlParameters: [$host, subscriptionId],
5058
5236
  headerParameters: [accept],
5059
- serializer: serializer$c
5237
+ serializer: serializer$d
5060
5238
  };
5061
5239
  const checkNameAvailabilityOperationSpec$7 = {
5062
5240
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/checkNameAvailability",
@@ -5078,7 +5256,7 @@ const checkNameAvailabilityOperationSpec$7 = {
5078
5256
  ],
5079
5257
  headerParameters: [accept, contentType],
5080
5258
  mediaType: "json",
5081
- serializer: serializer$c
5259
+ serializer: serializer$d
5082
5260
  };
5083
5261
  const listSkusByResourceOperationSpec = {
5084
5262
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/skus",
@@ -5099,7 +5277,7 @@ const listSkusByResourceOperationSpec = {
5099
5277
  subscriptionId
5100
5278
  ],
5101
5279
  headerParameters: [accept],
5102
- serializer: serializer$c
5280
+ serializer: serializer$d
5103
5281
  };
5104
5282
  const listOutboundNetworkDependenciesEndpointsOperationSpec = {
5105
5283
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/outboundNetworkDependenciesEndpoints",
@@ -5120,7 +5298,7 @@ const listOutboundNetworkDependenciesEndpointsOperationSpec = {
5120
5298
  subscriptionId
5121
5299
  ],
5122
5300
  headerParameters: [accept],
5123
- serializer: serializer$c
5301
+ serializer: serializer$d
5124
5302
  };
5125
5303
  const listLanguageExtensionsOperationSpec = {
5126
5304
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listLanguageExtensions",
@@ -5141,7 +5319,7 @@ const listLanguageExtensionsOperationSpec = {
5141
5319
  subscriptionId
5142
5320
  ],
5143
5321
  headerParameters: [accept],
5144
- serializer: serializer$c
5322
+ serializer: serializer$d
5145
5323
  };
5146
5324
  const addLanguageExtensionsOperationSpec = {
5147
5325
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/addLanguageExtensions",
@@ -5165,7 +5343,7 @@ const addLanguageExtensionsOperationSpec = {
5165
5343
  ],
5166
5344
  headerParameters: [accept, contentType],
5167
5345
  mediaType: "json",
5168
- serializer: serializer$c
5346
+ serializer: serializer$d
5169
5347
  };
5170
5348
  const removeLanguageExtensionsOperationSpec = {
5171
5349
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/removeLanguageExtensions",
@@ -5189,7 +5367,7 @@ const removeLanguageExtensionsOperationSpec = {
5189
5367
  ],
5190
5368
  headerParameters: [accept, contentType],
5191
5369
  mediaType: "json",
5192
- serializer: serializer$c
5370
+ serializer: serializer$d
5193
5371
  };
5194
5372
  const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
5195
5373
  path: "{nextLink}",
@@ -5210,7 +5388,7 @@ const listOutboundNetworkDependenciesEndpointsNextOperationSpec = {
5210
5388
  nextLink
5211
5389
  ],
5212
5390
  headerParameters: [accept],
5213
- serializer: serializer$c
5391
+ serializer: serializer$d
5214
5392
  };
5215
5393
 
5216
5394
  /*
@@ -5419,11 +5597,11 @@ class ClusterPrincipalAssignmentsImpl {
5419
5597
  * @param options The options parameters.
5420
5598
  */
5421
5599
  _list(resourceGroupName, clusterName, options) {
5422
- return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec$5);
5600
+ return this.client.sendOperationRequest({ resourceGroupName, clusterName, options }, listOperationSpec$6);
5423
5601
  }
5424
5602
  }
5425
5603
  // Operation Specifications
5426
- const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
5604
+ const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
5427
5605
  const checkNameAvailabilityOperationSpec$6 = {
5428
5606
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/checkPrincipalAssignmentNameAvailability",
5429
5607
  httpMethod: "POST",
@@ -5445,7 +5623,7 @@ const checkNameAvailabilityOperationSpec$6 = {
5445
5623
  ],
5446
5624
  headerParameters: [accept, contentType],
5447
5625
  mediaType: "json",
5448
- serializer: serializer$b
5626
+ serializer: serializer$c
5449
5627
  };
5450
5628
  const getOperationSpec$a = {
5451
5629
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}",
@@ -5467,7 +5645,7 @@ const getOperationSpec$a = {
5467
5645
  principalAssignmentName1
5468
5646
  ],
5469
5647
  headerParameters: [accept],
5470
- serializer: serializer$b
5648
+ serializer: serializer$c
5471
5649
  };
5472
5650
  const createOrUpdateOperationSpec$7 = {
5473
5651
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}",
@@ -5500,7 +5678,7 @@ const createOrUpdateOperationSpec$7 = {
5500
5678
  ],
5501
5679
  headerParameters: [accept, contentType],
5502
5680
  mediaType: "json",
5503
- serializer: serializer$b
5681
+ serializer: serializer$c
5504
5682
  };
5505
5683
  const deleteOperationSpec$7 = {
5506
5684
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments/{principalAssignmentName}",
@@ -5523,9 +5701,9 @@ const deleteOperationSpec$7 = {
5523
5701
  principalAssignmentName1
5524
5702
  ],
5525
5703
  headerParameters: [accept],
5526
- serializer: serializer$b
5704
+ serializer: serializer$c
5527
5705
  };
5528
- const listOperationSpec$5 = {
5706
+ const listOperationSpec$6 = {
5529
5707
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/principalAssignments",
5530
5708
  httpMethod: "GET",
5531
5709
  responses: {
@@ -5544,6 +5722,102 @@ const listOperationSpec$5 = {
5544
5722
  subscriptionId
5545
5723
  ],
5546
5724
  headerParameters: [accept],
5725
+ serializer: serializer$c
5726
+ };
5727
+
5728
+ /*
5729
+ * Copyright (c) Microsoft Corporation.
5730
+ * Licensed under the MIT License.
5731
+ *
5732
+ * Code generated by Microsoft (R) AutoRest Code Generator.
5733
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
5734
+ */
5735
+ /// <reference lib="esnext.asynciterable" />
5736
+ /** Class containing Skus operations. */
5737
+ class SkusImpl {
5738
+ /**
5739
+ * Initialize a new instance of the class Skus class.
5740
+ * @param client Reference to the service client
5741
+ */
5742
+ constructor(client) {
5743
+ this.client = client;
5744
+ }
5745
+ /**
5746
+ * Lists eligible region SKUs for Kusto resource provider by Azure region.
5747
+ * @param location Azure location (region) name.
5748
+ * @param options The options parameters.
5749
+ */
5750
+ list(location, options) {
5751
+ const iter = this.listPagingAll(location, options);
5752
+ return {
5753
+ next() {
5754
+ return iter.next();
5755
+ },
5756
+ [Symbol.asyncIterator]() {
5757
+ return this;
5758
+ },
5759
+ byPage: (settings) => {
5760
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
5761
+ throw new Error("maxPageSize is not supported by this operation.");
5762
+ }
5763
+ return this.listPagingPage(location, options, settings);
5764
+ }
5765
+ };
5766
+ }
5767
+ listPagingPage(location, options, _settings) {
5768
+ return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
5769
+ let result;
5770
+ result = yield tslib.__await(this._list(location, options));
5771
+ yield yield tslib.__await(result.value || []);
5772
+ });
5773
+ }
5774
+ listPagingAll(location, options) {
5775
+ return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
5776
+ var e_1, _a;
5777
+ try {
5778
+ for (var _b = tslib.__asyncValues(this.listPagingPage(location, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
5779
+ const page = _c.value;
5780
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
5781
+ }
5782
+ }
5783
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
5784
+ finally {
5785
+ try {
5786
+ if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
5787
+ }
5788
+ finally { if (e_1) throw e_1.error; }
5789
+ }
5790
+ });
5791
+ }
5792
+ /**
5793
+ * Lists eligible region SKUs for Kusto resource provider by Azure region.
5794
+ * @param location Azure location (region) name.
5795
+ * @param options The options parameters.
5796
+ */
5797
+ _list(location, options) {
5798
+ return this.client.sendOperationRequest({ location, options }, listOperationSpec$5);
5799
+ }
5800
+ }
5801
+ // Operation Specifications
5802
+ const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
5803
+ const listOperationSpec$5 = {
5804
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Kusto/locations/{location}/skus",
5805
+ httpMethod: "GET",
5806
+ responses: {
5807
+ 200: {
5808
+ bodyMapper: SkuDescriptionList
5809
+ },
5810
+ default: {
5811
+ bodyMapper: CloudError
5812
+ }
5813
+ },
5814
+ queryParameters: [apiVersion],
5815
+ urlParameters: [
5816
+ $host,
5817
+ subscriptionId,
5818
+ location
5819
+ ],
5820
+ headerParameters: [accept],
5547
5821
  serializer: serializer$b
5548
5822
  };
5549
5823
 
@@ -8954,7 +9228,7 @@ class KustoManagementClient extends coreClient__namespace.ServiceClient {
8954
9228
  requestContentType: "application/json; charset=utf-8",
8955
9229
  credential: credentials
8956
9230
  };
8957
- const packageDetails = `azsdk-js-arm-kusto/7.2.2`;
9231
+ const packageDetails = `azsdk-js-arm-kusto/7.3.0`;
8958
9232
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
8959
9233
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
8960
9234
  : `${packageDetails}`;
@@ -8987,9 +9261,10 @@ class KustoManagementClient extends coreClient__namespace.ServiceClient {
8987
9261
  this.subscriptionId = subscriptionId;
8988
9262
  // Assigning values to Constant parameters
8989
9263
  this.$host = options.$host || "https://management.azure.com";
8990
- this.apiVersion = options.apiVersion || "2022-07-07";
9264
+ this.apiVersion = options.apiVersion || "2022-12-29";
8991
9265
  this.clusters = new ClustersImpl(this);
8992
9266
  this.clusterPrincipalAssignments = new ClusterPrincipalAssignmentsImpl(this);
9267
+ this.skus = new SkusImpl(this);
8993
9268
  this.databases = new DatabasesImpl(this);
8994
9269
  this.attachedDatabaseConfigurations = new AttachedDatabaseConfigurationsImpl(this);
8995
9270
  this.managedPrivateEndpoints = new ManagedPrivateEndpointsImpl(this);