PacketCapture.DefinitionStages.WithStorageLocation Interface

public interface WithStorageLocation

Method Summary

Modifier and Type Method and Description
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.

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.

Method Details

withFilePath

public 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

withStorageAccountId

public 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

Applies to