IpSecurityRestriction Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
IpSecurityRestriction() |
Inicializa uma nova instância da classe IpSecurityRestriction. |
IpSecurityRestriction(String, String, String, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int32>, String, String, IDictionary<String,IList<String>>) |
Inicializa uma nova instância da classe IpSecurityRestriction. |
IpSecurityRestriction()
Inicializa uma nova instância da classe IpSecurityRestriction.
public IpSecurityRestriction ();
Public Sub New ()
Aplica-se a
IpSecurityRestriction(String, String, String, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int32>, String, String, IDictionary<String,IList<String>>)
Inicializa uma nova instância da classe IpSecurityRestriction.
public IpSecurityRestriction (string ipAddress = default, string subnetMask = default, string vnetSubnetResourceId = default, int? vnetTrafficTag = default, int? subnetTrafficTag = default, string action = default, string tag = default, int? priority = default, string name = default, string description = default, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>> headers = default);
new Microsoft.Azure.Management.WebSites.Models.IpSecurityRestriction : string * string * string * Nullable<int> * Nullable<int> * string * string * Nullable<int> * string * string * System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>> -> Microsoft.Azure.Management.WebSites.Models.IpSecurityRestriction
Public Sub New (Optional ipAddress As String = Nothing, Optional subnetMask As String = Nothing, Optional vnetSubnetResourceId As String = Nothing, Optional vnetTrafficTag As Nullable(Of Integer) = Nothing, Optional subnetTrafficTag As Nullable(Of Integer) = Nothing, Optional action As String = Nothing, Optional tag As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional name As String = Nothing, Optional description As String = Nothing, Optional headers As IDictionary(Of String, IList(Of String)) = Nothing)
Parâmetros
- ipAddress
- String
Endereço IP para o qual a restrição de segurança é válida. Ele pode estar na forma de endereço ipv4 puro (propriedade SubnetMask necessária) ou notação CIDR, como ipv4/mask (correspondência de bits à esquerda). Para CIDR, a propriedade SubnetMask não deve ser especificada.
- subnetMask
- String
Máscara de sub-rede para o intervalo de endereços IP para os quais a restrição é válida.
- vnetSubnetResourceId
- String
ID do recurso de rede virtual
- action
- String
Permitir ou negar acesso para esse intervalo de IP.
- tag
- String
Define para que esse filtro IP será usado. Isso é para dar suporte à filtragem de IP em proxies. Os valores possíveis incluem: 'Default', 'XffProxy', 'ServiceTag'
- name
- String
Nome da regra de restrição de IP.
- description
- String
Descrição da regra de restrição de IP.
- headers
- IDictionary<String,IList<String>>
Cabeçalhos de regra de restrição de IP. X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). A lógica correspondente é .. – Se a propriedade for nula ou vazia (padrão), todos os hosts (ou falta de) serão permitidos. – Um valor é comparado usando ordinal-ignore-case (excluindo o número da porta). – Caracteres curinga de subdomínio são permitidos, mas não correspondem ao domínio raiz. Por exemplo, *.contoso.com corresponde ao subdomínio foo.contoso.com mas não aos contoso.com de domínio raiz ou foo.bar.contoso.com de vários níveis – os nomes de host Unicode são permitidos, mas são convertidos em Punycode para correspondência.
X-Forwarded-For
(https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples).
The matching logic is ..
- If the property is null or empty (default), any forwarded-for
chains (or lack of) are allowed.
- If any address (excluding port number) in the chain (comma
separated) matches the CIDR defined by the property.
X-Azure-FDID and X-FD-HealthProbe.
The matching logic is exact match.
Aplica-se a
Azure SDK for .NET