Freigeben über


WebAppsOperationsExtensions.BeginStartNetworkTraceAsync Methode

Definition

Beginnen Sie mit der Erfassung von Netzwerkpaketen für den Standort.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NetworkTrace>> BeginStartNetworkTraceAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, int? durationInSeconds = default, int? maxFrameLength = default, string sasUrl = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginStartNetworkTraceAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.NetworkTrace>>
<Extension()>
Public Function BeginStartNetworkTraceAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, Optional durationInSeconds As Nullable(Of Integer) = Nothing, Optional maxFrameLength As Nullable(Of Integer) = Nothing, Optional sasUrl As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of NetworkTrace))

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

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

name
String

Der Name der Web-App.

durationInSeconds
Nullable<Int32>

Die Dauer der Aufzeichnung in Sekunden.

maxFrameLength
Nullable<Int32>

Die maximale Framelänge in Bytes (optional).

sasUrl
String

Die Blob-URL zum Speichern der Erfassungsdatei.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Starten der Erfassung von Netzwerkpaketen für den Standort.

Gilt für: