Partager via


KustoDatabaseResource.RemovePrincipalsAsync Méthode

Définition

Supprimer les autorisations des principaux de base de données.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/removePrincipals
  • IdDatabases_RemovePrincipals d’opération
public virtual Azure.AsyncPageable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipal> RemovePrincipalsAsync (Azure.ResourceManager.Kusto.Models.DatabasePrincipalList databasePrincipalsToRemove, System.Threading.CancellationToken cancellationToken = default);
abstract member RemovePrincipalsAsync : Azure.ResourceManager.Kusto.Models.DatabasePrincipalList * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipal>
override this.RemovePrincipalsAsync : Azure.ResourceManager.Kusto.Models.DatabasePrincipalList * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipal>
Public Overridable Function RemovePrincipalsAsync (databasePrincipalsToRemove As DatabasePrincipalList, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of KustoDatabasePrincipal)

Paramètres

databasePrincipalsToRemove
DatabasePrincipalList

Liste des principaux de base de données à supprimer.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Collection asynchrone de qui peut nécessiter plusieurs demandes de KustoDatabasePrincipal service pour itérer.

Exceptions

databasePrincipalsToRemove a la valeur null.

S’applique à