共用方式為


IDefinition Interface

Definition

The entirety of the packet capture definition.

public interface IDefinition : Microsoft.Azure.Management.Network.Fluent.PacketCapture.Definition.IWithCreateAndStoragePath, Microsoft.Azure.Management.Network.Fluent.PacketCapture.Definition.IWithStorageLocation, Microsoft.Azure.Management.Network.Fluent.PacketCapture.Definition.IWithTarget, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.IPacketCapture>
type IDefinition = interface
    interface IWithTarget
    interface IWithStorageLocation
    interface IWithCreateAndStoragePath
    interface IWithCreate
    interface ICreatable<IPacketCapture>
    interface IIndexable
Public Interface IDefinition
Implements ICreatable(Of IPacketCapture), IWithCreateAndStoragePath, IWithStorageLocation, IWithTarget
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
DefinePacketCaptureFilter()

Begin the definition of packet capture filter.

(Inherited from IWithCreate)
WithBytesToCapturePerPacket(Int32)

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

(Inherited from IWithCreate)
WithFilePath(String)

A valid local path on the targeting VM. Must include the name of the capture file (.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.

(Inherited from IWithStorageLocation)
WithStorageAccountId(String)

The ID of the storage account to save the packet capture session. Required if no local file path is provided.

(Inherited from IWithStorageLocation)
WithStoragePath(String)

The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.

(Inherited from IWithCreateAndStoragePath)
WithTarget(String)

Set target resource ID, only VM is currently supported.

(Inherited from IWithTarget)
WithTimeLimitInSeconds(Int32)

Set maximum duration of the capture session in seconds.

(Inherited from IWithCreate)
WithTotalBytesPerSession(Int32)

Set maximum size of the capture output.

(Inherited from IWithCreate)

Applies to