PacketCapture.DefinitionStages.WithStorageLocation Interface
public static interface PacketCapture.DefinitionStages.WithStorageLocation
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withFilePath(String filePath)
A valid local path on the targeting VM. |
abstract
With |
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for