共用方式為


SecurityRuleAssociations Constructors

Definition

Overloads

SecurityRuleAssociations()

Initializes a new instance of the SecurityRuleAssociations class.

SecurityRuleAssociations(NetworkInterfaceAssociation, SubnetAssociation, IList<SecurityRuleInner>, IList<EffectiveNetworkSecurityRule>)

Initializes a new instance of the SecurityRuleAssociations class.

SecurityRuleAssociations()

Initializes a new instance of the SecurityRuleAssociations class.

public SecurityRuleAssociations ();
Public Sub New ()

Applies to

SecurityRuleAssociations(NetworkInterfaceAssociation, SubnetAssociation, IList<SecurityRuleInner>, IList<EffectiveNetworkSecurityRule>)

Initializes a new instance of the SecurityRuleAssociations class.

public SecurityRuleAssociations (Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceAssociation networkInterfaceAssociation = default, Microsoft.Azure.Management.Network.Fluent.Models.SubnetAssociation subnetAssociation = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SecurityRuleInner> defaultSecurityRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.EffectiveNetworkSecurityRule> effectiveSecurityRules = default);
new Microsoft.Azure.Management.Network.Fluent.Models.SecurityRuleAssociations : Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceAssociation * Microsoft.Azure.Management.Network.Fluent.Models.SubnetAssociation * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SecurityRuleInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.EffectiveNetworkSecurityRule> -> Microsoft.Azure.Management.Network.Fluent.Models.SecurityRuleAssociations
Public Sub New (Optional networkInterfaceAssociation As NetworkInterfaceAssociation = Nothing, Optional subnetAssociation As SubnetAssociation = Nothing, Optional defaultSecurityRules As IList(Of SecurityRuleInner) = Nothing, Optional effectiveSecurityRules As IList(Of EffectiveNetworkSecurityRule) = Nothing)

Parameters

networkInterfaceAssociation
NetworkInterfaceAssociation

Network interface and it's custom security rules.

subnetAssociation
SubnetAssociation

Subnet and it's custom security rules.

defaultSecurityRules
IList<SecurityRuleInner>

Collection of default security rules of the network security group.

effectiveSecurityRules
IList<EffectiveNetworkSecurityRule>

Collection of effective security rules.

Applies to