@azure/arm-synapse 8.1.0-beta.2 → 9.0.0-alpha.20230210.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.
Files changed (146) hide show
  1. package/CHANGELOG.md +45 -1
  2. package/LICENSE +1 -1
  3. package/dist/index.js +1151 -573
  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/samples-dev/bigDataPoolsCreateOrUpdateSample.js +1 -0
  8. package/dist-esm/samples-dev/bigDataPoolsCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/getIntegrationRuntimeEnableInteractivequerySample.d.ts +2 -0
  10. package/dist-esm/samples-dev/getIntegrationRuntimeEnableInteractivequerySample.d.ts.map +1 -0
  11. package/dist-esm/samples-dev/getIntegrationRuntimeEnableInteractivequerySample.js +41 -0
  12. package/dist-esm/samples-dev/getIntegrationRuntimeEnableInteractivequerySample.js.map +1 -0
  13. package/dist-esm/samples-dev/getIntegrationRuntimeStartSample.d.ts +2 -0
  14. package/dist-esm/samples-dev/getIntegrationRuntimeStartSample.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/getIntegrationRuntimeStartSample.js +41 -0
  16. package/dist-esm/samples-dev/getIntegrationRuntimeStartSample.js.map +1 -0
  17. package/dist-esm/samples-dev/getIntegrationRuntimeStopSample.d.ts +2 -0
  18. package/dist-esm/samples-dev/getIntegrationRuntimeStopSample.d.ts.map +1 -0
  19. package/dist-esm/samples-dev/getIntegrationRuntimeStopSample.js +41 -0
  20. package/dist-esm/samples-dev/getIntegrationRuntimeStopSample.js.map +1 -0
  21. package/dist-esm/samples-dev/integrationRuntimesCreateSample.js +2 -4
  22. package/dist-esm/samples-dev/integrationRuntimesCreateSample.js.map +1 -1
  23. package/dist-esm/samples-dev/ipFirewallRulesGetSample.js +2 -2
  24. package/dist-esm/samples-dev/ipFirewallRulesGetSample.js.map +1 -1
  25. package/dist-esm/samples-dev/kustoPoolPrivateLinkResourcesListSample.d.ts +2 -0
  26. package/dist-esm/samples-dev/kustoPoolPrivateLinkResourcesListSample.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/kustoPoolPrivateLinkResourcesListSample.js +54 -0
  28. package/dist-esm/samples-dev/kustoPoolPrivateLinkResourcesListSample.js.map +1 -0
  29. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  30. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -1
  31. package/dist-esm/samples-dev/privateLinkResourcesListSample.js +1 -1
  32. package/dist-esm/samples-dev/privateLinkResourcesListSample.js.map +1 -1
  33. package/dist-esm/samples-dev/sqlPoolOperationResultsGetLocationHeaderResultSample.js +1 -1
  34. package/dist-esm/samples-dev/sqlPoolOperationResultsGetLocationHeaderResultSample.js.map +1 -1
  35. package/dist-esm/samples-dev/sqlPoolsUpdateSample.js +1 -1
  36. package/dist-esm/samples-dev/sqlPoolsUpdateSample.js.map +1 -1
  37. package/dist-esm/src/models/index.d.ts +186 -54
  38. package/dist-esm/src/models/index.d.ts.map +1 -1
  39. package/dist-esm/src/models/index.js +10 -22
  40. package/dist-esm/src/models/index.js.map +1 -1
  41. package/dist-esm/src/models/mappers.d.ts +6 -0
  42. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  43. package/dist-esm/src/models/mappers.js +281 -10
  44. package/dist-esm/src/models/mappers.js.map +1 -1
  45. package/dist-esm/src/models/parameters.d.ts +1 -0
  46. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  47. package/dist-esm/src/models/parameters.js +10 -0
  48. package/dist-esm/src/models/parameters.js.map +1 -1
  49. package/dist-esm/src/operations/bigDataPools.js +4 -12
  50. package/dist-esm/src/operations/bigDataPools.js.map +1 -1
  51. package/dist-esm/src/operations/get.d.ts +40 -0
  52. package/dist-esm/src/operations/get.d.ts.map +1 -0
  53. package/dist-esm/src/operations/get.js +143 -0
  54. package/dist-esm/src/operations/get.js.map +1 -0
  55. package/dist-esm/src/operations/index.d.ts +3 -1
  56. package/dist-esm/src/operations/index.d.ts.map +1 -1
  57. package/dist-esm/src/operations/index.js +3 -1
  58. package/dist-esm/src/operations/index.js.map +1 -1
  59. package/dist-esm/src/operations/integrationRuntimeConnectionInfos.js +1 -1
  60. package/dist-esm/src/operations/integrationRuntimeConnectionInfos.js.map +1 -1
  61. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.d.ts.map +1 -1
  62. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js +2 -1
  63. package/dist-esm/src/operations/integrationRuntimeObjectMetadata.js.map +1 -1
  64. package/dist-esm/src/operations/integrationRuntimes.d.ts.map +1 -1
  65. package/dist-esm/src/operations/integrationRuntimes.js +4 -3
  66. package/dist-esm/src/operations/integrationRuntimes.js.map +1 -1
  67. package/dist-esm/src/operations/ipFirewallRules.js +4 -12
  68. package/dist-esm/src/operations/ipFirewallRules.js.map +1 -1
  69. package/dist-esm/src/operations/kustoPoolPrivateLinkResourcesOperations.d.ts +32 -0
  70. package/dist-esm/src/operations/kustoPoolPrivateLinkResourcesOperations.d.ts.map +1 -0
  71. package/dist-esm/src/operations/kustoPoolPrivateLinkResourcesOperations.js +106 -0
  72. package/dist-esm/src/operations/kustoPoolPrivateLinkResourcesOperations.js.map +1 -0
  73. package/dist-esm/src/operations/{privateLinkResources.d.ts → privateLinkResourcesOperations.d.ts} +5 -5
  74. package/dist-esm/src/operations/privateLinkResourcesOperations.d.ts.map +1 -0
  75. package/dist-esm/src/operations/{privateLinkResources.js → privateLinkResourcesOperations.js} +4 -4
  76. package/dist-esm/src/operations/privateLinkResourcesOperations.js.map +1 -0
  77. package/dist-esm/src/operations/sqlPoolMetadataSyncConfigs.js +6 -2
  78. package/dist-esm/src/operations/sqlPoolMetadataSyncConfigs.js.map +1 -1
  79. package/dist-esm/src/operations/sqlPoolOperationResults.d.ts +11 -1
  80. package/dist-esm/src/operations/sqlPoolOperationResults.d.ts.map +1 -1
  81. package/dist-esm/src/operations/sqlPoolOperationResults.js +57 -8
  82. package/dist-esm/src/operations/sqlPoolOperationResults.js.map +1 -1
  83. package/dist-esm/src/operations/sqlPoolTransparentDataEncryptions.js +1 -1
  84. package/dist-esm/src/operations/sqlPoolTransparentDataEncryptions.js.map +1 -1
  85. package/dist-esm/src/operations/sqlPools.d.ts +10 -1
  86. package/dist-esm/src/operations/sqlPools.d.ts.map +1 -1
  87. package/dist-esm/src/operations/sqlPools.js +70 -39
  88. package/dist-esm/src/operations/sqlPools.js.map +1 -1
  89. package/dist-esm/src/operations/workspaces.js +4 -12
  90. package/dist-esm/src/operations/workspaces.js.map +1 -1
  91. package/dist-esm/src/operationsInterfaces/get.d.ts +32 -0
  92. package/dist-esm/src/operationsInterfaces/get.d.ts.map +1 -0
  93. package/dist-esm/src/operationsInterfaces/{privateLinkResources.js → get.js} +1 -1
  94. package/dist-esm/src/operationsInterfaces/get.js.map +1 -0
  95. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -1
  96. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  97. package/dist-esm/src/operationsInterfaces/index.js +3 -1
  98. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  99. package/dist-esm/src/operationsInterfaces/kustoPoolPrivateLinkResourcesOperations.d.ts +14 -0
  100. package/dist-esm/src/operationsInterfaces/kustoPoolPrivateLinkResourcesOperations.d.ts.map +1 -0
  101. package/dist-esm/src/operationsInterfaces/kustoPoolPrivateLinkResourcesOperations.js +9 -0
  102. package/dist-esm/src/operationsInterfaces/kustoPoolPrivateLinkResourcesOperations.js.map +1 -0
  103. package/dist-esm/src/operationsInterfaces/{privateLinkResources.d.ts → privateLinkResourcesOperations.d.ts} +3 -3
  104. package/dist-esm/src/operationsInterfaces/privateLinkResourcesOperations.d.ts.map +1 -0
  105. package/dist-esm/src/operationsInterfaces/privateLinkResourcesOperations.js +9 -0
  106. package/dist-esm/src/operationsInterfaces/privateLinkResourcesOperations.js.map +1 -0
  107. package/dist-esm/src/operationsInterfaces/sqlPoolOperationResults.d.ts +11 -1
  108. package/dist-esm/src/operationsInterfaces/sqlPoolOperationResults.d.ts.map +1 -1
  109. package/dist-esm/src/operationsInterfaces/sqlPools.d.ts +10 -1
  110. package/dist-esm/src/operationsInterfaces/sqlPools.d.ts.map +1 -1
  111. package/dist-esm/src/synapseManagementClient.d.ts +4 -2
  112. package/dist-esm/src/synapseManagementClient.d.ts.map +1 -1
  113. package/dist-esm/src/synapseManagementClient.js +5 -3
  114. package/dist-esm/src/synapseManagementClient.js.map +1 -1
  115. package/package.json +2 -2
  116. package/review/arm-synapse.api.md +138 -37
  117. package/src/models/index.ts +209 -63
  118. package/src/models/mappers.ts +299 -10
  119. package/src/models/parameters.ts +11 -0
  120. package/src/operations/bigDataPools.ts +4 -12
  121. package/src/operations/get.ts +190 -0
  122. package/src/operations/index.ts +3 -1
  123. package/src/operations/integrationRuntimeConnectionInfos.ts +1 -1
  124. package/src/operations/integrationRuntimeObjectMetadata.ts +2 -1
  125. package/src/operations/integrationRuntimes.ts +4 -3
  126. package/src/operations/ipFirewallRules.ts +4 -12
  127. package/src/operations/kustoPoolPrivateLinkResourcesOperations.ts +153 -0
  128. package/src/operations/{privateLinkResources.ts → privateLinkResourcesOperations.ts} +5 -4
  129. package/src/operations/sqlPoolMetadataSyncConfigs.ts +6 -2
  130. package/src/operations/sqlPoolOperationResults.ts +91 -9
  131. package/src/operations/sqlPoolTransparentDataEncryptions.ts +1 -1
  132. package/src/operations/sqlPools.ts +103 -40
  133. package/src/operations/workspaces.ts +4 -12
  134. package/src/operationsInterfaces/get.ts +65 -0
  135. package/src/operationsInterfaces/index.ts +3 -1
  136. package/src/operationsInterfaces/kustoPoolPrivateLinkResourcesOperations.ts +31 -0
  137. package/src/operationsInterfaces/{privateLinkResources.ts → privateLinkResourcesOperations.ts} +2 -2
  138. package/src/operationsInterfaces/sqlPoolOperationResults.ts +24 -1
  139. package/src/operationsInterfaces/sqlPools.ts +21 -1
  140. package/src/synapseManagementClient.ts +19 -7
  141. package/types/arm-synapse.d.ts +286 -77
  142. package/types/tsdoc-metadata.json +1 -1
  143. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  144. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  145. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  146. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
@@ -1225,6 +1225,62 @@ export const MaintenanceWindowTimeRange: coreClient.CompositeMapper = {
1225
1225
  }
1226
1226
  };
1227
1227
 
1228
+ export const ErrorResponseAutoGenerated: coreClient.CompositeMapper = {
1229
+ type: {
1230
+ name: "Composite",
1231
+ className: "ErrorResponseAutoGenerated",
1232
+ modelProperties: {
1233
+ code: {
1234
+ serializedName: "code",
1235
+ readOnly: true,
1236
+ type: {
1237
+ name: "String"
1238
+ }
1239
+ },
1240
+ message: {
1241
+ serializedName: "message",
1242
+ readOnly: true,
1243
+ type: {
1244
+ name: "String"
1245
+ }
1246
+ },
1247
+ target: {
1248
+ serializedName: "target",
1249
+ readOnly: true,
1250
+ type: {
1251
+ name: "String"
1252
+ }
1253
+ },
1254
+ details: {
1255
+ serializedName: "details",
1256
+ readOnly: true,
1257
+ type: {
1258
+ name: "Sequence",
1259
+ element: {
1260
+ type: {
1261
+ name: "Composite",
1262
+ className: "ErrorResponseAutoGenerated"
1263
+ }
1264
+ }
1265
+ }
1266
+ },
1267
+ additionalInfo: {
1268
+ serializedName: "additionalInfo",
1269
+ readOnly: true,
1270
+ type: {
1271
+ name: "Sequence",
1272
+ element: {
1273
+ type: {
1274
+ name: "Composite",
1275
+ className: "ErrorAdditionalInfo"
1276
+ }
1277
+ }
1278
+ }
1279
+ }
1280
+ }
1281
+ }
1282
+ };
1283
+
1228
1284
  export const TransparentDataEncryptionListResult: coreClient.CompositeMapper = {
1229
1285
  type: {
1230
1286
  name: "Composite",
@@ -2564,14 +2620,22 @@ export const ManagedIdentitySqlControlSettingsModelPropertiesGrantSqlControlToMa
2564
2620
  desiredState: {
2565
2621
  serializedName: "desiredState",
2566
2622
  type: {
2567
- name: "String"
2623
+ name: "Enum",
2624
+ allowedValues: ["Enabled", "Disabled"]
2568
2625
  }
2569
2626
  },
2570
2627
  actualState: {
2571
2628
  serializedName: "actualState",
2572
2629
  readOnly: true,
2573
2630
  type: {
2574
- name: "String"
2631
+ name: "Enum",
2632
+ allowedValues: [
2633
+ "Enabling",
2634
+ "Enabled",
2635
+ "Disabling",
2636
+ "Disabled",
2637
+ "Unknown"
2638
+ ]
2575
2639
  }
2576
2640
  }
2577
2641
  }
@@ -3255,11 +3319,25 @@ export const IntegrationRuntimeStatusResponse: coreClient.CompositeMapper = {
3255
3319
  name: "String"
3256
3320
  }
3257
3321
  },
3258
- properties: {
3259
- serializedName: "properties",
3322
+ type: {
3323
+ serializedName: "properties.type",
3324
+ required: true,
3260
3325
  type: {
3261
- name: "Composite",
3262
- className: "IntegrationRuntimeStatus"
3326
+ name: "String"
3327
+ }
3328
+ },
3329
+ dataFactoryName: {
3330
+ serializedName: "properties.dataFactoryName",
3331
+ readOnly: true,
3332
+ type: {
3333
+ name: "String"
3334
+ }
3335
+ },
3336
+ state: {
3337
+ serializedName: "properties.state",
3338
+ readOnly: true,
3339
+ type: {
3340
+ name: "String"
3263
3341
  }
3264
3342
  }
3265
3343
  }
@@ -3557,6 +3635,108 @@ export const IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails: coreC
3557
3635
  }
3558
3636
  };
3559
3637
 
3638
+ export const IntegrationRuntimeOperationStatus: coreClient.CompositeMapper = {
3639
+ type: {
3640
+ name: "Composite",
3641
+ className: "IntegrationRuntimeOperationStatus",
3642
+ modelProperties: {
3643
+ status: {
3644
+ serializedName: "status",
3645
+ type: {
3646
+ name: "String"
3647
+ }
3648
+ },
3649
+ name: {
3650
+ serializedName: "name",
3651
+ type: {
3652
+ name: "String"
3653
+ }
3654
+ },
3655
+ properties: {
3656
+ serializedName: "properties",
3657
+ type: {
3658
+ name: "Dictionary",
3659
+ value: { type: { name: "any" } }
3660
+ }
3661
+ },
3662
+ error: {
3663
+ serializedName: "error",
3664
+ type: {
3665
+ name: "String"
3666
+ }
3667
+ }
3668
+ }
3669
+ }
3670
+ };
3671
+
3672
+ export const IntegrationRuntimeStopOperationStatus: coreClient.CompositeMapper = {
3673
+ type: {
3674
+ name: "Composite",
3675
+ className: "IntegrationRuntimeStopOperationStatus",
3676
+ modelProperties: {
3677
+ status: {
3678
+ serializedName: "status",
3679
+ type: {
3680
+ name: "String"
3681
+ }
3682
+ },
3683
+ name: {
3684
+ serializedName: "name",
3685
+ type: {
3686
+ name: "String"
3687
+ }
3688
+ },
3689
+ properties: {
3690
+ serializedName: "properties",
3691
+ type: {
3692
+ name: "Dictionary",
3693
+ value: { type: { name: "any" } }
3694
+ }
3695
+ },
3696
+ error: {
3697
+ serializedName: "error",
3698
+ type: {
3699
+ name: "String"
3700
+ }
3701
+ }
3702
+ }
3703
+ }
3704
+ };
3705
+
3706
+ export const IntegrationRuntimeEnableinteractivequery: coreClient.CompositeMapper = {
3707
+ type: {
3708
+ name: "Composite",
3709
+ className: "IntegrationRuntimeEnableinteractivequery",
3710
+ modelProperties: {
3711
+ status: {
3712
+ serializedName: "status",
3713
+ type: {
3714
+ name: "String"
3715
+ }
3716
+ },
3717
+ name: {
3718
+ serializedName: "name",
3719
+ type: {
3720
+ name: "String"
3721
+ }
3722
+ },
3723
+ properties: {
3724
+ serializedName: "properties",
3725
+ type: {
3726
+ name: "Dictionary",
3727
+ value: { type: { name: "any" } }
3728
+ }
3729
+ },
3730
+ error: {
3731
+ serializedName: "error",
3732
+ type: {
3733
+ name: "String"
3734
+ }
3735
+ }
3736
+ }
3737
+ }
3738
+ };
3739
+
3560
3740
  export const SparkConfigurationListResponse: coreClient.CompositeMapper = {
3561
3741
  type: {
3562
3742
  name: "Composite",
@@ -4501,6 +4681,27 @@ export const DatabasePrincipalAssignmentListResult: coreClient.CompositeMapper =
4501
4681
  }
4502
4682
  };
4503
4683
 
4684
+ export const PrivateLinkResources: coreClient.CompositeMapper = {
4685
+ type: {
4686
+ name: "Composite",
4687
+ className: "PrivateLinkResources",
4688
+ modelProperties: {
4689
+ value: {
4690
+ serializedName: "value",
4691
+ type: {
4692
+ name: "Sequence",
4693
+ element: {
4694
+ type: {
4695
+ name: "Composite",
4696
+ className: "KustoPoolPrivateLinkResources"
4697
+ }
4698
+ }
4699
+ }
4700
+ }
4701
+ }
4702
+ }
4703
+ };
4704
+
4504
4705
  export const TopQueries: coreClient.CompositeMapper = {
4505
4706
  type: {
4506
4707
  name: "Composite",
@@ -8328,6 +8529,13 @@ export const ClusterPrincipalAssignment: coreClient.CompositeMapper = {
8328
8529
  type: {
8329
8530
  name: "String"
8330
8531
  }
8532
+ },
8533
+ aadObjectId: {
8534
+ serializedName: "properties.aadObjectId",
8535
+ readOnly: true,
8536
+ type: {
8537
+ name: "String"
8538
+ }
8331
8539
  }
8332
8540
  }
8333
8541
  }
@@ -8384,6 +8592,68 @@ export const DatabasePrincipalAssignment: coreClient.CompositeMapper = {
8384
8592
  name: "String"
8385
8593
  }
8386
8594
  },
8595
+ provisioningState: {
8596
+ serializedName: "properties.provisioningState",
8597
+ readOnly: true,
8598
+ type: {
8599
+ name: "String"
8600
+ }
8601
+ },
8602
+ aadObjectId: {
8603
+ serializedName: "properties.aadObjectId",
8604
+ readOnly: true,
8605
+ type: {
8606
+ name: "String"
8607
+ }
8608
+ }
8609
+ }
8610
+ }
8611
+ };
8612
+
8613
+ export const KustoPoolPrivateLinkResources: coreClient.CompositeMapper = {
8614
+ type: {
8615
+ name: "Composite",
8616
+ className: "KustoPoolPrivateLinkResources",
8617
+ modelProperties: {
8618
+ ...ProxyResource.type.modelProperties,
8619
+ systemData: {
8620
+ serializedName: "systemData",
8621
+ type: {
8622
+ name: "Composite",
8623
+ className: "SystemData"
8624
+ }
8625
+ },
8626
+ groupId: {
8627
+ serializedName: "properties.groupId",
8628
+ readOnly: true,
8629
+ type: {
8630
+ name: "String"
8631
+ }
8632
+ },
8633
+ requiredMembers: {
8634
+ serializedName: "properties.requiredMembers",
8635
+ readOnly: true,
8636
+ type: {
8637
+ name: "Sequence",
8638
+ element: {
8639
+ type: {
8640
+ name: "String"
8641
+ }
8642
+ }
8643
+ }
8644
+ },
8645
+ requiredZoneNames: {
8646
+ serializedName: "properties.requiredZoneNames",
8647
+ readOnly: true,
8648
+ type: {
8649
+ name: "Sequence",
8650
+ element: {
8651
+ type: {
8652
+ name: "String"
8653
+ }
8654
+ }
8655
+ }
8656
+ },
8387
8657
  provisioningState: {
8388
8658
  serializedName: "properties.provisioningState",
8389
8659
  readOnly: true,
@@ -8719,6 +8989,12 @@ export const BigDataPoolResourceInfo: coreClient.CompositeMapper = {
8719
8989
  name: "Boolean"
8720
8990
  }
8721
8991
  },
8992
+ isAutotuneEnabled: {
8993
+ serializedName: "properties.isAutotuneEnabled",
8994
+ type: {
8995
+ name: "Boolean"
8996
+ }
8997
+ },
8722
8998
  sessionLevelPackagesEnabled: {
8723
8999
  serializedName: "properties.sessionLevelPackagesEnabled",
8724
9000
  type: {
@@ -9296,11 +9572,17 @@ export const IntegrationRuntimeResource: coreClient.CompositeMapper = {
9296
9572
  className: "IntegrationRuntimeResource",
9297
9573
  modelProperties: {
9298
9574
  ...SubResource.type.modelProperties,
9299
- properties: {
9300
- serializedName: "properties",
9575
+ typePropertiesType: {
9576
+ serializedName: "properties.type",
9577
+ required: true,
9301
9578
  type: {
9302
- name: "Composite",
9303
- className: "IntegrationRuntime"
9579
+ name: "String"
9580
+ }
9581
+ },
9582
+ description: {
9583
+ serializedName: "properties.description",
9584
+ type: {
9585
+ name: "String"
9304
9586
  }
9305
9587
  }
9306
9588
  }
@@ -9355,6 +9637,13 @@ export const SparkConfigurationResource: coreClient.CompositeMapper = {
9355
9637
  type: {
9356
9638
  name: "DateTime"
9357
9639
  }
9640
+ },
9641
+ configMergeRule: {
9642
+ serializedName: "properties.configMergeRule",
9643
+ type: {
9644
+ name: "Dictionary",
9645
+ value: { type: { name: "String" } }
9646
+ }
9358
9647
  }
9359
9648
  }
9360
9649
  }
@@ -940,6 +940,17 @@ export const regenerateKeyParameters: OperationParameter = {
940
940
  mapper: IntegrationRuntimeRegenerateKeyParametersMapper
941
941
  };
942
942
 
943
+ export const integrationRuntimeOperationId: OperationURLParameter = {
944
+ parameterPath: "integrationRuntimeOperationId",
945
+ mapper: {
946
+ serializedName: "integrationRuntimeOperationId",
947
+ required: true,
948
+ type: {
949
+ name: "String"
950
+ }
951
+ }
952
+ };
953
+
943
954
  export const sparkConfigurationName: OperationURLParameter = {
944
955
  parameterPath: "sparkConfigurationName",
945
956
  mapper: {
@@ -499,24 +499,16 @@ const deleteOperationSpec: coreClient.OperationSpec = {
499
499
  httpMethod: "DELETE",
500
500
  responses: {
501
501
  200: {
502
- bodyMapper: {
503
- type: { name: "Dictionary", value: { type: { name: "any" } } }
504
- }
502
+ bodyMapper: Mappers.BigDataPoolResourceInfo
505
503
  },
506
504
  201: {
507
- bodyMapper: {
508
- type: { name: "Dictionary", value: { type: { name: "any" } } }
509
- }
505
+ bodyMapper: Mappers.BigDataPoolResourceInfo
510
506
  },
511
507
  202: {
512
- bodyMapper: {
513
- type: { name: "Dictionary", value: { type: { name: "any" } } }
514
- }
508
+ bodyMapper: Mappers.BigDataPoolResourceInfo
515
509
  },
516
510
  204: {
517
- bodyMapper: {
518
- type: { name: "Dictionary", value: { type: { name: "any" } } }
519
- }
511
+ bodyMapper: Mappers.BigDataPoolResourceInfo
520
512
  },
521
513
  default: {
522
514
  bodyMapper: Mappers.ErrorResponse
@@ -0,0 +1,190 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { Get } from "../operationsInterfaces";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ import { SynapseManagementClient } from "../synapseManagementClient";
14
+ import {
15
+ GetIntegrationRuntimeStartOptionalParams,
16
+ GetIntegrationRuntimeStartResponse,
17
+ GetIntegrationRuntimeStopOptionalParams,
18
+ GetIntegrationRuntimeStopResponse,
19
+ GetIntegrationRuntimeEnableInteractivequeryOptionalParams,
20
+ GetIntegrationRuntimeEnableInteractivequeryResponse
21
+ } from "../models";
22
+
23
+ /** Class containing Get operations. */
24
+ export class GetImpl implements Get {
25
+ private readonly client: SynapseManagementClient;
26
+
27
+ /**
28
+ * Initialize a new instance of the class Get class.
29
+ * @param client Reference to the service client
30
+ */
31
+ constructor(client: SynapseManagementClient) {
32
+ this.client = client;
33
+ }
34
+
35
+ /**
36
+ * Get an integration runtime start operation status
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param workspaceName The name of the workspace.
39
+ * @param integrationRuntimeName Integration runtime name
40
+ * @param integrationRuntimeOperationId Integration runtime Operation Id
41
+ * @param options The options parameters.
42
+ */
43
+ integrationRuntimeStart(
44
+ resourceGroupName: string,
45
+ workspaceName: string,
46
+ integrationRuntimeName: string,
47
+ integrationRuntimeOperationId: string,
48
+ options?: GetIntegrationRuntimeStartOptionalParams
49
+ ): Promise<GetIntegrationRuntimeStartResponse> {
50
+ return this.client.sendOperationRequest(
51
+ {
52
+ resourceGroupName,
53
+ workspaceName,
54
+ integrationRuntimeName,
55
+ integrationRuntimeOperationId,
56
+ options
57
+ },
58
+ integrationRuntimeStartOperationSpec
59
+ );
60
+ }
61
+
62
+ /**
63
+ * Get an integration runtime stop operation status
64
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
65
+ * @param workspaceName The name of the workspace.
66
+ * @param integrationRuntimeName Integration runtime name
67
+ * @param integrationRuntimeOperationId Integration runtime Operation Id
68
+ * @param options The options parameters.
69
+ */
70
+ integrationRuntimeStop(
71
+ resourceGroupName: string,
72
+ workspaceName: string,
73
+ integrationRuntimeName: string,
74
+ integrationRuntimeOperationId: string,
75
+ options?: GetIntegrationRuntimeStopOptionalParams
76
+ ): Promise<GetIntegrationRuntimeStopResponse> {
77
+ return this.client.sendOperationRequest(
78
+ {
79
+ resourceGroupName,
80
+ workspaceName,
81
+ integrationRuntimeName,
82
+ integrationRuntimeOperationId,
83
+ options
84
+ },
85
+ integrationRuntimeStopOperationSpec
86
+ );
87
+ }
88
+
89
+ /**
90
+ * Get an integration runtime enable interactivequery operation status
91
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
92
+ * @param workspaceName The name of the workspace.
93
+ * @param integrationRuntimeName Integration runtime name
94
+ * @param integrationRuntimeOperationId Integration runtime Operation Id
95
+ * @param options The options parameters.
96
+ */
97
+ integrationRuntimeEnableInteractivequery(
98
+ resourceGroupName: string,
99
+ workspaceName: string,
100
+ integrationRuntimeName: string,
101
+ integrationRuntimeOperationId: string,
102
+ options?: GetIntegrationRuntimeEnableInteractivequeryOptionalParams
103
+ ): Promise<GetIntegrationRuntimeEnableInteractivequeryResponse> {
104
+ return this.client.sendOperationRequest(
105
+ {
106
+ resourceGroupName,
107
+ workspaceName,
108
+ integrationRuntimeName,
109
+ integrationRuntimeOperationId,
110
+ options
111
+ },
112
+ integrationRuntimeEnableInteractivequeryOperationSpec
113
+ );
114
+ }
115
+ }
116
+ // Operation Specifications
117
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
118
+
119
+ const integrationRuntimeStartOperationSpec: coreClient.OperationSpec = {
120
+ path:
121
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/start/operationstatuses/{integrationRuntimeOperationId}",
122
+ httpMethod: "GET",
123
+ responses: {
124
+ 200: {
125
+ bodyMapper: Mappers.IntegrationRuntimeOperationStatus
126
+ },
127
+ default: {
128
+ bodyMapper: Mappers.ErrorResponse
129
+ }
130
+ },
131
+ queryParameters: [Parameters.apiVersion1],
132
+ urlParameters: [
133
+ Parameters.$host,
134
+ Parameters.subscriptionId,
135
+ Parameters.resourceGroupName,
136
+ Parameters.workspaceName,
137
+ Parameters.integrationRuntimeName,
138
+ Parameters.integrationRuntimeOperationId
139
+ ],
140
+ headerParameters: [Parameters.accept],
141
+ serializer
142
+ };
143
+ const integrationRuntimeStopOperationSpec: coreClient.OperationSpec = {
144
+ path:
145
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/stop/operationstatuses/{integrationRuntimeOperationId}",
146
+ httpMethod: "GET",
147
+ responses: {
148
+ 200: {
149
+ bodyMapper: Mappers.IntegrationRuntimeStopOperationStatus
150
+ },
151
+ default: {
152
+ bodyMapper: Mappers.ErrorResponse
153
+ }
154
+ },
155
+ queryParameters: [Parameters.apiVersion1],
156
+ urlParameters: [
157
+ Parameters.$host,
158
+ Parameters.subscriptionId,
159
+ Parameters.resourceGroupName,
160
+ Parameters.workspaceName,
161
+ Parameters.integrationRuntimeName,
162
+ Parameters.integrationRuntimeOperationId
163
+ ],
164
+ headerParameters: [Parameters.accept],
165
+ serializer
166
+ };
167
+ const integrationRuntimeEnableInteractivequeryOperationSpec: coreClient.OperationSpec = {
168
+ path:
169
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/enableinteractivequery/operationstatuses/{integrationRuntimeOperationId}",
170
+ httpMethod: "GET",
171
+ responses: {
172
+ 200: {
173
+ bodyMapper: Mappers.IntegrationRuntimeEnableinteractivequery
174
+ },
175
+ default: {
176
+ bodyMapper: Mappers.ErrorResponse
177
+ }
178
+ },
179
+ queryParameters: [Parameters.apiVersion1],
180
+ urlParameters: [
181
+ Parameters.$host,
182
+ Parameters.subscriptionId,
183
+ Parameters.resourceGroupName,
184
+ Parameters.workspaceName,
185
+ Parameters.integrationRuntimeName,
186
+ Parameters.integrationRuntimeOperationId
187
+ ],
188
+ headerParameters: [Parameters.accept],
189
+ serializer
190
+ };
@@ -11,7 +11,7 @@ export * from "./operations";
11
11
  export * from "./ipFirewallRules";
12
12
  export * from "./keys";
13
13
  export * from "./privateEndpointConnections";
14
- export * from "./privateLinkResources";
14
+ export * from "./privateLinkResourcesOperations";
15
15
  export * from "./privateLinkHubPrivateLinkResources";
16
16
  export * from "./privateLinkHubs";
17
17
  export * from "./privateEndpointConnectionsPrivateLinkHub";
@@ -69,6 +69,7 @@ export * from "./integrationRuntimeConnectionInfos";
69
69
  export * from "./integrationRuntimeAuthKeysOperations";
70
70
  export * from "./integrationRuntimeMonitoringDataOperations";
71
71
  export * from "./integrationRuntimeStatusOperations";
72
+ export * from "./get";
72
73
  export * from "./sparkConfiguration";
73
74
  export * from "./sparkConfigurations";
74
75
  export * from "./kustoOperations";
@@ -79,3 +80,4 @@ export * from "./kustoPoolDatabases";
79
80
  export * from "./kustoPoolDataConnections";
80
81
  export * from "./kustoPoolPrincipalAssignments";
81
82
  export * from "./kustoPoolDatabasePrincipalAssignments";
83
+ export * from "./kustoPoolPrivateLinkResourcesOperations";
@@ -60,7 +60,7 @@ const getOperationSpec: coreClient.OperationSpec = {
60
60
  bodyMapper: Mappers.IntegrationRuntimeConnectionInfo
61
61
  },
62
62
  default: {
63
- bodyMapper: Mappers.ErrorResponse
63
+ bodyMapper: Mappers.ErrorResponseAutoGenerated
64
64
  }
65
65
  },
66
66
  queryParameters: [Parameters.apiVersion1],
@@ -116,7 +116,8 @@ export class IntegrationRuntimeObjectMetadataImpl
116
116
  );
117
117
  const poller = new LroEngine(lro, {
118
118
  resumeFrom: options?.resumeFrom,
119
- intervalInMs: options?.updateIntervalInMs
119
+ intervalInMs: options?.updateIntervalInMs,
120
+ lroResourceLocationConfig: "azure-async-operation"
120
121
  });
121
122
  await poller.poll();
122
123
  return poller;
@@ -472,7 +472,8 @@ export class IntegrationRuntimesImpl implements IntegrationRuntimes {
472
472
  );
473
473
  const poller = new LroEngine(lro, {
474
474
  resumeFrom: options?.resumeFrom,
475
- intervalInMs: options?.updateIntervalInMs
475
+ intervalInMs: options?.updateIntervalInMs,
476
+ lroResourceLocationConfig: "azure-async-operation"
476
477
  });
477
478
  await poller.poll();
478
479
  return poller;
@@ -945,7 +946,7 @@ const listByWorkspaceOperationSpec: coreClient.OperationSpec = {
945
946
  bodyMapper: Mappers.IntegrationRuntimeListResponse
946
947
  },
947
948
  default: {
948
- bodyMapper: Mappers.ErrorResponse
949
+ bodyMapper: Mappers.ErrorResponseAutoGenerated
949
950
  }
950
951
  },
951
952
  queryParameters: [Parameters.apiVersion1],
@@ -1094,7 +1095,7 @@ const listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {
1094
1095
  bodyMapper: Mappers.IntegrationRuntimeListResponse
1095
1096
  },
1096
1097
  default: {
1097
- bodyMapper: Mappers.ErrorResponse
1098
+ bodyMapper: Mappers.ErrorResponseAutoGenerated
1098
1099
  }
1099
1100
  },
1100
1101
  urlParameters: [