Freigeben über


ServiceAlertCollection.ExistsAsync(Guid, CancellationToken) Methode

Definition

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}
  • Vorgang 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))

Parameter

alertId
Guid

Eindeutige ID einer Warnung instance.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: