Share via


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
String

The name of the resource group containing the Kusto cluster.

clusterName
String

The name of the Kusto cluster.

databaseName
String

The name of the database in the Kusto cluster.

databasePrincipalsToRemove
DatabasePrincipalListRequest

List of database principals to remove.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to