Interface PacketCapture
-
- All Superinterfaces:
HasId,HasInnerModel<PacketCaptureResultInner>,HasName,Indexable
public interface PacketCapture extends HasInnerModel<PacketCaptureResultInner>, HasName, HasId, Indexable
Client-side representation of Packet capture object, associated with Network Watcher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePacketCapture.DefinitionThe entirety of the packet capture definition.static interfacePacketCapture.DefinitionStagesGrouping of Packet Capture definition stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longbytesToCapturePerPacket()List<PacketCaptureFilter>filters()PacketCaptureStatusgetStatus()Query the status of a running packet capture session.Mono<PacketCaptureStatus>getStatusAsync()Query the status of a running packet capture session asynchronously.ProvisioningStateprovisioningState()Get the provisioning state of the packet capture session.voidstop()Stops a specified packet capture session.Mono<Void>stopAsync()Stops a specified packet capture session asynchronously.PacketCaptureStorageLocationstorageLocation()StringtargetId()inttimeLimitInSeconds()longtotalBytesPerSession()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
-
-
-
Method Detail
-
targetId
String targetId()
- Returns:
- the target id value
-
bytesToCapturePerPacket
long bytesToCapturePerPacket()
- Returns:
- the number of bytes captured per packet, the remaining bytes are truncated.
-
totalBytesPerSession
long totalBytesPerSession()
- Returns:
- the maximum size of the capture output
-
timeLimitInSeconds
int timeLimitInSeconds()
- Returns:
- the maximum duration of the capture session in seconds
-
storageLocation
PacketCaptureStorageLocation storageLocation()
- Returns:
- the storageLocation value
-
filters
List<PacketCaptureFilter> filters()
- Returns:
- the filters value
-
provisioningState
ProvisioningState provisioningState()
Get the provisioning state of the packet capture session.- Returns:
- the provisioningState value
-
stop
void stop()
Stops a specified packet capture session.
-
stopAsync
Mono<Void> stopAsync()
Stops a specified packet capture session asynchronously.- Returns:
- the handle to the REST call
-
getStatus
PacketCaptureStatus getStatus()
Query the status of a running packet capture session.- Returns:
- packet capture status
-
getStatusAsync
Mono<PacketCaptureStatus> getStatusAsync()
Query the status of a running packet capture session asynchronously.- Returns:
- packet capture status
-
-