PacketCapturesOperations interface

Interface representing a PacketCaptures operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginGetStatus
beginGetStatusAndWait
beginStop
beginStopAndWait
create

Create and start a packet capture on the specified VM.

delete

Deletes the specified packet capture session.

get

Gets a packet capture session by name.

getStatus

Query the status of a running packet capture session.

list

Lists all packet capture sessions within the specified resource group.

stop

Stops a specified packet capture session.

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, parameters: PacketCapture, options?: PacketCapturesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<PacketCaptureResult>, PacketCaptureResult>>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, parameters: PacketCapture, options?: PacketCapturesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<PacketCaptureResult>, PacketCaptureResult>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, parameters: PacketCapture, options?: PacketCapturesCreateOptionalParams) => Promise<PacketCaptureResult>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, parameters: PacketCapture, options?: PacketCapturesCreateOptionalParams) => Promise<PacketCaptureResult>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesDeleteOptionalParams) => Promise<void>

beginGetStatus

Warning

This API is now deprecated.

use getStatus instead

beginGetStatus: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesGetStatusOptionalParams) => Promise<SimplePollerLike<OperationState<PacketCaptureQueryStatusResult>, PacketCaptureQueryStatusResult>>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesGetStatusOptionalParams) => Promise<SimplePollerLike<OperationState<PacketCaptureQueryStatusResult>, PacketCaptureQueryStatusResult>>

beginGetStatusAndWait

Warning

This API is now deprecated.

use getStatus instead

beginGetStatusAndWait: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesGetStatusOptionalParams) => Promise<PacketCaptureQueryStatusResult>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesGetStatusOptionalParams) => Promise<PacketCaptureQueryStatusResult>

beginStop

Warning

This API is now deprecated.

use stop instead

beginStop: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesStopOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesStopOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginStopAndWait

Warning

This API is now deprecated.

use stop instead

beginStopAndWait: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesStopOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesStopOptionalParams) => Promise<void>

create

Create and start a packet capture on the specified VM.

create: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, parameters: PacketCapture, options?: PacketCapturesCreateOptionalParams) => PollerLike<OperationState<PacketCaptureResult>, PacketCaptureResult>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, parameters: PacketCapture, options?: PacketCapturesCreateOptionalParams) => PollerLike<OperationState<PacketCaptureResult>, PacketCaptureResult>

delete

Deletes the specified packet capture session.

delete: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a packet capture session by name.

get: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesGetOptionalParams) => Promise<PacketCaptureResult>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesGetOptionalParams) => Promise<PacketCaptureResult>

getStatus

Query the status of a running packet capture session.

getStatus: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesGetStatusOptionalParams) => PollerLike<OperationState<PacketCaptureQueryStatusResult>, PacketCaptureQueryStatusResult>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesGetStatusOptionalParams) => PollerLike<OperationState<PacketCaptureQueryStatusResult>, PacketCaptureQueryStatusResult>

list

Lists all packet capture sessions within the specified resource group.

list: (resourceGroupName: string, networkWatcherName: string, options?: PacketCapturesListOptionalParams) => PagedAsyncIterableIterator<PacketCaptureResult, PacketCaptureResult[], PageSettings>

Property Value

(resourceGroupName: string, networkWatcherName: string, options?: PacketCapturesListOptionalParams) => PagedAsyncIterableIterator<PacketCaptureResult, PacketCaptureResult[], PageSettings>

stop

Stops a specified packet capture session.

stop: (resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesStopOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, networkWatcherName: string, packetCaptureName: string, options?: PacketCapturesStopOptionalParams) => PollerLike<OperationState<void>, void>