Sdílet prostřednictvím


PacketCaptureParameters Class

Definition

Parameters that define the create packet capture operation.

public class PacketCaptureParameters
type PacketCaptureParameters = class
Public Class PacketCaptureParameters
Inheritance
PacketCaptureParameters

Constructors

PacketCaptureParameters()

Initializes a new instance of the PacketCaptureParameters class.

PacketCaptureParameters(String, PacketCaptureStorageLocation, PacketCaptureMachineScope, Nullable<PacketCaptureTargetType>, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, IList<PacketCaptureFilter>)

Initializes a new instance of the PacketCaptureParameters class.

Properties

BytesToCapturePerPacket

Gets or sets number of bytes captured per packet, the remaining bytes are truncated.

Filters

Gets or sets a list of packet capture filters.

Scope

Gets or sets a list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.

StorageLocation

Gets or sets the storage location for a packet capture session.

Target

Gets or sets the ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.

TargetType

Gets or sets target type of the resource provided. Possible values include: 'AzureVM', 'AzureVMSS'

TimeLimitInSeconds

Gets or sets maximum duration of the capture session in seconds.

TotalBytesPerSession

Gets or sets maximum size of the capture output.

Methods

Validate()

Validate the object.

Applies to