AuthorizationRoleDefinitionCollection.Exists Método

Definição

Verifica se o recurso existe no azure.

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

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