Freigeben über


AppServiceEnvironmentsOperationsExtensions.GetDiagnosticsItemAsync Methode

Definition

Rufen Sie ein Diagnose-Element für eine App Service-Umgebung ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentDiagnosticsInner> GetDiagnosticsItemAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, string diagnosticsName, System.Threading.CancellationToken cancellationToken = default);
static member GetDiagnosticsItemAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.HostingEnvironmentDiagnosticsInner>
<Extension()>
Public Function GetDiagnosticsItemAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, diagnosticsName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HostingEnvironmentDiagnosticsInner)

Parameter

operations
IAppServiceEnvironmentsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name des App Service-Umgebung.

diagnosticsName
String

Name des Diagnose Elements.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Abrufen eines Diagnose Elements für eine App Service-Umgebung.

Gilt für: