你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PacketCapture.DefinitionStages.WithCreate 接口
public interface WithCreate extends Creatable
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
PCFilter.DefinitionStages.Blank<Packet |
definePacketCaptureFilter()
开始数据包捕获筛选器的定义。 |
Packet |
withBytesToCapturePerPacket(int bytesToCapturePerPacket)
设置每个数据包捕获的字节数,其余字节将被截断。 |
Packet |
withTimeLimitInSeconds(int timeLimitInSeconds)
设置捕获会话的最大持续时间(以秒为单位)。 |
Packet |
withTotalBytesPerSession(int totalBytesPerSession)
设置捕获输出的最大大小。 |
继承成员
Creatable<T>.create()
Creatable<T>.createAsync(final ServiceCallback<T> callback)
Creatable<T>.createAsync()
Indexable.key()
HasName.name()
方法详细信息
definePacketCaptureFilter
public PCFilter.DefinitionStages.Blank
开始数据包捕获筛选器的定义。
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:
下一阶段
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈