Delen via


AzureFirewallNetworkRule Constructors

Definition

Overloads

AzureFirewallNetworkRule()

Initializes a new instance of the AzureFirewallNetworkRule class.

AzureFirewallNetworkRule(String, String, IList<AzureFirewallNetworkRuleProtocol>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the AzureFirewallNetworkRule class.

AzureFirewallNetworkRule()

Initializes a new instance of the AzureFirewallNetworkRule class.

public AzureFirewallNetworkRule ();
Public Sub New ()

Applies to

AzureFirewallNetworkRule(String, String, IList<AzureFirewallNetworkRuleProtocol>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the AzureFirewallNetworkRule class.

public AzureFirewallNetworkRule (string name = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.AzureFirewallNetworkRuleProtocol> protocols = default, System.Collections.Generic.IList<string> sourceAddresses = default, System.Collections.Generic.IList<string> destinationAddresses = default, System.Collections.Generic.IList<string> destinationPorts = default, System.Collections.Generic.IList<string> destinationFqdns = default, System.Collections.Generic.IList<string> sourceIpGroups = default, System.Collections.Generic.IList<string> destinationIpGroups = default);
new Microsoft.Azure.Management.Network.Fluent.Models.AzureFirewallNetworkRule : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.AzureFirewallNetworkRuleProtocol> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Network.Fluent.Models.AzureFirewallNetworkRule
Public Sub New (Optional name As String = Nothing, Optional description As String = Nothing, Optional protocols As IList(Of AzureFirewallNetworkRuleProtocol) = Nothing, Optional sourceAddresses As IList(Of String) = Nothing, Optional destinationAddresses As IList(Of String) = Nothing, Optional destinationPorts As IList(Of String) = Nothing, Optional destinationFqdns As IList(Of String) = Nothing, Optional sourceIpGroups As IList(Of String) = Nothing, Optional destinationIpGroups As IList(Of String) = Nothing)

Parameters

name
String

Name of the network rule.

description
String

Description of the rule.

protocols
IList<AzureFirewallNetworkRuleProtocol>

Array of AzureFirewallNetworkRuleProtocols.

sourceAddresses
IList<String>

List of source IP addresses for this rule.

destinationAddresses
IList<String>

List of destination IP addresses.

destinationPorts
IList<String>

List of destination ports.

destinationFqdns
IList<String>

List of destination FQDNs.

sourceIpGroups
IList<String>

List of source IpGroups for this rule.

destinationIpGroups
IList<String>

List of destination IpGroups for this rule.

Applies to