ClusterPrincipalAssignments Interface

public interface ClusterPrincipalAssignments

Resource collection API of ClusterPrincipalAssignments.

Method Summary

Modifier and Type Method and Description
abstract CheckNameResult checkNameAvailability(String resourceGroupName, String clusterName, ClusterPrincipalAssignmentCheckNameRequest principalAssignmentName)

Checks that the principal assignment name is valid and is not already in use.

abstract Response<CheckNameResult> checkNameAvailabilityWithResponse(String resourceGroupName, String clusterName, ClusterPrincipalAssignmentCheckNameRequest principalAssignmentName, Context context)

Checks that the principal assignment name is valid and is not already in use.

abstract Blank define(String name)

Begins definition for a new ClusterPrincipalAssignment resource.

abstract void delete(String resourceGroupName, String clusterName, String principalAssignmentName)

Deletes a Kusto cluster principalAssignment.

abstract void delete(String resourceGroupName, String clusterName, String principalAssignmentName, Context context)

Deletes a Kusto cluster principalAssignment.

abstract void deleteById(String id)

Deletes a Kusto cluster principalAssignment.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a Kusto cluster principalAssignment.

abstract ClusterPrincipalAssignment get(String resourceGroupName, String clusterName, String principalAssignmentName)

Gets a Kusto cluster principalAssignment.

abstract ClusterPrincipalAssignment getById(String id)

Gets a Kusto cluster principalAssignment.

abstract Response<ClusterPrincipalAssignment> getByIdWithResponse(String id, Context context)

Gets a Kusto cluster principalAssignment.

abstract Response<ClusterPrincipalAssignment> getWithResponse(String resourceGroupName, String clusterName, String principalAssignmentName, Context context)

Gets a Kusto cluster principalAssignment.

abstract PagedIterable<ClusterPrincipalAssignment> list(String resourceGroupName, String clusterName)

Lists all Kusto cluster principalAssignments.

abstract PagedIterable<ClusterPrincipalAssignment> list(String resourceGroupName, String clusterName, Context context)

Lists all Kusto cluster principalAssignments.

Method Details

checkNameAvailability

public abstract CheckNameResult 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.

checkNameAvailabilityWithResponse

public abstract Response checkNameAvailabilityWithResponse(String resourceGroupName, String clusterName, ClusterPrincipalAssignmentCheckNameRequest principalAssignmentName, 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<T>.

define

public abstract ClusterPrincipalAssignment.DefinitionStages.Blank define(String name)

Begins definition for a new ClusterPrincipalAssignment resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ClusterPrincipalAssignment definition.

delete

public abstract void delete(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.

delete

public abstract void delete(String resourceGroupName, String clusterName, String principalAssignmentName, 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.

deleteById

public abstract void deleteById(String id)

Deletes a Kusto cluster principalAssignment.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes a Kusto cluster principalAssignment.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract ClusterPrincipalAssignment 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.

getById

public abstract ClusterPrincipalAssignment getById(String id)

Gets a Kusto cluster principalAssignment.

Parameters:

id - the resource ID.

Returns:

a Kusto cluster principalAssignment along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Gets a Kusto cluster principalAssignment.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a Kusto cluster principalAssignment along with Response<T>.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String clusterName, String principalAssignmentName, 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<T>.

list

public abstract PagedIterable 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<T>.

list

public abstract PagedIterable list(String resourceGroupName, String clusterName, 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<T>.

Applies to