Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-kusto] [Hub Generated] Publish private branch 'azure-kusto/devCM' #5597

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sdk/kusto/azure-resourcemanager-kusto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.7 (Unreleased)
## 1.0.0-beta.1 (2023-05-25)

- Azure Resource Manager Kusto client library for Java. This package contains Microsoft Azure SDK for Kusto Management SDK. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2023-05. 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
4 changes: 2 additions & 2 deletions sdk/kusto/azure-resourcemanager-kusto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Kusto client library for Java.

This package contains Microsoft Azure SDK for Kusto Management SDK. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2022-12. 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 Kusto Management SDK. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2023-05. 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-kusto</artifactId>
<version>1.0.0-beta.6</version>
<version>1.0.0-beta.7</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
264 changes: 184 additions & 80 deletions sdk/kusto/azure-resourcemanager-kusto/SAMPLE.md

Large diffs are not rendered by default.

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

<name>Microsoft Azure SDK for Kusto Management</name>
<description>This package contains Microsoft Azure SDK for Kusto Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2022-12.</description>
<description>This package contains Microsoft Azure SDK for Kusto Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Azure Kusto management API provides a RESTful set of web services that interact with Azure Kusto services to manage your clusters and databases. The API enables you to create, update, and delete clusters and databases. Package tag package-2023-05.</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 @@ -28,6 +28,7 @@
import com.azure.resourcemanager.kusto.implementation.ClusterPrincipalAssignmentsImpl;
import com.azure.resourcemanager.kusto.implementation.ClustersImpl;
import com.azure.resourcemanager.kusto.implementation.DataConnectionsImpl;
import com.azure.resourcemanager.kusto.implementation.DatabaseOperationsImpl;
import com.azure.resourcemanager.kusto.implementation.DatabasePrincipalAssignmentsImpl;
import com.azure.resourcemanager.kusto.implementation.DatabasesImpl;
import com.azure.resourcemanager.kusto.implementation.KustoManagementClientBuilder;
Expand All @@ -43,6 +44,7 @@
import com.azure.resourcemanager.kusto.models.ClusterPrincipalAssignments;
import com.azure.resourcemanager.kusto.models.Clusters;
import com.azure.resourcemanager.kusto.models.DataConnections;
import com.azure.resourcemanager.kusto.models.DatabaseOperations;
import com.azure.resourcemanager.kusto.models.DatabasePrincipalAssignments;
import com.azure.resourcemanager.kusto.models.Databases;
import com.azure.resourcemanager.kusto.models.ManagedPrivateEndpoints;
Expand Down Expand Up @@ -78,6 +80,8 @@ public final class KustoManager {

private ManagedPrivateEndpoints managedPrivateEndpoints;

private DatabaseOperations databaseOperations;

private DatabasePrincipalAssignments databasePrincipalAssignments;

private Scripts scripts;
Expand Down Expand Up @@ -259,7 +263,7 @@ public KustoManager authenticate(TokenCredential credential, AzureProfile profil
.append("-")
.append("com.azure.resourcemanager.kusto")
.append("/")
.append("1.0.0-beta.6");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -391,6 +395,18 @@ public ManagedPrivateEndpoints managedPrivateEndpoints() {
return managedPrivateEndpoints;
}

/**
* Gets the resource collection API of DatabaseOperations.
*
* @return Resource collection API of DatabaseOperations.
*/
public DatabaseOperations databaseOperations() {
if (this.databaseOperations == null) {
this.databaseOperations = new DatabaseOperationsImpl(clientObject.getDatabaseOperations(), this);
}
return databaseOperations;
}

/**
* Gets the resource collection API of DatabasePrincipalAssignments. It manages DatabasePrincipalAssignment.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public interface AttachedDatabaseConfigurationsClient {
/**
* Checks that the attached database configuration resource name is valid and is not already in use.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param resourceName The name of the resource.
* @param context The context to associate with this operation.
Expand All @@ -39,7 +39,7 @@ Response<CheckNameResultInner> checkNameAvailabilityWithResponse(
/**
* Checks that the attached database configuration resource name is valid and is not already in use.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param resourceName The name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -54,7 +54,7 @@ CheckNameResultInner checkNameAvailability(
/**
* Returns the list of attached database configurations of the given Kusto cluster.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
Expand All @@ -68,7 +68,7 @@ CheckNameResultInner checkNameAvailability(
/**
* Returns the list of attached database configurations of the given Kusto cluster.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -84,7 +84,7 @@ PagedIterable<AttachedDatabaseConfigurationInner> listByCluster(
/**
* Returns an attached database configuration.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @param context The context to associate with this operation.
Expand All @@ -100,7 +100,7 @@ Response<AttachedDatabaseConfigurationInner> getWithResponse(
/**
* Returns an attached database configuration.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -115,7 +115,7 @@ AttachedDatabaseConfigurationInner get(
/**
* Creates or updates an attached database configuration.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
Expand All @@ -134,7 +134,7 @@ SyncPoller<PollResult<AttachedDatabaseConfigurationInner>, AttachedDatabaseConfi
/**
* Creates or updates an attached database configuration.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
Expand All @@ -155,7 +155,7 @@ SyncPoller<PollResult<AttachedDatabaseConfigurationInner>, AttachedDatabaseConfi
/**
* Creates or updates an attached database configuration.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
Expand All @@ -174,7 +174,7 @@ AttachedDatabaseConfigurationInner createOrUpdate(
/**
* Creates or updates an attached database configuration.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @param parameters The database parameters supplied to the CreateOrUpdate operation.
Expand All @@ -195,7 +195,7 @@ AttachedDatabaseConfigurationInner createOrUpdate(
/**
* Deletes the attached database configuration with the given name.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -210,7 +210,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
/**
* Deletes the attached database configuration with the given name.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @param context The context to associate with this operation.
Expand All @@ -226,7 +226,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
/**
* Deletes the attached database configuration with the given name.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -239,7 +239,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
/**
* Deletes the attached database configuration with the given name.
*
* @param resourceGroupName The name of the resource group containing the Kusto cluster.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param clusterName The name of the Kusto cluster.
* @param attachedDatabaseConfigurationName The name of the attached database configuration.
* @param context The context to associate with this operation.
Expand Down
Loading