Compartilhar via


KeyVaultAccessControlClient.GetRoleDefinitions Método

Definição

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

public virtual Azure.Pageable<Azure.Security.KeyVault.Administration.KeyVaultRoleDefinition> GetRoleDefinitions (Azure.Security.KeyVault.Administration.KeyVaultRoleScope roleScope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoleDefinitions : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Administration.KeyVaultRoleDefinition>
override this.GetRoleDefinitions : Azure.Security.KeyVault.Administration.KeyVaultRoleScope * System.Threading.CancellationToken -> Azure.Pageable<Azure.Security.KeyVault.Administration.KeyVaultRoleDefinition>
Public Overridable Function GetRoleDefinitions (roleScope As KeyVaultRoleScope, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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