Freigeben über


ActivityLogAlertCollection.GetAllAsync(CancellationToken) Methode

Definition

Ruft eine Liste aller Aktivitätsprotokollwarnungsregeln in einer Ressourcengruppe ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/activityLogAlerts
  • Vorgangs-IdActivityLogAlerts_ListByResourceGroup
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.ActivityLogAlertResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.ActivityLogAlertResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.ActivityLogAlertResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ActivityLogAlertResource)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von ActivityLogAlertResource , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: