Compartilhar via


AuthorizationRoleDefinitionCollection.Get Método

Definição

Obter a definição de função por nome (GUID).

  • Caminho da Solicitação/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operação IdRoleDefinitions_Get
public virtual Azure.Response<Azure.ResourceManager.Authorization.AuthorizationRoleDefinitionResource> Get (Azure.Core.ResourceIdentifier roleDefinitionId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.AuthorizationRoleDefinitionResource>
override this.Get : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.AuthorizationRoleDefinitionResource>
Public Overridable Function Get (roleDefinitionId As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AuthorizationRoleDefinitionResource)

Parâmetros

roleDefinitionId
ResourceIdentifier

A ID da definição de função.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

roleDefinitionId é nulo.

Aplica-se a