PacketCapture.DefinitionStages.WithStorageLocation Interface
public interface WithStorageLocation
Method Summary
Modifier and Type | Method and Description |
---|---|
Packet |
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. |
Packet |
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:
Returns:
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:
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