PacketCapture Interface
Implements
public interface PacketCapture
extends HasInnerModel<PacketCaptureResultInner>, HasName, HasId, Indexable
Client-side representation of Packet capture object, associated with Network Watcher.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract long |
bytesToCapturePerPacket()
Gets the number of bytes captured per packet, the remaining bytes are truncated. |
|
abstract
List<Packet |
filters()
Gets the filters value. |
|
abstract
Packet |
getStatus()
Query the status of a running packet capture session. |
|
abstract
Mono<Packet |
getStatusAsync()
Query the status of a running packet capture session asynchronously. |
|
abstract
Provisioning |
provisioningState()
Get the provisioning state of the packet capture session. |
| abstract void |
stop()
Stops a specified packet capture session. |
| abstract Mono<Void> |
stopAsync()
Stops a specified packet capture session asynchronously. |
|
abstract
Packet |
storageLocation()
Gets the storage |
| abstract String |
targetId()
Gets the target ID value. |
| abstract int |
timeLimitInSeconds()
Gets the maximum duration of the capture session in seconds. |
| abstract long |
totalBytesPerSession()
Gets the maximum size of the capture output. |
Method Details
bytesToCapturePerPacket
public abstract long bytesToCapturePerPacket()
Gets the number of bytes captured per packet, the remaining bytes are truncated.
Returns:
filters
public abstract List<PacketCaptureFilter> filters()
Gets the filters value.
Returns:
getStatus
public abstract PacketCaptureStatus getStatus()
Query the status of a running packet capture session.
Returns:
getStatusAsync
public abstract Mono<PacketCaptureStatus> getStatusAsync()
Query the status of a running packet capture session asynchronously.
Returns:
provisioningState
public abstract ProvisioningState provisioningState()
Get the provisioning state of the packet capture session.
Returns:
stop
public abstract void stop()
Stops a specified packet capture session.
stopAsync
public abstract Mono<Void> stopAsync()
Stops a specified packet capture session asynchronously.
Returns:
storageLocation
public abstract PacketCaptureStorageLocation storageLocation()
Gets the storageLocation value.
Returns:
targetId
public abstract String targetId()
Gets the target ID value.
Returns:
timeLimitInSeconds
public abstract int timeLimitInSeconds()
Gets the maximum duration of the capture session in seconds.
Returns:
totalBytesPerSession
public abstract long totalBytesPerSession()
Gets the maximum size of the capture output.
Returns: