From 01b82024a179c6915b6d745b555a741d9daf6c65 Mon Sep 17 00:00:00 2001 From: Aris van Ommeren Date: Tue, 20 Apr 2021 18:26:57 +0200 Subject: [PATCH] docs --- website/docs/r/app_service.html.markdown | 18 +++++++++++++++++- website/docs/r/app_service_slot.html.markdown | 15 +++++++++++++++ website/docs/r/function_app.html.markdown | 19 ++++++++++++++++++- .../docs/r/function_app_slot.html.markdown | 14 ++++++++++++++ 4 files changed, 64 insertions(+), 2 deletions(-) diff --git a/website/docs/r/app_service.html.markdown b/website/docs/r/app_service.html.markdown index d6448168680c..f6f8ee88456a 100644 --- a/website/docs/r/app_service.html.markdown +++ b/website/docs/r/app_service.html.markdown @@ -339,6 +339,8 @@ A `ip_restriction` block supports the following: * `action` - (Optional) Does this restriction `Allow` or `Deny` access for this IP range. Defaults to `Allow`. +* `headers` - (Optional) The headers for this specific `ip_restriction` as defined below. + --- A `scm_ip_restriction` block supports the following: @@ -355,7 +357,21 @@ A `scm_ip_restriction` block supports the following: * `priority` - (Optional) The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified. -* `action` - (Optional) Allow or Deny access for this IP range. Defaults to Allow. +* `action` - (Optional) Allow or Deny access for this IP range. Defaults to Allow. + +* `headers` - (Optional) The headers for this specific `scm_ip_restriction` as defined below. + +--- + +A `headers` block supports the following: + +* `x_azure_fdid` - (Optional) A list of allowed Azure FrontDoor IDs. + +* `x_fd_health_probe` - (Optional) A list to allow the Azure FrontDoor health probe header + +* `x_forwarded_for` - (Optional) A list of allowed 'X-Forwarded-For' IPs. + +* `x_forwarded_host` - (Optional) A list of allowed 'X-Forwarded-Host' domains. --- diff --git a/website/docs/r/app_service_slot.html.markdown b/website/docs/r/app_service_slot.html.markdown index 1d705ef41d02..02d519ae612c 100644 --- a/website/docs/r/app_service_slot.html.markdown +++ b/website/docs/r/app_service_slot.html.markdown @@ -326,6 +326,21 @@ A `ip_restriction` block supports the following: * `action` - (Optional) Does this restriction `Allow` or `Deny` access for this IP range. Defaults to `Allow`. +* `headers` - (Optional) The headers for this specific `ip_restriction` as defined below. + +--- + +A `headers` block supports the following: + +* `x_azure_fdid` - (Optional) A list of allowed Azure FrontDoor IDs. + +* `x_fd_health_probe` - (Optional) A list to allow the Azure FrontDoor health probe header + +* `x_forwarded_for` - (Optional) A list of allowed 'X-Forwarded-For' IPs. + +* `x_forwarded_host` - (Optional) A list of allowed 'X-Forwarded-Host' domains. + + --- A `microsoft` block supports the following: diff --git a/website/docs/r/function_app.html.markdown b/website/docs/r/function_app.html.markdown index 732e76e0a807..a8650f7066d3 100644 --- a/website/docs/r/function_app.html.markdown +++ b/website/docs/r/function_app.html.markdown @@ -338,6 +338,8 @@ A `ip_restriction` block supports the following: * `action` - (Optional) Does this restriction `Allow` or `Deny` access for this IP range. Defaults to `Allow`. +* `headers` - (Optional) The headers for this specific `ip_restriction` as defined below. + --- A `scm_ip_restriction` block supports the following: @@ -354,7 +356,22 @@ A `scm_ip_restriction` block supports the following: * `priority` - (Optional) The priority for this IP Restriction. Restrictions are enforced in priority order. By default, priority is set to 65000 if not specified. -* `action` - (Optional) Allow or Deny access for this IP range. Defaults to Allow. +* `action` - (Optional) Allow or Deny access for this IP range. Defaults to Allow. + +* `headers` - (Optional) The headers for this specific `scm_ip_restriction` as defined below. + +--- + +A `headers` block supports the following: + +* `x_azure_fdid` - (Optional) A list of allowed Azure FrontDoor IDs. + +* `x_fd_health_probe` - (Optional) A list to allow the Azure FrontDoor health probe header + +* `x_forwarded_for` - (Optional) A list of allowed 'X-Forwarded-For' IPs. + +* `x_forwarded_host` - (Optional) A list of allowed 'X-Forwarded-Host' domains. + --- diff --git a/website/docs/r/function_app_slot.html.markdown b/website/docs/r/function_app_slot.html.markdown index f18512e88e56..996a57562ec6 100644 --- a/website/docs/r/function_app_slot.html.markdown +++ b/website/docs/r/function_app_slot.html.markdown @@ -254,6 +254,20 @@ A `ip_restriction` block supports the following: * `action` - (Optional) Does this restriction `Allow` or `Deny` access for this IP range. Defaults to `Allow`. +* `headers` - (Optional) The headers for this specific `ip_restriction` as defined below. + +--- + +A `headers` block supports the following: + +* `x_azure_fdid` - (Optional) A list of allowed Azure FrontDoor IDs. + +* `x_fd_health_probe` - (Optional) A list to allow the Azure FrontDoor health probe header + +* `x_forwarded_for` - (Optional) A list of allowed 'X-Forwarded-For' IPs. + +* `x_forwarded_host` - (Optional) A list of allowed 'X-Forwarded-Host' domains. + ## Attributes Reference The following attributes are exported: