Compartilhar via


ArmNetworkModelFactory.SecurityRuleAssociations Método

Definição

Inicializa uma nova instância de SecurityRuleAssociations.

public static Azure.ResourceManager.Network.Models.SecurityRuleAssociations SecurityRuleAssociations (Azure.ResourceManager.Network.Models.NetworkInterfaceAssociation networkInterfaceAssociation = default, Azure.ResourceManager.Network.Models.SubnetAssociation subnetAssociation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.SecurityRuleData> defaultSecurityRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityRule> effectiveSecurityRules = default);
static member SecurityRuleAssociations : Azure.ResourceManager.Network.Models.NetworkInterfaceAssociation * Azure.ResourceManager.Network.Models.SubnetAssociation * seq<Azure.ResourceManager.Network.SecurityRuleData> * seq<Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityRule> -> Azure.ResourceManager.Network.Models.SecurityRuleAssociations
Public Shared Function SecurityRuleAssociations (Optional networkInterfaceAssociation As NetworkInterfaceAssociation = Nothing, Optional subnetAssociation As SubnetAssociation = Nothing, Optional defaultSecurityRules As IEnumerable(Of SecurityRuleData) = Nothing, Optional effectiveSecurityRules As IEnumerable(Of EffectiveNetworkSecurityRule) = Nothing) As SecurityRuleAssociations

Parâmetros

networkInterfaceAssociation
NetworkInterfaceAssociation

Interface de rede e suas regras de segurança personalizadas.

subnetAssociation
SubnetAssociation

Sub-rede e suas regras de segurança personalizadas.

defaultSecurityRules
IEnumerable<SecurityRuleData>

Coleção de regras de segurança padrão do grupo de segurança de rede.

effectiveSecurityRules
IEnumerable<EffectiveNetworkSecurityRule>

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

Retornos

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

Aplica-se a