PacketCapturesOperationsExtensions.Create(IPacketCapturesOperations, String, String, String, PacketCapture) Method

Definition

Create and start a packet capture on the specified VM.

public static Microsoft.Azure.Management.Network.Models.PacketCaptureResult Create (this Microsoft.Azure.Management.Network.IPacketCapturesOperations operations, string resourceGroupName, string networkWatcherName, string packetCaptureName, Microsoft.Azure.Management.Network.Models.PacketCapture parameters);
static member Create : Microsoft.Azure.Management.Network.IPacketCapturesOperations * string * string * string * Microsoft.Azure.Management.Network.Models.PacketCapture -> Microsoft.Azure.Management.Network.Models.PacketCaptureResult
<Extension()>
Public Function Create (operations As IPacketCapturesOperations, resourceGroupName As String, networkWatcherName As String, packetCaptureName As String, parameters As PacketCapture) As PacketCaptureResult

Parameters

operations
IPacketCapturesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

networkWatcherName
System.String

The name of the network watcher.

packetCaptureName
System.String

The name of the packet capture session.

parameters
PacketCapture

Parameters that define the create packet capture operation.

Returns

PacketCaptureResult

Applies to