Interface KustoPoolDatabasePrincipalAssignmentsClient
-
public interface KustoPoolDatabasePrincipalAssignmentsClient
An instance of this class provides access to all the operations defined in KustoPoolDatabasePrincipalAssignmentsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabasePrincipalAssignmentInner>,DatabasePrincipalAssignmentInner>
beginCreateOrUpdate(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, DatabasePrincipalAssignmentInner parameters)
Creates a Kusto pool database principalAssignment.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabasePrincipalAssignmentInner>,DatabasePrincipalAssignmentInner>
beginCreateOrUpdate(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, DatabasePrincipalAssignmentInner parameters, com.azure.core.util.Context context)
Creates a Kusto pool database principalAssignment.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName)
Deletes a Kusto pool principalAssignment.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, com.azure.core.util.Context context)
Deletes a Kusto pool principalAssignment.CheckNameResultInner
checkNameAvailability(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName, DatabasePrincipalAssignmentCheckNameRequest principalAssignmentName)
Checks that the database principal assignment is valid and is not already in use.com.azure.core.http.rest.Response<CheckNameResultInner>
checkNameAvailabilityWithResponse(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName, DatabasePrincipalAssignmentCheckNameRequest principalAssignmentName, com.azure.core.util.Context context)
Checks that the database principal assignment is valid and is not already in use.DatabasePrincipalAssignmentInner
createOrUpdate(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, DatabasePrincipalAssignmentInner parameters)
Creates a Kusto pool database principalAssignment.DatabasePrincipalAssignmentInner
createOrUpdate(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, DatabasePrincipalAssignmentInner parameters, com.azure.core.util.Context context)
Creates a Kusto pool database principalAssignment.void
delete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName)
Deletes a Kusto pool principalAssignment.void
delete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, com.azure.core.util.Context context)
Deletes a Kusto pool principalAssignment.DatabasePrincipalAssignmentInner
get(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName)
Gets a Kusto pool database principalAssignment.com.azure.core.http.rest.Response<DatabasePrincipalAssignmentInner>
getWithResponse(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, com.azure.core.util.Context context)
Gets a Kusto pool database principalAssignment.com.azure.core.http.rest.PagedIterable<DatabasePrincipalAssignmentInner>
list(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName)
Lists all Kusto pool database principalAssignments.com.azure.core.http.rest.PagedIterable<DatabasePrincipalAssignmentInner>
list(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName, com.azure.core.util.Context context)
Lists all Kusto pool database principalAssignments.
-
-
-
Method Detail
-
checkNameAvailability
CheckNameResultInner checkNameAvailability(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName, DatabasePrincipalAssignmentCheckNameRequest principalAssignmentName)
Checks that the database principal assignment is valid and is not already in use.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.resourceGroupName
- The name of the resource group. The name is case insensitive.principalAssignmentName
- The name of the resource.- Returns:
- the result returned from a check name availability request.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckNameResultInner> checkNameAvailabilityWithResponse(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName, DatabasePrincipalAssignmentCheckNameRequest principalAssignmentName, com.azure.core.util.Context context)
Checks that the database principal assignment is valid and is not already in use.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.resourceGroupName
- The name of the resource group. The name is case insensitive.principalAssignmentName
- The name of the resource.context
- The context to associate with this operation.- Returns:
- the result returned from a check name availability request along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DatabasePrincipalAssignmentInner> list(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName)
Lists all Kusto pool database principalAssignments.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the list Kusto database principal assignments operation response as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DatabasePrincipalAssignmentInner> list(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName, com.azure.core.util.Context context)
Lists all Kusto pool database principalAssignments.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the list Kusto database principal assignments operation response as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
DatabasePrincipalAssignmentInner get(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName)
Gets a Kusto pool database principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a Kusto pool database principalAssignment.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<DatabasePrincipalAssignmentInner> getWithResponse(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, com.azure.core.util.Context context)
Gets a Kusto pool database principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- a Kusto pool database principalAssignment along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabasePrincipalAssignmentInner>,DatabasePrincipalAssignmentInner> beginCreateOrUpdate(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, DatabasePrincipalAssignmentInner parameters)
Creates a Kusto pool database principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- The Kusto principalAssignments parameters supplied for the operation.- Returns:
- the
SyncPoller
for polling of class representing a database principal assignment. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabasePrincipalAssignmentInner>,DatabasePrincipalAssignmentInner> beginCreateOrUpdate(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, DatabasePrincipalAssignmentInner parameters, com.azure.core.util.Context context)
Creates a Kusto pool database principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- The Kusto principalAssignments parameters supplied for the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of class representing a database principal assignment. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
DatabasePrincipalAssignmentInner createOrUpdate(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, DatabasePrincipalAssignmentInner parameters)
Creates a Kusto pool database principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- The Kusto principalAssignments parameters supplied for the operation.- Returns:
- class representing a database principal assignment.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
DatabasePrincipalAssignmentInner createOrUpdate(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, DatabasePrincipalAssignmentInner parameters, com.azure.core.util.Context context)
Creates a Kusto pool database principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.parameters
- The Kusto principalAssignments parameters supplied for the operation.context
- The context to associate with this operation.- Returns:
- class representing a database principal assignment.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName)
Deletes a Kusto pool principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, com.azure.core.util.Context context)
Deletes a Kusto pool principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName)
Deletes a Kusto pool principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, com.azure.core.util.Context context)
Deletes a Kusto pool principalAssignment.- Parameters:
workspaceName
- The name of the workspace.kustoPoolName
- The name of the Kusto pool.databaseName
- The name of the database in the Kusto pool.principalAssignmentName
- The name of the Kusto principalAssignment.resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-