Compartir a través de


ArmNetworkModelFactory.SecurityRuleAssociations Método

Definición

Inicializa una nueva instancia 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

Interfaz de red y es reglas de seguridad personalizadas.

subnetAssociation
SubnetAssociation

Subred y es reglas de seguridad personalizadas.

defaultSecurityRules
IEnumerable<SecurityRuleData>

Colección de reglas de seguridad predeterminadas del grupo de seguridad de red.

effectiveSecurityRules
IEnumerable<EffectiveNetworkSecurityRule>

Colección de reglas de seguridad vigentes.

Devoluciones

SecurityRuleAssociations Nueva instancia de para simular.

Se aplica a