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에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET