ArmNetworkModelFactory.SecurityRuleAssociations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- networkInterfaceAssociation
- NetworkInterfaceAssociation
Network interface and it's custom security rules.
- subnetAssociation
- SubnetAssociation
Subnet and it's custom security rules.
- defaultSecurityRules
- IEnumerable<SecurityRuleData>
Collection of default security rules of the network security group.
- effectiveSecurityRules
- IEnumerable<EffectiveNetworkSecurityRule>
Collection of effective security rules.
Returns
A new SecurityRuleAssociations instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET