共用方式為


IPacketCapture Interface

Definition

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

public interface IPacketCapture : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.PacketCaptureResultInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IIndexable
type IPacketCapture = interface
    interface IBeta
    interface IHasInner<PacketCaptureResultInner>
    interface IHasName
    interface IHasId
    interface IIndexable
Public Interface IPacketCapture
Implements IBeta, IHasId, IHasInner(Of PacketCaptureResultInner), IHasName, IIndexable
Implements

Properties

BytesToCapturePerPacket

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

Filters

Gets the filters value.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Name

Gets the name of the resource

(Inherited from IHasName)
ProvisioningState

Gets the provisioning state of the packet capture session.

StorageLocation

Gets the storageLocation value.

TargetId

Gets the target id value.

TimeLimitInSeconds

Gets the maximum duration of the capture session in seconds.

TotalBytesPerSession

Gets the maximum size of the capture output.

Methods

GetStatus()

Query the status of a running packet capture session.

GetStatusAsync(CancellationToken)

Query the status of a running packet capture session asynchronously.

Stop()

Stops a specified packet capture session.

StopAsync(CancellationToken)

Stops a specified packet capture session asynchronously.

Applies to