Condividi tramite


PacketCaptureStorageLocation Constructors

Definition

Overloads

PacketCaptureStorageLocation()

Initializes a new instance of the PacketCaptureStorageLocation class.

PacketCaptureStorageLocation(String, String, String)

Initializes a new instance of the PacketCaptureStorageLocation class.

PacketCaptureStorageLocation()

Initializes a new instance of the PacketCaptureStorageLocation class.

public PacketCaptureStorageLocation ();
Public Sub New ()

Applies to

PacketCaptureStorageLocation(String, String, String)

Initializes a new instance of the PacketCaptureStorageLocation class.

public PacketCaptureStorageLocation (string storageId = default, string storagePath = default, string filePath = default);
new Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureStorageLocation : string * string * string -> Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureStorageLocation
Public Sub New (Optional storageId As String = Nothing, Optional storagePath As String = Nothing, Optional filePath As String = Nothing)

Parameters

storageId
String

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

storagePath
String

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.

filePath
String

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.

Applies to