共用方式為


NetworkConfigurationDiagnosticContent Constructor

Definition

Initializes a new instance of NetworkConfigurationDiagnosticContent.

public NetworkConfigurationDiagnosticContent (Azure.Core.ResourceIdentifier targetResourceId, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticProfile> profiles);
new Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticContent : Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticProfile> -> Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticContent
Public Sub New (targetResourceId As ResourceIdentifier, profiles As IEnumerable(Of NetworkConfigurationDiagnosticProfile))

Parameters

targetResourceId
ResourceIdentifier

The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.

profiles
IEnumerable<NetworkConfigurationDiagnosticProfile>

List of network configuration diagnostic profiles.

Exceptions

targetResourceId or profiles is null.

Applies to