다음을 통해 공유


PacketCaptureInner Constructors

Definition

Overloads

PacketCaptureInner()

Initializes a new instance of the PacketCaptureInner class.

PacketCaptureInner(String, PacketCaptureStorageLocation, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<PacketCaptureFilter>)

Initializes a new instance of the PacketCaptureInner class.

PacketCaptureInner()

Initializes a new instance of the PacketCaptureInner class.

public PacketCaptureInner ();
Public Sub New ()

Applies to

PacketCaptureInner(String, PacketCaptureStorageLocation, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<PacketCaptureFilter>)

Initializes a new instance of the PacketCaptureInner class.

public PacketCaptureInner (string target, Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureStorageLocation storageLocation, int? bytesToCapturePerPacket = default, int? totalBytesPerSession = default, int? timeLimitInSeconds = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureFilter> filters = default);
new Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureInner : string * Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureStorageLocation * Nullable<int> * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureFilter> -> Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureInner
Public Sub New (target As String, storageLocation As PacketCaptureStorageLocation, 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)

Parameters

target
String

The ID of the targeted resource, only VM is currently supported.

storageLocation
PacketCaptureStorageLocation

Describes the storage location for a packet capture session.

bytesToCapturePerPacket
Nullable<Int32>

Number of bytes captured per packet, the remaining bytes are truncated.

totalBytesPerSession
Nullable<Int32>

Maximum size of the capture output.

timeLimitInSeconds
Nullable<Int32>

Maximum duration of the capture session in seconds.

filters
IList<PacketCaptureFilter>

A list of packet capture filters.

Applies to