你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PacketCapture 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义创建数据包捕获操作的参数。
[Microsoft.Rest.Serialization.JsonTransformation]
public class PacketCapture
[<Microsoft.Rest.Serialization.JsonTransformation>]
type PacketCapture = class
Public Class PacketCapture
- 继承
-
PacketCapture
- 属性
构造函数
属性
BytesToCapturePerPacket |
获取或设置每个数据包捕获的字节数,其余字节将被截断。 |
Filters |
获取或设置数据包捕获筛选器的列表。 |
Scope |
获取或设置 AzureVMSS 实例的列表,这些实例可以包含或排除以运行数据包捕获。 如果包含和排除的都是空的,则数据包捕获将在 AzureVMSS 的所有实例上运行。 |
StorageLocation |
获取或设置数据包捕获会话的存储位置。 |
Target |
获取或设置目标资源的 ID,当前仅支持 AzureVM 和 AzureVMSS 作为目标类型。 |
TargetType |
获取或设置所提供的资源的目标类型。 可能的值包括:“AzureVM”、“AzureVMSS” |
TimeLimitInSeconds |
获取或设置捕获会话的最大持续时间(以秒为单位)。 |
TotalBytesPerSession |
获取或设置捕获输出的最大大小。 |
方法
Validate() |
验证 对象。 |