Compartilhar via


ArmNetworkModelFactory.NetworkInterfaceAssociation Método

Definição

Inicializa uma nova instância de NetworkInterfaceAssociation.

public static Azure.ResourceManager.Network.Models.NetworkInterfaceAssociation NetworkInterfaceAssociation (Azure.Core.ResourceIdentifier id = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.SecurityRuleData> securityRules = default);
static member NetworkInterfaceAssociation : Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.SecurityRuleData> -> Azure.ResourceManager.Network.Models.NetworkInterfaceAssociation
Public Shared Function NetworkInterfaceAssociation (Optional id As ResourceIdentifier = Nothing, Optional securityRules As IEnumerable(Of SecurityRuleData) = Nothing) As NetworkInterfaceAssociation

Parâmetros

id
ResourceIdentifier

ID do adaptador de rede.

securityRules
IEnumerable<SecurityRuleData>

Coleção de regras de segurança personalizadas.

Retornos

Uma nova NetworkInterfaceAssociation instância para simulação.

Aplica-se a