Compartilhar via


AuthorizationProviderOperationsMetadataCollection.ExistsAsync Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/provedores/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}
  • Operação IdProviderOperationsMetadata_Get
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string resourceProviderNamespace, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (resourceProviderNamespace As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parâmetros

resourceProviderNamespace
String

O namespace do provedor de recursos.

expand
String

Especifica se os valores devem ser expandidos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

resourceProviderNamespace é nulo.

Aplica-se a