Freigeben über


DiagnosticSettingResource.GetAsync(CancellationToken) Methode

Definition

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

  • Anforderungspfad/{resourceUri}/providers/Microsoft.Insights/diagnosticSettings/{name}
  • Vorgang IdDiagnosticSettings_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.DiagnosticSettingResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.DiagnosticSettingResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.DiagnosticSettingResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DiagnosticSettingResource))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: