Skip to content

Commit 6decb63

Browse files
author
SDKAuto
committed
CodeGen from PR 16213 in Azure/azure-rest-api-specs
Merge f5ad2a9a69854b5a0abeecb1b9fb19a2216d6caa into 2ce915398bfadd5333820487595a9623187dcb59
1 parent 462e0f9 commit 6decb63

File tree

432 files changed

+31607
-16947
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

432 files changed

+31607
-16947
lines changed

sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.1 (2021-09-30)
4+
5+
- Azure Resource Manager Synapse client library for Java. This package contains Microsoft Azure SDK for Synapse Management SDK. Azure Synapse Analytics Management Client. Package tag package-composite-v2. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

sdk/synapse/azure-resourcemanager-synapse/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager Synapse client library for Java.
44

5-
This package contains Microsoft Azure SDK for Synapse Management SDK. Azure Synapse Analytics Management Client. Package tag package-composite-v1. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
5+
This package contains Microsoft Azure SDK for Synapse Management SDK. Azure Synapse Analytics Management Client. Package tag package-composite-v2. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-synapse</artifactId>
35-
<version>1.0.0-beta.2</version>
35+
<version>1.0.0-beta.3</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -74,7 +74,6 @@ See [API design][design] for general introduction on design and key concepts on
7474

7575
## Examples
7676

77-
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/synapse/azure-resourcemanager-synapse/SAMPLE.md)
7877

7978

8079
## Troubleshooting

sdk/synapse/azure-resourcemanager-synapse/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<packaging>jar</packaging>
1414

1515
<name>Microsoft Azure SDK for Synapse Management</name>
16-
<description>This package contains Microsoft Azure SDK for Synapse Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Synapse Analytics Management Client. Package tag package-composite-v1.</description>
16+
<description>This package contains Microsoft Azure SDK for Synapse Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Synapse Analytics Management Client. Package tag package-composite-v2.</description>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

sdk/synapse/azure-resourcemanager-synapse/src/main/java/com/azure/resourcemanager/synapse/SynapseManager.java

Lines changed: 116 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@
3737
import com.azure.resourcemanager.synapse.implementation.IntegrationRuntimesImpl;
3838
import com.azure.resourcemanager.synapse.implementation.IpFirewallRulesImpl;
3939
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;
4049
import com.azure.resourcemanager.synapse.implementation.LibrariesImpl;
4150
import com.azure.resourcemanager.synapse.implementation.LibrariesOperationsImpl;
4251
import com.azure.resourcemanager.synapse.implementation.OperationsImpl;
@@ -102,6 +111,15 @@
102111
import com.azure.resourcemanager.synapse.models.IntegrationRuntimes;
103112
import com.azure.resourcemanager.synapse.models.IpFirewallRules;
104113
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;
105123
import com.azure.resourcemanager.synapse.models.Libraries;
106124
import com.azure.resourcemanager.synapse.models.LibrariesOperations;
107125
import com.azure.resourcemanager.synapse.models.Operations;
@@ -286,6 +304,24 @@ public final class SynapseManager {
286304

287305
private SparkConfigurationsOperations sparkConfigurationsOperations;
288306

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+
289325
private final SynapseManagementClient clientObject;
290326

291327
private SynapseManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -422,7 +458,7 @@ public SynapseManager authenticate(TokenCredential credential, AzureProfile prof
422458
.append("-")
423459
.append("com.azure.resourcemanager.synapse")
424460
.append("/")
425-
.append("1.0.0-beta.2");
461+
.append("1.0.0-beta.1");
426462
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
427463
userAgentBuilder
428464
.append(" (")
@@ -1028,6 +1064,85 @@ public SparkConfigurationsOperations sparkConfigurationsOperations() {
10281064
return sparkConfigurationsOperations;
10291065
}
10301066

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+
10311146
/**
10321147
* @return Wrapped service client SynapseManagementClient providing direct access to the underlying auto-generated
10331148
* API implementation, based on Azure REST API.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
5+
package com.azure.resourcemanager.synapse.fluent;
6+
7+
import com.azure.core.annotation.ReturnType;
8+
import com.azure.core.annotation.ServiceMethod;
9+
import com.azure.core.http.rest.PagedIterable;
10+
import com.azure.core.util.Context;
11+
import com.azure.resourcemanager.synapse.fluent.models.OperationInner;
12+
13+
/** An instance of this class provides access to all the operations defined in KustoOperationsClient. */
14+
public interface KustoOperationsClient {
15+
/**
16+
* Lists available operations for the Kusto sub-resources inside Microsoft.Synapse provider.
17+
*
18+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
19+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
20+
* @return result of the request to list REST API operations.
21+
*/
22+
@ServiceMethod(returns = ReturnType.COLLECTION)
23+
PagedIterable<OperationInner> list();
24+
25+
/**
26+
* Lists available operations for the Kusto sub-resources inside Microsoft.Synapse provider.
27+
*
28+
* @param context The context to associate with this operation.
29+
* @throws IllegalArgumentException thrown if parameters fail the validation.
30+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
31+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
32+
* @return result of the request to list REST API operations.
33+
*/
34+
@ServiceMethod(returns = ReturnType.COLLECTION)
35+
PagedIterable<OperationInner> list(Context context);
36+
}

0 commit comments

Comments
 (0)