Partilhar via


ServiceAlertCollection.ExistsAsync(Guid, CancellationToken) Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}
  • Operação IdAlerts_GetById
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (Guid alertId, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (alertId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parâmetros

alertId
Guid

ID exclusiva de uma instância de alerta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a