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

PacketCaptureResultInner 构造函数

定义

重载

PacketCaptureResultInner()

初始化 PacketCaptureResultInner 类的新实例。

PacketCaptureResultInner(String, PacketCaptureStorageLocation, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<PacketCaptureFilter>, ProvisioningState)

初始化 PacketCaptureResultInner 类的新实例。

PacketCaptureResultInner()

初始化 PacketCaptureResultInner 类的新实例。

public PacketCaptureResultInner ();
Public Sub New ()

适用于

PacketCaptureResultInner(String, PacketCaptureStorageLocation, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<PacketCaptureFilter>, ProvisioningState)

初始化 PacketCaptureResultInner 类的新实例。

public PacketCaptureResultInner (string target, Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureStorageLocation storageLocation, string name = default, string id = default, string etag = default, int? bytesToCapturePerPacket = default, int? totalBytesPerSession = default, int? timeLimitInSeconds = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureFilter> filters = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default);
new Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureResultInner : string * Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureStorageLocation * string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureFilter> * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState -> Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureResultInner
Public Sub New (target As String, storageLocation As PacketCaptureStorageLocation, Optional name As String = Nothing, Optional id As String = Nothing, Optional etag As String = Nothing, Optional bytesToCapturePerPacket As Nullable(Of Integer) = Nothing, Optional totalBytesPerSession As Nullable(Of Integer) = Nothing, Optional timeLimitInSeconds As Nullable(Of Integer) = Nothing, Optional filters As IList(Of PacketCaptureFilter) = Nothing, Optional provisioningState As ProvisioningState = Nothing)

参数

target
String

目标资源的 ID,当前仅支持 VM。

storageLocation
PacketCaptureStorageLocation

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

name
String

数据包捕获会话的名称。

id
String

数据包捕获操作的 ID。

etag
String

一个唯一的只读字符串,每当资源更新时都会更改。

bytesToCapturePerPacket
Nullable<Int32>

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

totalBytesPerSession
Nullable<Int32>

捕获输出的最大大小。

timeLimitInSeconds
Nullable<Int32>

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

filters
IList<PacketCaptureFilter>

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

provisioningState
ProvisioningState

数据包捕获会话的预配状态。 可能的值包括:“Succeeded”、“Updating”、“Deleting”、“Failed”

适用于