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

PacketCaptureParameters interface

定义创建数据包捕获作的参数。

属性

bytesToCapturePerPacket

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

filters

数据包捕获筛选器的列表。

scope

可以包含或排除用于运行数据包捕获的 AzureVMSS 实例的列表。 如果包含和排除的都是空的,则数据包捕获将在 AzureVMSS 的所有实例上运行。

storageLocation

数据包捕获会话的存储位置。

target

当前支持目标资源的 ID,仅支持作为目标类型的 AzureVM 和 AzureVMSS。

targetType

提供的资源的目标类型。

timeLimitInSeconds

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

totalBytesPerSession

捕获输出的最大大小。

属性详细信息

bytesToCapturePerPacket

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

bytesToCapturePerPacket?: number

属性值

number

filters

数据包捕获筛选器的列表。

filters?: PacketCaptureFilter[]

属性值

scope

可以包含或排除用于运行数据包捕获的 AzureVMSS 实例的列表。 如果包含和排除的都是空的,则数据包捕获将在 AzureVMSS 的所有实例上运行。

scope?: PacketCaptureMachineScope

属性值

storageLocation

数据包捕获会话的存储位置。

storageLocation: PacketCaptureStorageLocation

属性值

target

当前支持目标资源的 ID,仅支持作为目标类型的 AzureVM 和 AzureVMSS。

target: string

属性值

string

targetType

提供的资源的目标类型。

targetType?: "AzureVM" | "AzureVMSS"

属性值

"AzureVM" | "AzureVMSS"

timeLimitInSeconds

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

timeLimitInSeconds?: number

属性值

number

totalBytesPerSession

捕获输出的最大大小。

totalBytesPerSession?: number

属性值

number