Compartilhar via


NetworkConfigurationDiagnosticContent Construtor

Definição

Inicializa uma nova instância de 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))

Parâmetros

targetResourceId
ResourceIdentifier

A ID do recurso de destino para executar o diagnóstico de configuração de rede. As opções válidas são VM, NetworkInterface, VMSS/NetworkInterface e Gateway de Aplicativo.

profiles
IEnumerable<NetworkConfigurationDiagnosticProfile>

Lista de perfis de diagnóstico de configuração de rede.

Exceções

targetResourceId ou profiles é nulo.

Aplica-se a