PacketCaptureStorageLocation Class

Describes the storage location for a packet capture session.

Inheritance
PacketCaptureStorageLocation

Constructor

PacketCaptureStorageLocation(*, storage_id: typing.Union[str, NoneType] = None, storage_path: typing.Union[str, NoneType] = None, file_path: typing.Union[str, NoneType] = None, **kwargs)

Parameters

storage_id
str

The ID of the storage account to save the packet capture session. Required if no local file path is provided.

storage_path
str

The URI of the storage path to save the packet capture. Must be a well- formed URI describing the location to save the packet capture.

file_path
str

A valid local path on the targeting VM. Must include the name of the capture file (>>*<<.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.