次の方法で共有


WebSiteResource.StartWebSiteNetworkTraceOperationAsync メソッド

定義

「サイトのネットワーク パケットのキャプチャを開始する」の説明。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation
  • 操作IdWebApps_StartWebSiteNetworkTraceOperation
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)))

パラメーター

waitUntil
WaitUntil

Completed メソッドが、サービスで実行時間の長い操作が完了するまで戻るまで待機する必要がある場合。 Started 操作を開始した後に が返される場合は 。 実行時間の長い操作の詳細については、「 Azure.Core Long-Running 操作のサンプル」を参照してください。

durationInSeconds
Nullable<Int32>

キャプチャを秒単位で維持する期間。

maxFrameLength
Nullable<Int32>

フレームの最大長 (バイト単位) (省略可能)。

sasUrl
String

キャプチャ ファイルを格納する BLOB URL。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象