Interface PacketCapture.DefinitionStages.WithStorageLocation

    • Method Detail

      • withStorageAccountId

        PacketCapture.DefinitionStages.WithCreateAndStoragePath withStorageAccountId​(String storageId)
        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

        PacketCapture.DefinitionStages.WithCreate withFilePath​(String filePath)
        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