Compartilhar via


EffectiveNetworkSecurityRule Construtores

Definição

Sobrecargas

EffectiveNetworkSecurityRule()

Inicializa uma nova instância da classe EffectiveNetworkSecurityRule.

EffectiveNetworkSecurityRule(String, String, String, String, IList<String>, IList<String>, String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, Nullable<Int32>, String)

Inicializa uma nova instância da classe EffectiveNetworkSecurityRule.

EffectiveNetworkSecurityRule()

Inicializa uma nova instância da classe EffectiveNetworkSecurityRule.

public EffectiveNetworkSecurityRule ();
Public Sub New ()

Aplica-se a

EffectiveNetworkSecurityRule(String, String, String, String, IList<String>, IList<String>, String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, Nullable<Int32>, String)

Inicializa uma nova instância da classe EffectiveNetworkSecurityRule.

public EffectiveNetworkSecurityRule (string name = default, string protocol = default, string sourcePortRange = default, string destinationPortRange = default, System.Collections.Generic.IList<string> sourcePortRanges = default, System.Collections.Generic.IList<string> destinationPortRanges = default, string sourceAddressPrefix = default, string destinationAddressPrefix = default, System.Collections.Generic.IList<string> sourceAddressPrefixes = default, System.Collections.Generic.IList<string> destinationAddressPrefixes = default, System.Collections.Generic.IList<string> expandedSourceAddressPrefix = default, System.Collections.Generic.IList<string> expandedDestinationAddressPrefix = default, string access = default, int? priority = default, string direction = default);
new Microsoft.Azure.Management.Network.Models.EffectiveNetworkSecurityRule : string * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * Nullable<int> * string -> Microsoft.Azure.Management.Network.Models.EffectiveNetworkSecurityRule
Public Sub New (Optional name As String = Nothing, Optional protocol As String = Nothing, Optional sourcePortRange As String = Nothing, Optional destinationPortRange As String = Nothing, Optional sourcePortRanges As IList(Of String) = Nothing, Optional destinationPortRanges As IList(Of String) = Nothing, Optional sourceAddressPrefix As String = Nothing, Optional destinationAddressPrefix As String = Nothing, Optional sourceAddressPrefixes As IList(Of String) = Nothing, Optional destinationAddressPrefixes As IList(Of String) = Nothing, Optional expandedSourceAddressPrefix As IList(Of String) = Nothing, Optional expandedDestinationAddressPrefix As IList(Of String) = Nothing, Optional access As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional direction As String = Nothing)

Parâmetros

name
String

O nome da regra de segurança especificada pelo usuário (se criado pelo usuário).

protocol
String

O protocolo de rede ao qual essa regra se aplica. Os valores possíveis incluem: 'Tcp', 'Udp', 'All'

sourcePortRange
String

A porta de origem ou o intervalo.

destinationPortRange
String

A porta ou o intervalo de destino.

sourcePortRanges
IList<String>

Os intervalos de porta de origem. Os valores esperados incluem um único inteiro entre 0 e 65535, um intervalo usando '-' como separador (por exemplo, 100-400) ou um asterisco (*).

destinationPortRanges
IList<String>

Os intervalos de portas de destino. Os valores esperados incluem um único inteiro entre 0 e 65535, um intervalo usando '-' como separador (por exemplo, 100-400) ou um asterisco (*).

sourceAddressPrefix
String

O prefixo do endereço de origem.

destinationAddressPrefix
String

O prefixo de endereço de destino.

sourceAddressPrefixes
IList<String>

Os prefixos de endereço de origem. Os valores esperados incluem intervalos de IP CIDR, Marcas Padrão (VirtualNetwork, AzureLoadBalancer, Internet), Marcas do Sistema e o asterisco (*).

destinationAddressPrefixes
IList<String>

Os prefixos de endereço de destino. Os valores esperados incluem intervalos de IP CIDR, Marcas Padrão (VirtualNetwork, AzureLoadBalancer, Internet), Marcas do Sistema e o asterisco (*).

expandedSourceAddressPrefix
IList<String>

O prefixo de endereço de origem expandido.

expandedDestinationAddressPrefix
IList<String>

Prefixo de endereço de destino expandido.

access
String

Se o tráfego de rede é permitido ou negado. Os valores possíveis incluem: 'Allow', 'Deny'

priority
Nullable<Int32>

A prioridade da regra.

direction
String

A direção da regra. Os valores possíveis incluem: 'Inbound', 'Outbound'

Aplica-se a