Partilhar via


ServiceAlertCollection.Exists(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 Azure.Response<bool> Exists (Guid alertId, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : Guid * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : Guid * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (alertId As Guid, Optional cancellationToken As CancellationToken = Nothing) As 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