ArmNetworkModelFactory.NetworkConfigurationDiagnosticContent Method

Definition

Initializes a new instance of NetworkConfigurationDiagnosticContent.

public static Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticContent NetworkConfigurationDiagnosticContent (Azure.Core.ResourceIdentifier targetResourceId = default, Azure.ResourceManager.Network.Models.VerbosityLevel? verbosityLevel = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticProfile> profiles = default);
static member NetworkConfigurationDiagnosticContent : Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.VerbosityLevel> * seq<Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticProfile> -> Azure.ResourceManager.Network.Models.NetworkConfigurationDiagnosticContent
Public Shared Function NetworkConfigurationDiagnosticContent (Optional targetResourceId As ResourceIdentifier = Nothing, Optional verbosityLevel As Nullable(Of VerbosityLevel) = Nothing, Optional profiles As IEnumerable(Of NetworkConfigurationDiagnosticProfile) = Nothing) As NetworkConfigurationDiagnosticContent

Parameters

targetResourceId
ResourceIdentifier

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

verbosityLevel
Nullable<VerbosityLevel>

Verbosity level.

profiles
IEnumerable<NetworkConfigurationDiagnosticProfile>

List of network configuration diagnostic profiles.

Returns

A new NetworkConfigurationDiagnosticContent instance for mocking.

Applies to