PacketCapture Class
Parameters that define the create packet capture operation.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
PacketCapture
Constructor
PacketCapture(*, target: str, storage_location: azure.mgmt.network.v2017_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. Describes the storage location for a packet capture session.
- filters
- list[PacketCaptureFilter]
Feedback
Submit and view feedback for