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

PacketCaptureResult interface

有关数据包捕获会话的信息。

属性

bytesToCapturePerPacket

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

captureSettings

捕获设置保存“FileCount”、“FileSizeInBytes”、“SessionTimeLimitInSeconds”值。

continuousCapture

此连续捕获是可为 null 的布尔值,可以保存“null”、“true”或“false”值。 如果不传递此参数,则将其视为“null”,默认值为“null”。

etag

一个唯一的只读字符串,每当更新资源时更改。 注意:此属性不会序列化。 它只能由服务器填充。

filters

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

id

数据包捕获操作的 ID。 注意:此属性不会序列化。 它只能由服务器填充。

name

数据包捕获会话的名称。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState

数据包捕获会话的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

scope

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

storageLocation

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

target

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

targetType

提供的资源的目标类型。

timeLimitInSeconds

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

totalBytesPerSession

捕获输出的最大大小。

属性详细信息

bytesToCapturePerPacket

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

bytesToCapturePerPacket?: number

属性值

number

captureSettings

捕获设置保存“FileCount”、“FileSizeInBytes”、“SessionTimeLimitInSeconds”值。

captureSettings?: PacketCaptureSettings

属性值

continuousCapture

此连续捕获是可为 null 的布尔值,可以保存“null”、“true”或“false”值。 如果不传递此参数,则将其视为“null”,默认值为“null”。

continuousCapture?: boolean

属性值

boolean

etag

一个唯一的只读字符串,每当更新资源时更改。 注意:此属性不会序列化。 它只能由服务器填充。

etag?: string

属性值

string

filters

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

filters?: PacketCaptureFilter[]

属性值

id

数据包捕获操作的 ID。 注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

name

数据包捕获会话的名称。 注意:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

provisioningState

数据包捕获会话的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState?: string

属性值

string

scope

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

scope?: PacketCaptureMachineScope

属性值

storageLocation

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

storageLocation?: PacketCaptureStorageLocation

属性值

target

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

target?: string

属性值

string

targetType

提供的资源的目标类型。

targetType?: PacketCaptureTargetType

属性值

timeLimitInSeconds

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

timeLimitInSeconds?: number

属性值

number

totalBytesPerSession

捕获输出的最大大小。

totalBytesPerSession?: number

属性值

number