Share via


PacketCapture Class

Definition

Parameters that define the create packet capture operation.

[Microsoft.Rest.Serialization.JsonTransformation]
public class PacketCapture
[<Microsoft.Rest.Serialization.JsonTransformation>]
type PacketCapture = class
Public Class PacketCapture
Inheritance
PacketCapture
Attributes

Constructors

PacketCapture()

Initializes a new instance of the PacketCapture class.

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

Initializes a new instance of the PacketCapture 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