ArmNetworkModelFactory.PacketCaptureStorageLocation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.Models.PacketCaptureStorageLocation PacketCaptureStorageLocation(Azure.Core.ResourceIdentifier storageId = default, string storagePath = default, string filePath = default, string localPath = default);
static member PacketCaptureStorageLocation : Azure.Core.ResourceIdentifier * string * string * string -> Azure.ResourceManager.Network.Models.PacketCaptureStorageLocation
Public Shared Function PacketCaptureStorageLocation (Optional storageId As ResourceIdentifier = Nothing, Optional storagePath As String = Nothing, Optional filePath As String = Nothing, Optional localPath As String = Nothing) As PacketCaptureStorageLocation
Parameters
- storageId
- ResourceIdentifier
The ID of the storage account to save the packet capture session. Required if no localPath or filePath 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
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.
- localPath
- String
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.
Returns
A new PacketCaptureStorageLocation instance for mocking.