PacketCapture interface
Parameters that define the create packet capture operation.
Properties
bytes |
Number of bytes captured per packet, the remaining bytes are truncated. |
capture |
The capture setting holds the 'FileCount', 'FileSizeInBytes', 'SessionTimeLimitInSeconds' values. |
continuous |
This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. |
filters | A list of packet capture filters. |
scope | 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. |
storage |
The storage location for a packet capture session. |
target | The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. |
target |
Target type of the resource provided. |
time |
Maximum duration of the capture session in seconds. |
total |
Maximum size of the capture output. |
Property Details
bytesToCapturePerPacket
Number of bytes captured per packet, the remaining bytes are truncated.
bytesToCapturePerPacket?: number
Property Value
number
captureSettings
The capture setting holds the 'FileCount', 'FileSizeInBytes', 'SessionTimeLimitInSeconds' values.
captureSettings?: PacketCaptureSettings
Property Value
continuousCapture
This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'.
continuousCapture?: boolean
Property Value
boolean
filters
A list of packet capture filters.
filters?: PacketCaptureFilter[]
Property Value
scope
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.
scope?: PacketCaptureMachineScope
Property Value
storageLocation
The storage location for a packet capture session.
storageLocation: PacketCaptureStorageLocation
Property Value
target
The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.
target: string
Property Value
string
targetType
Target type of the resource provided.
targetType?: PacketCaptureTargetType
Property Value
timeLimitInSeconds
Maximum duration of the capture session in seconds.
timeLimitInSeconds?: number
Property Value
number
totalBytesPerSession
Maximum size of the capture output.
totalBytesPerSession?: number
Property Value
number