PacketCaptureParameters interface
定义创建数据包捕获作的参数。
属性
| bytes |
每个数据包捕获的字节数,其余字节将被截断。 |
| filters | 数据包捕获筛选器的列表。 |
| scope | 可以包含或排除用于运行数据包捕获的 AzureVMSS 实例的列表。 如果包含和排除的都是空的,则数据包捕获将在 AzureVMSS 的所有实例上运行。 |
| storage |
数据包捕获会话的存储位置。 |
| target | 当前支持目标资源的 ID,仅支持作为目标类型的 AzureVM 和 AzureVMSS。 |
| target |
提供的资源的目标类型。 |
| time |
捕获会话的最大持续时间(以秒为单位)。 |
| total |
捕获输出的最大大小。 |
属性详细信息
bytesToCapturePerPacket
每个数据包捕获的字节数,其余字节将被截断。
bytesToCapturePerPacket?: number
属性值
number
filters
scope
可以包含或排除用于运行数据包捕获的 AzureVMSS 实例的列表。 如果包含和排除的都是空的,则数据包捕获将在 AzureVMSS 的所有实例上运行。
scope?: PacketCaptureMachineScope
属性值
storageLocation
target
当前支持目标资源的 ID,仅支持作为目标类型的 AzureVM 和 AzureVMSS。
target: string
属性值
string
targetType
提供的资源的目标类型。
targetType?: "AzureVM" | "AzureVMSS"
属性值
"AzureVM" | "AzureVMSS"
timeLimitInSeconds
捕获会话的最大持续时间(以秒为单位)。
timeLimitInSeconds?: number
属性值
number
totalBytesPerSession
捕获输出的最大大小。
totalBytesPerSession?: number
属性值
number