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() |
abstract
List<Packet |
filters() |
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() |
abstract String | targetId() |
abstract int | timeLimitInSeconds() |
abstract long | totalBytesPerSession() |
Method Details
bytesToCapturePerPacket
public abstract long bytesToCapturePerPacket()
Returns:
filters
public abstract List
Returns:
getStatus
public abstract PacketCaptureStatus getStatus()
Query the status of a running packet capture session.
Returns:
getStatusAsync
public abstract Mono
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
Stops a specified packet capture session asynchronously.
Returns:
storageLocation
public abstract PacketCaptureStorageLocation storageLocation()
Returns:
targetId
public abstract String targetId()
Returns:
timeLimitInSeconds
public abstract int timeLimitInSeconds()
Returns:
totalBytesPerSession
public abstract long totalBytesPerSession()
Returns:
Applies to
Azure SDK for Java