Compartilhar via


KeyVaultAccessControlClient.DeleteRoleAssignmentAsync Método

Definição

Exclua a atribuição de função especificada.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteRoleAssignmentAsync (Azure.Security.KeyVault.Administration.KeyVaultRoleScope roleScope, string roleAssignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteRoleAssignmentAsync : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteRoleAssignmentAsync : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteRoleAssignmentAsync (roleScope As KeyVaultRoleScope, roleAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

roleScope
KeyVaultRoleScope

O escopo da atribuição de função.

roleAssignmentName
String

O nome da atribuição de função a ser obtido.

cancellationToken
CancellationToken

Um CancellationToken que controla o tempo de vida da solicitação.

Retornos

Um Task<TResult> que contém o resultado da operação assíncrona.

Exceções

O servidor retornou um erro. Consulte Message para obter detalhes retornados do servidor.

roleAssignmentName é nulo.

roleAssignmentName está vazio.

Aplica-se a