PacketCaptureResultProperties Class

The properties of a packet capture session.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.network.v2019_11_01.models._models_py3.PacketCaptureParameters
PacketCaptureResultProperties

Constructor

PacketCaptureResultProperties(*, target: str, storage_location: azure.mgmt.network.v2019_11_01.models._models_py3.PacketCaptureStorageLocation, bytes_to_capture_per_packet: typing.Union[int, NoneType] = 0, total_bytes_per_session: typing.Union[int, NoneType] = 1073741824, time_limit_in_seconds: typing.Union[int, NoneType] = 18000, filters: typing.Union[typing.List[_ForwardRef('PacketCaptureFilter')], NoneType] = None, **kwargs)

Parameters

target
str

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

bytes_to_capture_per_packet
int

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

total_bytes_per_session
int

Maximum size of the capture output.

time_limit_in_seconds
int

Maximum duration of the capture session in seconds.

storage_location
PacketCaptureStorageLocation

Required. The storage location for a packet capture session.

filters
list[PacketCaptureFilter]

A list of packet capture filters.

Variables

provisioning_state
str or ProvisioningState

The provisioning state of the packet capture session. Possible values include: "Succeeded", "Updating", "Deleting", "Failed".