PacketCapture.DefinitionStages.WithStorageLocation Interface

public static interface PacketCapture.DefinitionStages.WithStorageLocation

Method Summary

Modifier and Type Method and Description
abstract WithCreate withFilePath(String filePath)

A valid local path on the targeting VM.

abstract WithCreateAndStoragePath withStorageAccountId(String storageId)

The ID of the storage account to save the packet capture session.

Method Details

withFilePath

public abstract 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

withStorageAccountId

public abstract 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

Applies to