Compartilhar via


NetworkRule Construtores

Definição

Sobrecargas

NetworkRule()

Inicializa uma nova instância da classe NetworkRule.

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

Inicializa uma nova instância da classe NetworkRule.

NetworkRule()

Inicializa uma nova instância da classe NetworkRule.

public NetworkRule ();
Public Sub New ()

Aplica-se a

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

Inicializa uma nova instância da classe NetworkRule.

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)

Parâmetros

name
String

Nome da regra.

description
String

Descrição da regra.

ipProtocols
IList<String>

Matriz de FirewallPolicyRuleNetworkProtocols.

sourceAddresses
IList<String>

Lista de endereços IP de origem para essa regra.

destinationAddresses
IList<String>

Lista de endereços IP de destino ou Marcas de Serviço.

destinationPorts
IList<String>

Lista de portas de destino.

sourceIpGroups
IList<String>

Lista de IpGroups de origem para essa regra.

destinationIpGroups
IList<String>

Lista de IpGroups de destino para essa regra.

destinationFqdns
IList<String>

Lista de FQDNs de destino.

Aplica-se a