共用方式為


PacketCaptureCreateOrUpdateContent Constructor

Definition

Initializes a new instance of PacketCaptureCreateOrUpdateContent.

public PacketCaptureCreateOrUpdateContent (string target, Azure.ResourceManager.Network.Models.PacketCaptureStorageLocation storageLocation);
new Azure.ResourceManager.Network.Models.PacketCaptureCreateOrUpdateContent : string * Azure.ResourceManager.Network.Models.PacketCaptureStorageLocation -> Azure.ResourceManager.Network.Models.PacketCaptureCreateOrUpdateContent
Public Sub New (target As String, storageLocation As PacketCaptureStorageLocation)

Parameters

target
String

The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported.

storageLocation
PacketCaptureStorageLocation

The storage location for a packet capture session.

Exceptions

target or storageLocation is null.

Applies to