你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebSiteSlotResource.StartWebSiteNetworkTraceSlot 方法

定义

有关开始捕获站点的网络数据包的说明 (将弃用) 。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slots}/networkTrace/start
  • 操作IdWebApps_StartWebSiteNetworkTraceSlot
public virtual Azure.Response<string> StartWebSiteNetworkTraceSlot (int? durationInSeconds = default, int? maxFrameLength = default, string sasUrl = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartWebSiteNetworkTraceSlot : Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Response<string>
override this.StartWebSiteNetworkTraceSlot : Nullable<int> * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Response<string>
Public Overridable Function StartWebSiteNetworkTraceSlot (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 Response(Of String)

参数

durationInSeconds
Nullable<Int32>

持续捕获的持续时间(以秒为单位)。

maxFrameLength
Nullable<Int32>

最大帧长度(以字节为单位) (可选) 。

sasUrl
String

用于存储捕获文件的 Blob URL。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于