Share via


IIPSecurityRestriction.Header Property

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.
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.Info(Description="IP restriction rule headers.\r\n        X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples).\r\n        The matching logic is ..\r\n        - If the property is null or empty (default), all hosts(or lack of) are allowed.\r\n        - A value is compared using ordinal-ignore-case (excluding port number).\r\n        - Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com\r\n         but not the root domain contoso.com or multi-level foo.bar.contoso.com\r\n        - Unicode host names are allowed but are converted to Punycode for matching.\r\n\r\n        X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples).\r\n        The matching logic is ..\r\n        - If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed.\r\n        - If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property.\r\n\r\n        X-Azure-FDID and X-FD-HealthProbe.\r\n        The matching logic is exact match.", PossibleTypes=new System.Type[] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IIPSecurityRestrictionHeaders) }, ReadOnly=false, Required=false, SerializedName="headers")]
public Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IIPSecurityRestrictionHeaders Header { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.Info(Description="IP restriction rule headers.\r\n        X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples).\r\n        The matching logic is ..\r\n        - If the property is null or empty (default), all hosts(or lack of) are allowed.\r\n        - A value is compared using ordinal-ignore-case (excluding port number).\r\n        - Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com\r\n         but not the root domain contoso.com or multi-level foo.bar.contoso.com\r\n        - Unicode host names are allowed but are converted to Punycode for matching.\r\n\r\n        X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples).\r\n        The matching logic is ..\r\n        - If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed.\r\n        - If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property.\r\n\r\n        X-Azure-FDID and X-FD-HealthProbe.\r\n        The matching logic is exact match.", PossibleTypes=new System.Type[] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IIPSecurityRestrictionHeaders) }, ReadOnly=false, Required=false, SerializedName="headers")>]
member this.Header : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IIPSecurityRestrictionHeaders with get, set
Public Property Header As IIPSecurityRestrictionHeaders

Property Value

Attributes

Applies to