Interface ClusterPrincipalAssignmentsClient
public interface ClusterPrincipalAssignmentsClient
An instance of this class provides access to all the operations defined in ClusterPrincipalAssignmentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterPrincipalAssignmentInner>,
ClusterPrincipalAssignmentInner> beginCreateOrUpdate
(String resourceGroupName, String clusterName, String principalAssignmentName, ClusterPrincipalAssignmentInner parameters) Create a Kusto cluster principalAssignment.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ClusterPrincipalAssignmentInner>,
ClusterPrincipalAssignmentInner> beginCreateOrUpdate
(String resourceGroupName, String clusterName, String principalAssignmentName, ClusterPrincipalAssignmentInner parameters, com.azure.core.util.Context context) Create a Kusto cluster principalAssignment.beginDelete
(String resourceGroupName, String clusterName, String principalAssignmentName) Deletes a Kusto cluster principalAssignment.beginDelete
(String resourceGroupName, String clusterName, String principalAssignmentName, com.azure.core.util.Context context) Deletes a Kusto cluster principalAssignment.checkNameAvailability
(String resourceGroupName, String clusterName, ClusterPrincipalAssignmentCheckNameRequest principalAssignmentName) Checks that the principal assignment name is valid and is not already in use.com.azure.core.http.rest.Response<CheckNameResultInner>
checkNameAvailabilityWithResponse
(String resourceGroupName, String clusterName, ClusterPrincipalAssignmentCheckNameRequest principalAssignmentName, com.azure.core.util.Context context) Checks that the principal assignment name is valid and is not already in use.createOrUpdate
(String resourceGroupName, String clusterName, String principalAssignmentName, ClusterPrincipalAssignmentInner parameters) Create a Kusto cluster principalAssignment.createOrUpdate
(String resourceGroupName, String clusterName, String principalAssignmentName, ClusterPrincipalAssignmentInner parameters, com.azure.core.util.Context context) Create a Kusto cluster principalAssignment.void
Deletes a Kusto cluster principalAssignment.void
delete
(String resourceGroupName, String clusterName, String principalAssignmentName, com.azure.core.util.Context context) Deletes a Kusto cluster principalAssignment.Gets a Kusto cluster principalAssignment.com.azure.core.http.rest.Response<ClusterPrincipalAssignmentInner>
getWithResponse
(String resourceGroupName, String clusterName, String principalAssignmentName, com.azure.core.util.Context context) Gets a Kusto cluster principalAssignment.com.azure.core.http.rest.PagedIterable<ClusterPrincipalAssignmentInner>
Lists all Kusto cluster principalAssignments.com.azure.core.http.rest.PagedIterable<ClusterPrincipalAssignmentInner>
Lists all Kusto cluster principalAssignments.
-
Method Details
-
checkNameAvailability
CheckNameResultInner checkNameAvailability(String resourceGroupName, String clusterName, ClusterPrincipalAssignmentCheckNameRequest principalAssignmentName) Checks that the principal assignment name is valid and is not already in use.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the principal assignment.- 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 resourceGroupName, String clusterName, ClusterPrincipalAssignmentCheckNameRequest principalAssignmentName, com.azure.core.util.Context context) Checks that the principal assignment name is valid and is not already in use.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the principal assignment.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.
-
get
ClusterPrincipalAssignmentInner get(String resourceGroupName, String clusterName, String principalAssignmentName) Gets a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto principalAssignment.- Returns:
- a Kusto cluster 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<ClusterPrincipalAssignmentInner> getWithResponse(String resourceGroupName, String clusterName, String principalAssignmentName, com.azure.core.util.Context context) Gets a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto principalAssignment.context
- The context to associate with this operation.- Returns:
- a Kusto cluster 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<ClusterPrincipalAssignmentInner>,ClusterPrincipalAssignmentInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String principalAssignmentName, ClusterPrincipalAssignmentInner parameters) Create a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto principalAssignment.parameters
- The Kusto cluster principalAssignment's parameters supplied for the operation.- Returns:
- the
SyncPoller
for polling of class representing a cluster 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<ClusterPrincipalAssignmentInner>,ClusterPrincipalAssignmentInner> beginCreateOrUpdate(String resourceGroupName, String clusterName, String principalAssignmentName, ClusterPrincipalAssignmentInner parameters, com.azure.core.util.Context context) Create a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto principalAssignment.parameters
- The Kusto cluster principalAssignment's parameters supplied for the operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of class representing a cluster 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
ClusterPrincipalAssignmentInner createOrUpdate(String resourceGroupName, String clusterName, String principalAssignmentName, ClusterPrincipalAssignmentInner parameters) Create a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto principalAssignment.parameters
- The Kusto cluster principalAssignment's parameters supplied for the operation.- Returns:
- class representing a cluster 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
ClusterPrincipalAssignmentInner createOrUpdate(String resourceGroupName, String clusterName, String principalAssignmentName, ClusterPrincipalAssignmentInner parameters, com.azure.core.util.Context context) Create a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto principalAssignment.parameters
- The Kusto cluster principalAssignment's parameters supplied for the operation.context
- The context to associate with this operation.- Returns:
- class representing a cluster 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 resourceGroupName, String clusterName, String principalAssignmentName) Deletes a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto principalAssignment.- 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 resourceGroupName, String clusterName, String principalAssignmentName, com.azure.core.util.Context context) Deletes a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto principalAssignment.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
Deletes a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto 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.
-
delete
void delete(String resourceGroupName, String clusterName, String principalAssignmentName, com.azure.core.util.Context context) Deletes a Kusto cluster principalAssignment.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.principalAssignmentName
- The name of the Kusto principalAssignment.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.
-
list
com.azure.core.http.rest.PagedIterable<ClusterPrincipalAssignmentInner> list(String resourceGroupName, String clusterName) Lists all Kusto cluster principalAssignments.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.- Returns:
- the list Kusto cluster 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<ClusterPrincipalAssignmentInner> list(String resourceGroupName, String clusterName, com.azure.core.util.Context context) Lists all Kusto cluster principalAssignments.- Parameters:
resourceGroupName
- The name of the resource group containing the Kusto cluster.clusterName
- The name of the Kusto cluster.context
- The context to associate with this operation.- Returns:
- the list Kusto cluster 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.
-