Interface PacketCapture

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<PacketCaptureResultInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.model.Indexable

public interface PacketCapture extends com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<PacketCaptureResultInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.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 
    The entirety of the packet capture definition.
    static interface 
    Grouping of Packet Capture definition stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the number of bytes captured per packet, the remaining bytes are truncated.
    Gets the filters value.
    Query the status of a running packet capture session.
    Query the status of a running packet capture session asynchronously.
    Get the provisioning state of the packet capture session.
    void
    Stops a specified packet capture session.
    Stops a specified packet capture session asynchronously.
    Gets the storageLocation value.
    Gets the target ID value.
    int
    Gets the maximum duration of the capture session in seconds.
    long
    Gets the maximum size of the capture output.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key
  • Method Details

    • targetId

      String targetId()
      Gets the target ID value.
      Returns:
      the target ID value
    • bytesToCapturePerPacket

      long bytesToCapturePerPacket()
      Gets the number of bytes captured per packet, the remaining bytes are truncated.
      Returns:
      the number of bytes captured per packet, the remaining bytes are truncated.
    • totalBytesPerSession

      long totalBytesPerSession()
      Gets the maximum size of the capture output.
      Returns:
      the maximum size of the capture output
    • timeLimitInSeconds

      int timeLimitInSeconds()
      Gets the maximum duration of the capture session in seconds.
      Returns:
      the maximum duration of the capture session in seconds
    • storageLocation

      PacketCaptureStorageLocation storageLocation()
      Gets the storageLocation value.
      Returns:
      the storageLocation value
    • filters

      Gets the filters value.
      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