Interface PacketCapture
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
,com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.PacketCaptureResultInner>
,com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
,com.microsoft.azure.management.resources.fluentcore.model.Indexable
@Beta public interface PacketCapture extends com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.PacketCaptureResultInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasName, com.microsoft.azure.management.resources.fluentcore.arm.models.HasId, com.microsoft.azure.management.resources.fluentcore.model.Indexable
Client-side representation of Packet capture object, associated with Network Watcher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PacketCapture.Definition
The entirety of the packet capture definition.static interface
PacketCapture.DefinitionStages
Grouping of Packet Capture definition stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
bytesToCapturePerPacket()
List<PacketCaptureFilter>
filters()
PacketCaptureStatus
getStatus()
Query the status of a running packet capture session.rx.Observable<PacketCaptureStatus>
getStatusAsync()
Query the status of a running packet capture session asynchronously.ProvisioningState
provisioningState()
Get the provisioning state of the packet capture session.void
stop()
Stops a specified packet capture session.rx.Completable
stopAsync()
Stops a specified packet capture session asynchronously.PacketCaptureStorageLocation
storageLocation()
String
targetId()
int
timeLimitInSeconds()
int
totalBytesPerSession()
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
-
-
-
-
Method Detail
-
targetId
String targetId()
- Returns:
- the target id value
-
bytesToCapturePerPacket
int bytesToCapturePerPacket()
- Returns:
- the number of bytes captured per packet, the remaining bytes are truncated.
-
totalBytesPerSession
int 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
rx.Completable 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
rx.Observable<PacketCaptureStatus> getStatusAsync()
Query the status of a running packet capture session asynchronously.- Returns:
- packet capture status
-
-