Compartilhar via


KeyVaultAccessControlClient.GetRoleAssignments Método

Definição

Obtém as atribuições de função para um escopo.

public virtual Azure.Pageable<Azure.Security.KeyVault.Administration.KeyVaultRoleAssignment> GetRoleAssignments (Azure.Security.KeyVault.Administration.KeyVaultRoleScope roleScope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoleAssignments : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Administration.KeyVaultRoleAssignment>
override this.GetRoleAssignments : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Administration.KeyVaultRoleAssignment>
Public Overridable Function GetRoleAssignments (roleScope As KeyVaultRoleScope, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of KeyVaultRoleAssignment)

Parâmetros

roleScope
KeyVaultRoleScope

O escopo das atribuições de função.

cancellationToken
CancellationToken

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

Retornos

Exceções

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

roleScope é nulo.

Aplica-se a