IPSecurityRestrictionHeaders Class

Definition

IP restriction rule headers. X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). The matching logic is ..

  • If the property is null or empty (default), all hosts(or lack of) are allowed.
  • A value is compared using ordinal-ignore-case (excluding port number).
  • Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com but not the root domain contoso.com or multi-level foo.bar.contoso.com
  • Unicode host names are allowed but are converted to Punycode for matching. 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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IPSecurityRestrictionHeadersTypeConverter))]
public class IPSecurityRestrictionHeaders : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IIPSecurityRestrictionHeaders, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IAssociativeArray<System.Collections.Generic.List<string>>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IPSecurityRestrictionHeadersTypeConverter))>]
type IPSecurityRestrictionHeaders = class
    interface IIPSecurityRestrictionHeaders
    interface IJsonSerializable
    interface IAssociativeArray<List<string>>
Public Class IPSecurityRestrictionHeaders
Implements IAssociativeArray(Of List(Of String)), IIPSecurityRestrictionHeaders
Inheritance
IPSecurityRestrictionHeaders
Attributes
Implements

Constructors

Name Description
IPSecurityRestrictionHeaders()

Creates an new IPSecurityRestrictionHeaders instance.

Fields

Name Description
__additionalProperties

Properties

Name Description
Item[String]

Methods

Name Description
Add(String, List<String>)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of IPSecurityRestrictionHeaders.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IPSecurityRestrictionHeaders.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IIPSecurityRestrictionHeaders.

FromJsonString(String)

Creates a new instance of IPSecurityRestrictionHeaders, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of IPSecurityRestrictionHeaders into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
TryGetValue(String, List<String>)

Operators

Name Description
Implicit(IPSecurityRestrictionHeaders to Dictionary<String,List<String>>)

Explicit Interface Implementations

Name Description
IAssociativeArray<List<String>>.AdditionalProperties
IAssociativeArray<List<String>>.Count
IAssociativeArray<List<String>>.Keys
IAssociativeArray<List<String>>.Values

Applies to