Interface PacketCapture.DefinitionStages.WithStorageLocation

All Known Subinterfaces:
PacketCapture.Definition
Enclosing interface:
PacketCapture.DefinitionStages

public static interface PacketCapture.DefinitionStages.WithStorageLocation
The stage of the Packet Capture definition allowing to specify the storage location.
  • Method Details

    • withStorageAccountId

      The ID of the storage account to save the packet capture session. Required if no local file path is provided.
      Parameters:
      storageId - The ID of the storage account to save the packet capture session
      Returns:
      the next stage of the definition
    • withFilePath

      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.
      Parameters:
      filePath - A valid local path on the targeting VM
      Returns:
      the next stage