Aracılığıyla paylaş


NetworkRule Constructors

Definition

Overloads

NetworkRule()

Initializes a new instance of the NetworkRule class.

NetworkRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the NetworkRule class.

NetworkRule()

Initializes a new instance of the NetworkRule class.

public NetworkRule ();
Public Sub New ()

Applies to

NetworkRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>)

Initializes a new instance of the NetworkRule class.

public NetworkRule (string name = default, string description = default, System.Collections.Generic.IList<string> ipProtocols = 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> sourceIpGroups = default, System.Collections.Generic.IList<string> destinationIpGroups = default, System.Collections.Generic.IList<string> destinationFqdns = default);
new Microsoft.Azure.Management.Network.Models.NetworkRule : string * 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> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Network.Models.NetworkRule
Public Sub New (Optional name As String = Nothing, Optional description As String = Nothing, Optional ipProtocols As IList(Of String) = Nothing, Optional sourceAddresses As IList(Of String) = Nothing, Optional destinationAddresses As IList(Of String) = Nothing, Optional destinationPorts As IList(Of String) = Nothing, Optional sourceIpGroups As IList(Of String) = Nothing, Optional destinationIpGroups As IList(Of String) = Nothing, Optional destinationFqdns As IList(Of String) = Nothing)

Parameters

name
String

Name of the rule.

description
String

Description of the rule.

ipProtocols
IList<String>

Array of FirewallPolicyRuleNetworkProtocols.

sourceAddresses
IList<String>

List of source IP addresses for this rule.

destinationAddresses
IList<String>

List of destination IP addresses or Service Tags.

destinationPorts
IList<String>

List of destination ports.

sourceIpGroups
IList<String>

List of source IpGroups for this rule.

destinationIpGroups
IList<String>

List of destination IpGroups for this rule.

destinationFqdns
IList<String>

List of destination FQDNs.

Applies to