PacketCapture Interface

Implements

HasId HasName HasInner<com.microsoft.azure.management.network.implementation.PacketCaptureResultInner> Indexable

public interface PacketCapture
extends HasInner<com.microsoft.azure.management.network.implementation.PacketCaptureResultInner>, HasName, HasId, Indexable

Client-side representation of Packet capture object, associated with Network Watcher.

Method Summary

Modifier and Type Method and Description
abstract int bytesToCapturePerPacket()
abstract java.util.List<PacketCaptureFilter> filters()
abstract PacketCaptureStatus getStatus()

Query the status of a running packet capture session.

abstract rx.Observable<PacketCaptureStatus> getStatusAsync()

Query the status of a running packet capture session asynchronously.

abstract ProvisioningState provisioningState()

Get the provisioning state of the packet capture session.

abstract void stop()

Stops a specified packet capture session.

abstract rx.Completable stopAsync()

Stops a specified packet capture session asynchronously.

abstract PacketCaptureStorageLocation storageLocation()
abstract java.lang.String targetId()
abstract int timeLimitInSeconds()
abstract int totalBytesPerSession()

Method Details

bytesToCapturePerPacket

public abstract int bytesToCapturePerPacket()

Returns:

the number of bytes captured per packet, the remaining bytes are truncated.

filters

public abstract List filters()

Returns:

the filters value

getStatus

public abstract PacketCaptureStatus getStatus()

Query the status of a running packet capture session.

Returns:

packet capture status

getStatusAsync

public abstract Observable getStatusAsync()

Query the status of a running packet capture session asynchronously.

Returns:

packet capture status

provisioningState

public abstract ProvisioningState provisioningState()

Get the provisioning state of the packet capture session.

Returns:

the provisioningState value

stop

public abstract void stop()

Stops a specified packet capture session.

stopAsync

public abstract Completable stopAsync()

Stops a specified packet capture session asynchronously.

Returns:

the handle to the REST call

storageLocation

public abstract PacketCaptureStorageLocation storageLocation()

Returns:

the storageLocation value

targetId

public abstract String targetId()

Returns:

the target id value

timeLimitInSeconds

public abstract int timeLimitInSeconds()

Returns:

the maximum duration of the capture session in seconds

totalBytesPerSession

public abstract int totalBytesPerSession()

Returns:

the maximum size of the capture output

Applies to