Partager via


WebSiteResource.StartWebSiteNetworkTraceOperationAsync Méthode

Définition

Description de Démarrer la capture des paquets réseau pour le site.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation
  • IdWebApps_StartWebSiteNetworkTraceOperation d’opération
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>>> StartWebSiteNetworkTraceOperationAsync (Azure.WaitUntil waitUntil, int? durationInSeconds = default, int? maxFrameLength = default, string sasUrl = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartWebSiteNetworkTraceOperationAsync : Azure.WaitUntil * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>>>
override this.StartWebSiteNetworkTraceOperationAsync : Azure.WaitUntil * Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<System.Collections.Generic.IList<Azure.ResourceManager.AppService.Models.WebAppNetworkTrace>>>
Public Overridable Function StartWebSiteNetworkTraceOperationAsync (waitUntil As WaitUntil, 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 ArmOperation(Of IList(Of WebAppNetworkTrace)))

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre la fin de l’opération de longue durée sur le service ; Started s’il doit retourner après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations Azure.Core Long-Running.

durationInSeconds
Nullable<Int32>

Durée de la capture continue en secondes.

maxFrameLength
Nullable<Int32>

Longueur d’image maximale en octets (facultatif).

sasUrl
String

URL d’objet blob pour stocker le fichier de capture.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à