|
37 | 37 | import com.azure.resourcemanager.synapse.implementation.IntegrationRuntimesImpl; |
38 | 38 | import com.azure.resourcemanager.synapse.implementation.IpFirewallRulesImpl; |
39 | 39 | import com.azure.resourcemanager.synapse.implementation.KeysImpl; |
| 40 | +import com.azure.resourcemanager.synapse.implementation.KustoOperationsImpl; |
| 41 | +import com.azure.resourcemanager.synapse.implementation.KustoPoolAttachedDatabaseConfigurationsImpl; |
| 42 | +import com.azure.resourcemanager.synapse.implementation.KustoPoolChildResourcesImpl; |
| 43 | +import com.azure.resourcemanager.synapse.implementation.KustoPoolDataConnectionsImpl; |
| 44 | +import com.azure.resourcemanager.synapse.implementation.KustoPoolDatabasePrincipalAssignmentsImpl; |
| 45 | +import com.azure.resourcemanager.synapse.implementation.KustoPoolDatabasesImpl; |
| 46 | +import com.azure.resourcemanager.synapse.implementation.KustoPoolPrincipalAssignmentsImpl; |
| 47 | +import com.azure.resourcemanager.synapse.implementation.KustoPoolsImpl; |
| 48 | +import com.azure.resourcemanager.synapse.implementation.KustoPoolsOperationsImpl; |
40 | 49 | import com.azure.resourcemanager.synapse.implementation.LibrariesImpl; |
41 | 50 | import com.azure.resourcemanager.synapse.implementation.LibrariesOperationsImpl; |
42 | 51 | import com.azure.resourcemanager.synapse.implementation.OperationsImpl; |
|
102 | 111 | import com.azure.resourcemanager.synapse.models.IntegrationRuntimes; |
103 | 112 | import com.azure.resourcemanager.synapse.models.IpFirewallRules; |
104 | 113 | import com.azure.resourcemanager.synapse.models.Keys; |
| 114 | +import com.azure.resourcemanager.synapse.models.KustoOperations; |
| 115 | +import com.azure.resourcemanager.synapse.models.KustoPoolAttachedDatabaseConfigurations; |
| 116 | +import com.azure.resourcemanager.synapse.models.KustoPoolChildResources; |
| 117 | +import com.azure.resourcemanager.synapse.models.KustoPoolDataConnections; |
| 118 | +import com.azure.resourcemanager.synapse.models.KustoPoolDatabasePrincipalAssignments; |
| 119 | +import com.azure.resourcemanager.synapse.models.KustoPoolDatabases; |
| 120 | +import com.azure.resourcemanager.synapse.models.KustoPoolPrincipalAssignments; |
| 121 | +import com.azure.resourcemanager.synapse.models.KustoPools; |
| 122 | +import com.azure.resourcemanager.synapse.models.KustoPoolsOperations; |
105 | 123 | import com.azure.resourcemanager.synapse.models.Libraries; |
106 | 124 | import com.azure.resourcemanager.synapse.models.LibrariesOperations; |
107 | 125 | import com.azure.resourcemanager.synapse.models.Operations; |
@@ -286,6 +304,24 @@ public final class SynapseManager { |
286 | 304 |
|
287 | 305 | private SparkConfigurationsOperations sparkConfigurationsOperations; |
288 | 306 |
|
| 307 | + private KustoOperations kustoOperations; |
| 308 | + |
| 309 | + private KustoPools kustoPools; |
| 310 | + |
| 311 | + private KustoPoolsOperations kustoPoolsOperations; |
| 312 | + |
| 313 | + private KustoPoolChildResources kustoPoolChildResources; |
| 314 | + |
| 315 | + private KustoPoolAttachedDatabaseConfigurations kustoPoolAttachedDatabaseConfigurations; |
| 316 | + |
| 317 | + private KustoPoolDatabases kustoPoolDatabases; |
| 318 | + |
| 319 | + private KustoPoolDataConnections kustoPoolDataConnections; |
| 320 | + |
| 321 | + private KustoPoolPrincipalAssignments kustoPoolPrincipalAssignments; |
| 322 | + |
| 323 | + private KustoPoolDatabasePrincipalAssignments kustoPoolDatabasePrincipalAssignments; |
| 324 | + |
289 | 325 | private final SynapseManagementClient clientObject; |
290 | 326 |
|
291 | 327 | private SynapseManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) { |
@@ -422,7 +458,7 @@ public SynapseManager authenticate(TokenCredential credential, AzureProfile prof |
422 | 458 | .append("-") |
423 | 459 | .append("com.azure.resourcemanager.synapse") |
424 | 460 | .append("/") |
425 | | - .append("1.0.0-beta.2"); |
| 461 | + .append("1.0.0-beta.1"); |
426 | 462 | if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { |
427 | 463 | userAgentBuilder |
428 | 464 | .append(" (") |
@@ -1028,6 +1064,85 @@ public SparkConfigurationsOperations sparkConfigurationsOperations() { |
1028 | 1064 | return sparkConfigurationsOperations; |
1029 | 1065 | } |
1030 | 1066 |
|
| 1067 | + /** @return Resource collection API of KustoOperations. */ |
| 1068 | + public KustoOperations kustoOperations() { |
| 1069 | + if (this.kustoOperations == null) { |
| 1070 | + this.kustoOperations = new KustoOperationsImpl(clientObject.getKustoOperations(), this); |
| 1071 | + } |
| 1072 | + return kustoOperations; |
| 1073 | + } |
| 1074 | + |
| 1075 | + /** @return Resource collection API of KustoPools. */ |
| 1076 | + public KustoPools kustoPools() { |
| 1077 | + if (this.kustoPools == null) { |
| 1078 | + this.kustoPools = new KustoPoolsImpl(clientObject.getKustoPools(), this); |
| 1079 | + } |
| 1080 | + return kustoPools; |
| 1081 | + } |
| 1082 | + |
| 1083 | + /** @return Resource collection API of KustoPoolsOperations. */ |
| 1084 | + public KustoPoolsOperations kustoPoolsOperations() { |
| 1085 | + if (this.kustoPoolsOperations == null) { |
| 1086 | + this.kustoPoolsOperations = new KustoPoolsOperationsImpl(clientObject.getKustoPoolsOperations(), this); |
| 1087 | + } |
| 1088 | + return kustoPoolsOperations; |
| 1089 | + } |
| 1090 | + |
| 1091 | + /** @return Resource collection API of KustoPoolChildResources. */ |
| 1092 | + public KustoPoolChildResources kustoPoolChildResources() { |
| 1093 | + if (this.kustoPoolChildResources == null) { |
| 1094 | + this.kustoPoolChildResources = |
| 1095 | + new KustoPoolChildResourcesImpl(clientObject.getKustoPoolChildResources(), this); |
| 1096 | + } |
| 1097 | + return kustoPoolChildResources; |
| 1098 | + } |
| 1099 | + |
| 1100 | + /** @return Resource collection API of KustoPoolAttachedDatabaseConfigurations. */ |
| 1101 | + public KustoPoolAttachedDatabaseConfigurations kustoPoolAttachedDatabaseConfigurations() { |
| 1102 | + if (this.kustoPoolAttachedDatabaseConfigurations == null) { |
| 1103 | + this.kustoPoolAttachedDatabaseConfigurations = |
| 1104 | + new KustoPoolAttachedDatabaseConfigurationsImpl( |
| 1105 | + clientObject.getKustoPoolAttachedDatabaseConfigurations(), this); |
| 1106 | + } |
| 1107 | + return kustoPoolAttachedDatabaseConfigurations; |
| 1108 | + } |
| 1109 | + |
| 1110 | + /** @return Resource collection API of KustoPoolDatabases. */ |
| 1111 | + public KustoPoolDatabases kustoPoolDatabases() { |
| 1112 | + if (this.kustoPoolDatabases == null) { |
| 1113 | + this.kustoPoolDatabases = new KustoPoolDatabasesImpl(clientObject.getKustoPoolDatabases(), this); |
| 1114 | + } |
| 1115 | + return kustoPoolDatabases; |
| 1116 | + } |
| 1117 | + |
| 1118 | + /** @return Resource collection API of KustoPoolDataConnections. */ |
| 1119 | + public KustoPoolDataConnections kustoPoolDataConnections() { |
| 1120 | + if (this.kustoPoolDataConnections == null) { |
| 1121 | + this.kustoPoolDataConnections = |
| 1122 | + new KustoPoolDataConnectionsImpl(clientObject.getKustoPoolDataConnections(), this); |
| 1123 | + } |
| 1124 | + return kustoPoolDataConnections; |
| 1125 | + } |
| 1126 | + |
| 1127 | + /** @return Resource collection API of KustoPoolPrincipalAssignments. */ |
| 1128 | + public KustoPoolPrincipalAssignments kustoPoolPrincipalAssignments() { |
| 1129 | + if (this.kustoPoolPrincipalAssignments == null) { |
| 1130 | + this.kustoPoolPrincipalAssignments = |
| 1131 | + new KustoPoolPrincipalAssignmentsImpl(clientObject.getKustoPoolPrincipalAssignments(), this); |
| 1132 | + } |
| 1133 | + return kustoPoolPrincipalAssignments; |
| 1134 | + } |
| 1135 | + |
| 1136 | + /** @return Resource collection API of KustoPoolDatabasePrincipalAssignments. */ |
| 1137 | + public KustoPoolDatabasePrincipalAssignments kustoPoolDatabasePrincipalAssignments() { |
| 1138 | + if (this.kustoPoolDatabasePrincipalAssignments == null) { |
| 1139 | + this.kustoPoolDatabasePrincipalAssignments = |
| 1140 | + new KustoPoolDatabasePrincipalAssignmentsImpl( |
| 1141 | + clientObject.getKustoPoolDatabasePrincipalAssignments(), this); |
| 1142 | + } |
| 1143 | + return kustoPoolDatabasePrincipalAssignments; |
| 1144 | + } |
| 1145 | + |
1031 | 1146 | /** |
1032 | 1147 | * @return Wrapped service client SynapseManagementClient providing direct access to the underlying auto-generated |
1033 | 1148 | * API implementation, based on Azure REST API. |
|
0 commit comments