Compartilhar via


KeyVaultAccessControlClient.GetRoleDefinitionsAsync Método

Definição

Obtenha todas as definições de função aplicáveis no escopo e acima.

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

Parâmetros

roleScope
KeyVaultRoleScope

O escopo das definiçõ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