Partilhar via


NetworkRuleCondition Construtores

Definição

Sobrecargas

NetworkRuleCondition()

Inicializa uma nova instância da classe NetworkRuleCondition.

NetworkRuleCondition(String, String, IList<FirewallPolicyRuleConditionNetworkProtocol>, IList<String>, IList<String>, IList<String>)

Inicializa uma nova instância da classe NetworkRuleCondition.

NetworkRuleCondition()

Inicializa uma nova instância da classe NetworkRuleCondition.

public NetworkRuleCondition ();
Public Sub New ()

Aplica-se a

NetworkRuleCondition(String, String, IList<FirewallPolicyRuleConditionNetworkProtocol>, IList<String>, IList<String>, IList<String>)

Inicializa uma nova instância da classe NetworkRuleCondition.

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

Parâmetros

name
String

Nome da condição da regra.

description
String

Descrição da condição da regra.

ipProtocols
IList<FirewallPolicyRuleConditionNetworkProtocol>

Matriz de FirewallPolicyRuleConditionNetworkProtocols.

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.

Aplica-se a