Compartilhar via


PacketCaptureStorageLocation Class

The storage location for a packet capture session.

Inheritance
azure.mgmt.network._serialization.Model
PacketCaptureStorageLocation

Constructor

PacketCaptureStorageLocation(*, storage_id: str | None = None, storage_path: str | None = None, file_path: str | None = None, local_path: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
storage_id
str

The ID of the storage account to save the packet capture session. Required if no localPath or filePath 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

This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. 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.

local_path
str

This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (>>*<<.cap). For linux virtual machine it must start with /var/captures.

Variables

Name Description
storage_id
str

The ID of the storage account to save the packet capture session. Required if no localPath or filePath 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

This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. 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.

local_path
str

This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (>>*<<.cap). For linux virtual machine it must start with /var/captures.