共用方式為


PacketCaptureStorageLocation Class

Definition

The storage location for a packet capture session.

public class PacketCaptureStorageLocation
type PacketCaptureStorageLocation = class
Public Class PacketCaptureStorageLocation
Inheritance
PacketCaptureStorageLocation

Constructors

PacketCaptureStorageLocation()

Initializes a new instance of the PacketCaptureStorageLocation class.

PacketCaptureStorageLocation(String, String, String)

Initializes a new instance of the PacketCaptureStorageLocation class.

Properties

FilePath

Gets or sets 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.

StorageId

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

StoragePath

Gets or sets 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.

Applies to