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

PacketCapture.DefinitionStages.WithCreate 接口

public interface WithCreate extends Creatable

方法摘要

修饰符和类型 方法和描述
PCFilter.DefinitionStages.Blank<PacketCapture.DefinitionStages.WithCreate> definePacketCaptureFilter()

开始数据包捕获筛选器的定义。

PacketCapture.DefinitionStages.WithCreate withBytesToCapturePerPacket(int bytesToCapturePerPacket)

设置每个数据包捕获的字节数,其余字节将被截断。

PacketCapture.DefinitionStages.WithCreate withTimeLimitInSeconds(int timeLimitInSeconds)

设置捕获会话的最大持续时间(以秒为单位)。

PacketCapture.DefinitionStages.WithCreate withTotalBytesPerSession(int totalBytesPerSession)

设置捕获输出的最大大小。

继承成员

方法详细信息

definePacketCaptureFilter

public PCFilter.DefinitionStages.Blank definePacketCaptureFilter()

开始数据包捕获筛选器的定义。

Returns:

下一阶段

withBytesToCapturePerPacket

public WithCreate withBytesToCapturePerPacket(int bytesToCapturePerPacket)

设置每个数据包捕获的字节数,其余字节将被截断。

Parameters:

bytesToCapturePerPacket - 每个数据包捕获的字节数

Returns:

下一阶段

withTimeLimitInSeconds

public WithCreate withTimeLimitInSeconds(int timeLimitInSeconds)

设置捕获会话的最大持续时间(以秒为单位)。

Parameters:

timeLimitInSeconds - 捕获会话的最大持续时间(以秒为单位)

Returns:

下一阶段

withTotalBytesPerSession

public WithCreate withTotalBytesPerSession(int totalBytesPerSession)

设置捕获输出的最大大小。

Parameters:

totalBytesPerSession - 捕获输出的最大大小

Returns:

下一阶段

适用于