public interface KustoPoolDatabasePrincipalAssignments
Modifier and Type | Method and Description |
---|---|
CheckNameResult |
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<CheckNameResult> |
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.
|
DatabasePrincipalAssignment.DefinitionStages.Blank |
define(String name)
Begins definition for a new DatabasePrincipalAssignment resource.
|
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.
|
void |
deleteById(String id)
Deletes a Kusto pool principalAssignment.
|
void |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes a Kusto pool principalAssignment.
|
DatabasePrincipalAssignment |
get(String workspaceName,
String kustoPoolName,
String databaseName,
String principalAssignmentName,
String resourceGroupName)
Gets a Kusto pool database principalAssignment.
|
DatabasePrincipalAssignment |
getById(String id)
Gets a Kusto pool database principalAssignment.
|
com.azure.core.http.rest.Response<DatabasePrincipalAssignment> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Gets a Kusto pool database principalAssignment.
|
com.azure.core.http.rest.Response<DatabasePrincipalAssignment> |
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<DatabasePrincipalAssignment> |
list(String workspaceName,
String kustoPoolName,
String databaseName,
String resourceGroupName)
Lists all Kusto pool database principalAssignments.
|
com.azure.core.http.rest.PagedIterable<DatabasePrincipalAssignment> |
list(String workspaceName,
String kustoPoolName,
String databaseName,
String resourceGroupName,
com.azure.core.util.Context context)
Lists all Kusto pool database principalAssignments.
|
CheckNameResult checkNameAvailability(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName, DatabasePrincipalAssignmentCheckNameRequest principalAssignmentName)
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.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.com.azure.core.http.rest.Response<CheckNameResult> checkNameAvailabilityWithResponse(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName, DatabasePrincipalAssignmentCheckNameRequest principalAssignmentName, com.azure.core.util.Context context)
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.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.com.azure.core.http.rest.PagedIterable<DatabasePrincipalAssignment> list(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName)
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.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.com.azure.core.http.rest.PagedIterable<DatabasePrincipalAssignment> list(String workspaceName, String kustoPoolName, String databaseName, String resourceGroupName, com.azure.core.util.Context context)
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.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.DatabasePrincipalAssignment get(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName)
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.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.com.azure.core.http.rest.Response<DatabasePrincipalAssignment> getWithResponse(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, com.azure.core.util.Context context)
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.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.void delete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName)
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.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.void delete(String workspaceName, String kustoPoolName, String databaseName, String principalAssignmentName, String resourceGroupName, com.azure.core.util.Context context)
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.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.DatabasePrincipalAssignment getById(String id)
id
- the resource ID.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.com.azure.core.http.rest.Response<DatabasePrincipalAssignment> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.void deleteById(String id)
id
- the resource ID.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.void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.context
- The context to associate with this operation.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.DatabasePrincipalAssignment.DefinitionStages.Blank define(String name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.