PacketCapture Interface
public interface PacketCapture extends HasInner,HasName,HasId,Indexable
Client-side representation of Packet capture object, associated with Network Watcher.
Method Summary
Modifier and Type | Method and Description |
---|---|
int | bytesToCapturePerPacket() |
List<Packet |
filters() |
Packet |
getStatus()
Query the status of a running packet capture session. |
Observable<Packet |
getStatusAsync()
Query the status of a running packet capture session asynchronously. |
Provisioning |
provisioningState()
Get the provisioning state of the packet capture session. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. |
void |
stop()
Stops a specified packet capture session. |
Completable |
stopAsync()
Stops a specified packet capture session asynchronously. |
Packet |
storageLocation() |
String | targetId() |
int | timeLimitInSeconds() |
int | totalBytesPerSession() |
Inherited Members
Method Details
bytesToCapturePerPacket
public int bytesToCapturePerPacket()
Returns:
filters
public List
Returns:
getStatus
public PacketCaptureStatus getStatus()
Query the status of a running packet capture session.
Returns:
getStatusAsync
public Observable
Query the status of a running packet capture session asynchronously.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioning state of the packet capture session. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:
stop
public void stop()
Stops a specified packet capture session.
stopAsync
public Completable stopAsync()
Stops a specified packet capture session asynchronously.
Returns:
storageLocation
public PacketCaptureStorageLocation storageLocation()
Returns:
targetId
public String targetId()
Returns:
timeLimitInSeconds
public int timeLimitInSeconds()
Returns:
totalBytesPerSession
public int totalBytesPerSession()
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