Skip to content

Commit

Permalink
CodeGen from PR 16199 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 2f338561be19487dcfae71c4f2b664748ee31f31 into 2ebe584103a362fa87f2f60c9bab89ab410c7571
  • Loading branch information
SDKAuto committed Oct 7, 2021
1 parent ab7b5d8 commit 0a847e4
Show file tree
Hide file tree
Showing 435 changed files with 31,799 additions and 16,965 deletions.
4 changes: 3 additions & 1 deletion sdk/synapse/azure-resourcemanager-synapse/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2021-10-07)

- 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).

### Features Added

Expand Down
5 changes: 2 additions & 3 deletions sdk/synapse/azure-resourcemanager-synapse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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-v1. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
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).

## We'd love to hear your feedback

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

## Examples

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


## Troubleshooting
Expand Down
2 changes: 1 addition & 1 deletion sdk/synapse/azure-resourcemanager-synapse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Synapse Management</name>
<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>
<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>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@
import com.azure.resourcemanager.synapse.implementation.IntegrationRuntimesImpl;
import com.azure.resourcemanager.synapse.implementation.IpFirewallRulesImpl;
import com.azure.resourcemanager.synapse.implementation.KeysImpl;
import com.azure.resourcemanager.synapse.implementation.KustoOperationsImpl;
import com.azure.resourcemanager.synapse.implementation.KustoPoolAttachedDatabaseConfigurationsImpl;
import com.azure.resourcemanager.synapse.implementation.KustoPoolChildResourcesImpl;
import com.azure.resourcemanager.synapse.implementation.KustoPoolDataConnectionsImpl;
import com.azure.resourcemanager.synapse.implementation.KustoPoolDatabasePrincipalAssignmentsImpl;
import com.azure.resourcemanager.synapse.implementation.KustoPoolDatabasesImpl;
import com.azure.resourcemanager.synapse.implementation.KustoPoolPrincipalAssignmentsImpl;
import com.azure.resourcemanager.synapse.implementation.KustoPoolsImpl;
import com.azure.resourcemanager.synapse.implementation.KustoPoolsOperationsImpl;
import com.azure.resourcemanager.synapse.implementation.LibrariesImpl;
import com.azure.resourcemanager.synapse.implementation.LibrariesOperationsImpl;
import com.azure.resourcemanager.synapse.implementation.OperationsImpl;
Expand Down Expand Up @@ -102,6 +111,15 @@
import com.azure.resourcemanager.synapse.models.IntegrationRuntimes;
import com.azure.resourcemanager.synapse.models.IpFirewallRules;
import com.azure.resourcemanager.synapse.models.Keys;
import com.azure.resourcemanager.synapse.models.KustoOperations;
import com.azure.resourcemanager.synapse.models.KustoPoolAttachedDatabaseConfigurations;
import com.azure.resourcemanager.synapse.models.KustoPoolChildResources;
import com.azure.resourcemanager.synapse.models.KustoPoolDataConnections;
import com.azure.resourcemanager.synapse.models.KustoPoolDatabasePrincipalAssignments;
import com.azure.resourcemanager.synapse.models.KustoPoolDatabases;
import com.azure.resourcemanager.synapse.models.KustoPoolPrincipalAssignments;
import com.azure.resourcemanager.synapse.models.KustoPools;
import com.azure.resourcemanager.synapse.models.KustoPoolsOperations;
import com.azure.resourcemanager.synapse.models.Libraries;
import com.azure.resourcemanager.synapse.models.LibrariesOperations;
import com.azure.resourcemanager.synapse.models.Operations;
Expand Down Expand Up @@ -286,6 +304,24 @@ public final class SynapseManager {

private SparkConfigurationsOperations sparkConfigurationsOperations;

private KustoOperations kustoOperations;

private KustoPools kustoPools;

private KustoPoolsOperations kustoPoolsOperations;

private KustoPoolChildResources kustoPoolChildResources;

private KustoPoolAttachedDatabaseConfigurations kustoPoolAttachedDatabaseConfigurations;

private KustoPoolDatabases kustoPoolDatabases;

private KustoPoolDataConnections kustoPoolDataConnections;

private KustoPoolPrincipalAssignments kustoPoolPrincipalAssignments;

private KustoPoolDatabasePrincipalAssignments kustoPoolDatabasePrincipalAssignments;

private final SynapseManagementClient clientObject;

private SynapseManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Expand Down Expand Up @@ -422,7 +458,7 @@ public SynapseManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.synapse")
.append("/")
.append("1.0.0-beta.2");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -1028,6 +1064,85 @@ public SparkConfigurationsOperations sparkConfigurationsOperations() {
return sparkConfigurationsOperations;
}

/** @return Resource collection API of KustoOperations. */
public KustoOperations kustoOperations() {
if (this.kustoOperations == null) {
this.kustoOperations = new KustoOperationsImpl(clientObject.getKustoOperations(), this);
}
return kustoOperations;
}

/** @return Resource collection API of KustoPools. */
public KustoPools kustoPools() {
if (this.kustoPools == null) {
this.kustoPools = new KustoPoolsImpl(clientObject.getKustoPools(), this);
}
return kustoPools;
}

/** @return Resource collection API of KustoPoolsOperations. */
public KustoPoolsOperations kustoPoolsOperations() {
if (this.kustoPoolsOperations == null) {
this.kustoPoolsOperations = new KustoPoolsOperationsImpl(clientObject.getKustoPoolsOperations(), this);
}
return kustoPoolsOperations;
}

/** @return Resource collection API of KustoPoolChildResources. */
public KustoPoolChildResources kustoPoolChildResources() {
if (this.kustoPoolChildResources == null) {
this.kustoPoolChildResources =
new KustoPoolChildResourcesImpl(clientObject.getKustoPoolChildResources(), this);
}
return kustoPoolChildResources;
}

/** @return Resource collection API of KustoPoolAttachedDatabaseConfigurations. */
public KustoPoolAttachedDatabaseConfigurations kustoPoolAttachedDatabaseConfigurations() {
if (this.kustoPoolAttachedDatabaseConfigurations == null) {
this.kustoPoolAttachedDatabaseConfigurations =
new KustoPoolAttachedDatabaseConfigurationsImpl(
clientObject.getKustoPoolAttachedDatabaseConfigurations(), this);
}
return kustoPoolAttachedDatabaseConfigurations;
}

/** @return Resource collection API of KustoPoolDatabases. */
public KustoPoolDatabases kustoPoolDatabases() {
if (this.kustoPoolDatabases == null) {
this.kustoPoolDatabases = new KustoPoolDatabasesImpl(clientObject.getKustoPoolDatabases(), this);
}
return kustoPoolDatabases;
}

/** @return Resource collection API of KustoPoolDataConnections. */
public KustoPoolDataConnections kustoPoolDataConnections() {
if (this.kustoPoolDataConnections == null) {
this.kustoPoolDataConnections =
new KustoPoolDataConnectionsImpl(clientObject.getKustoPoolDataConnections(), this);
}
return kustoPoolDataConnections;
}

/** @return Resource collection API of KustoPoolPrincipalAssignments. */
public KustoPoolPrincipalAssignments kustoPoolPrincipalAssignments() {
if (this.kustoPoolPrincipalAssignments == null) {
this.kustoPoolPrincipalAssignments =
new KustoPoolPrincipalAssignmentsImpl(clientObject.getKustoPoolPrincipalAssignments(), this);
}
return kustoPoolPrincipalAssignments;
}

/** @return Resource collection API of KustoPoolDatabasePrincipalAssignments. */
public KustoPoolDatabasePrincipalAssignments kustoPoolDatabasePrincipalAssignments() {
if (this.kustoPoolDatabasePrincipalAssignments == null) {
this.kustoPoolDatabasePrincipalAssignments =
new KustoPoolDatabasePrincipalAssignmentsImpl(
clientObject.getKustoPoolDatabasePrincipalAssignments(), this);
}
return kustoPoolDatabasePrincipalAssignments;
}

/**
* @return Wrapped service client SynapseManagementClient providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.synapse.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.util.Context;
import com.azure.resourcemanager.synapse.fluent.models.OperationInner;

/** An instance of this class provides access to all the operations defined in KustoOperationsClient. */
public interface KustoOperationsClient {
/**
* Lists available operations for the Kusto sub-resources inside Microsoft.Synapse provider.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return result of the request to list REST API operations.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<OperationInner> list();

/**
* Lists available operations for the Kusto sub-resources inside Microsoft.Synapse provider.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return result of the request to list REST API operations.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<OperationInner> list(Context context);
}
Loading

0 comments on commit 0a847e4

Please sign in to comment.