Freigeben über


DiagnosticSettingCollection.GetAllAsync(CancellationToken) Methode

Definition

Ruft die Liste der aktiven Diagnoseeinstellungen für die angegebene Ressource ab.

  • Anforderungspfad/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings
  • Vorgangs-IdDiagnosticSettings_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.DiagnosticSettingResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.DiagnosticSettingResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.DiagnosticSettingResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DiagnosticSettingResource)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

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

Gilt für: