DatabasesOperationsExtensions.RemovePrincipalsAsync Method

Definition

Remove Database principals permissions.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalListResult> RemovePrincipalsAsync (this Microsoft.Azure.Management.Kusto.IDatabasesOperations operations, string resourceGroupName, string clusterName, string databaseName, Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalListRequest databasePrincipalsToRemove, System.Threading.CancellationToken cancellationToken = default);
static member RemovePrincipalsAsync : Microsoft.Azure.Management.Kusto.IDatabasesOperations * string * string * string * Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalListRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalListResult>
<Extension()>
Public Function RemovePrincipalsAsync (operations As IDatabasesOperations, resourceGroupName As String, clusterName As String, databaseName As String, databasePrincipalsToRemove As DatabasePrincipalListRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DatabasePrincipalListResult)

Parameters

operations
IDatabasesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group containing the Kusto cluster.

clusterName
System.String

The name of the Kusto cluster.

databaseName
System.String

The name of the database in the Kusto cluster.

databasePrincipalsToRemove
DatabasePrincipalListRequest

List of database principals to remove.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DatabasePrincipalListResult>

Applies to