Skip to content

Commit 762f2e2

Browse files
authored
Merge pull request #174856 from ggailey777/fix-up
[Functions] Clarify that host.json applies to all functions in the app instance
2 parents 912bb69 + 142f444 commit 762f2e2

13 files changed

+32
-20
lines changed

articles/azure-functions/functions-app-settings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ ms.date: 07/27/2021
77

88
# App settings reference for Azure Functions
99

10-
App settings in a function app contain global configuration options that affect all functions for that function app. When you run locally, these settings are accessed as local [environment variables](functions-develop-local.md#local-settings-file). This article lists the app settings that are available in function apps.
10+
App settings in a function app contain configuration options that affect all functions for that function app. When you run locally, these settings are accessed as local [environment variables](functions-develop-local.md#local-settings-file). This article lists the app settings that are available in function apps.
1111

1212
[!INCLUDE [Function app settings](../../includes/functions-app-settings.md)]
1313

14-
There are other global configuration options in the [host.json](functions-host-json.md) file and in the [local.settings.json](functions-develop-local.md#local-settings-file) file.
14+
There are other function app configuration options in the [host.json](functions-host-json.md) file and in the [local.settings.json](functions-develop-local.md#local-settings-file) file.
1515
Example connection string values are truncated for readability.
1616

1717
> [!NOTE]
@@ -397,6 +397,6 @@ Indicates whether all outbound traffic from the app is routed through the virtua
397397

398398
[Learn how to update app settings](functions-how-to-use-azure-function-app-settings.md#settings)
399399

400-
[See global settings in the host.json file](functions-host-json.md)
400+
[See configuration settings in the host.json file](functions-host-json.md)
401401

402402
[See other app settings for App Service apps](https://github.com/projectkudu/kudu/wiki/Configurable-settings)

articles/azure-functions/functions-bindings-cosmosdb-v2-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ By default, when you write to the output parameter in your function, a document
695695

696696
## host.json settings
697697

698-
This section describes the global configuration settings available for this binding in Azure Functions version 2.x. For more information about global configuration settings in Azure Functions version 2.x, see [host.json reference for Azure Functions version 2.x](functions-host-json.md).
698+
[!INCLUDE [functions-host-json-section-intro](../../includes/functions-host-json-section-intro.md)]
699699

700700
```json
701701
{

articles/azure-functions/functions-bindings-cosmosdb-v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Functions 1.x apps automatically have a reference the [Microsoft.Azure.WebJobs](
6969

7070
## host.json settings
7171

72-
This section describes the global configuration settings available for this binding in Azure Functions version 2.x. For more information about global configuration settings in Azure Functions version 2.x, see [host.json reference for Azure Functions version 2.x](functions-host-json.md).
72+
[!INCLUDE [functions-host-json-section-intro](../../includes/functions-host-json-section-intro.md)]
7373

7474
```json
7575
{

articles/azure-functions/functions-bindings-http-webhook-output.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ For example responses, see the [trigger example](./functions-bindings-http-webho
3535

3636
## host.json settings
3737

38-
This section describes the global configuration settings available for this binding in versions 2.x and higher. The example host.json file below contains only the version 2.x+ settings for this binding. For more information about global configuration settings in versions 2.x and beyond, see [host.json reference for Azure Functions](functions-host-json.md).
38+
[!INCLUDE [functions-host-json-section-intro](../../includes/functions-host-json-section-intro.md)]
3939

4040
> [!NOTE]
4141
> For a reference of host.json in Functions 1.x, see [host.json reference for Azure Functions 1.x](functions-host-json-v1.md#http).
@@ -71,4 +71,4 @@ This section describes the global configuration settings available for this bind
7171

7272
## Next steps
7373

74-
- [Run a function from an HTTP request](./functions-bindings-http-webhook-trigger.md)
74+
- [Run a function from an HTTP request](./functions-bindings-http-webhook-trigger.md)

articles/azure-functions/functions-bindings-rabbitmq-trigger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ Dead letter queues and exchanges can't be controlled or configured from the Rabb
260260

261261
## host.json settings
262262

263-
This section describes the global configuration settings available for this binding in versions 2.x and higher. The example *host.json* file below contains only the settings for this binding. For more information about global configuration settings, see [host.json reference for Azure Functions version](functions-host-json.md).
263+
[!INCLUDE [functions-host-json-section-intro](../../includes/functions-host-json-section-intro.md)]
264264

265265
```json
266266
{

articles/azure-functions/functions-bindings-sendgrid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ Optional properties may have default values defined in the binding and either ad
372372

373373
## host.json settings
374374

375-
This section describes the global configuration settings available for this binding in versions 2.x and higher. The example host.json file below contains only the version 2.x+ settings for this binding. For more information about global configuration settings in versions 2.x and beyond, see [host.json reference for Azure Functions](functions-host-json.md).
375+
[!INCLUDE [functions-host-json-section-intro](../../includes/functions-host-json-section-intro.md)]
376376

377377
> [!NOTE]
378378
> For a reference of host.json in Functions 1.x, see [host.json reference for Azure Functions 1.x](functions-host-json-v1.md).

articles/azure-functions/functions-bindings-service-bus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Functions 1.x apps automatically have a reference to the [Microsoft.Azure.WebJob
6262

6363
## host.json settings
6464

65-
This section describes the global configuration settings available for this binding in versions 2.x and higher. The example host.json file below contains only the settings for this binding. For more information about global configuration settings, see [host.json reference for Azure Functions version](functions-host-json.md).
65+
[!INCLUDE [functions-host-json-section-intro](../../includes/functions-host-json-section-intro.md)]
6666

6767
> [!NOTE]
6868
> For a reference of host.json in Functions 1.x, see [host.json reference for Azure Functions 1.x](functions-host-json-v1.md).

articles/azure-functions/functions-bindings-storage-blob.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ Functions 1.x apps automatically have a reference the [Microsoft.Azure.WebJobs](
5151

5252
## host.json settings
5353

54-
> [!NOTE]
55-
> This section does not apply when using extension versions prior to 5.0.0. For those versions, there are no global configuration settings for blobs.
54+
This section describes the function app configuration settings available for functions that this binding. These settings only apply when using [extension version 5.0.0 and higher](#storage-extension-5x-and-higher). The example host.json file below contains only the version 2.x+ settings for this binding. For more information about function app configuration settings in versions 2.x and later versions, see [host.json reference for Azure Functions](functions-host-json.md).
5655

57-
This section describes the global configuration settings available for this binding when using [extension version 5.0.0 and higher](#storage-extension-5x-and-higher). The example *host.json* file below contains only the version 2.x+ settings for this binding. For more information about global configuration settings in Functions versions 2.x and beyond, see [host.json reference for Azure Functions](functions-host-json.md).
56+
> [!NOTE]
57+
> This section doesn't apply to extension versions before 5.0.0. For those earlier versions, there aren't any function app-wide configuration settings for blobs.
5858
5959
```json
6060
{

articles/azure-functions/functions-bindings-storage-queue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Functions 1.x apps automatically have a reference the [Microsoft.Azure.WebJobs](
5353

5454
## host.json settings
5555

56-
This section describes the global configuration settings available for this binding in versions 2.x and higher. The example *host.json* file below contains only the version 2.x+ settings for this binding. For more information about global configuration settings in versions 2.x and beyond, see [host.json reference for Azure Functions](functions-host-json.md).
56+
[!INCLUDE [functions-host-json-section-intro](../../includes/functions-host-json-section-intro.md)]
5757

5858
> [!NOTE]
5959
> For a reference of host.json in Functions 1.x, see [host.json reference for Azure Functions 1.x](functions-host-json-v1.md).

articles/azure-functions/functions-host-json-v1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 10/19/2018
1111
> * [Version 1](functions-host-json-v1.md)
1212
> * [Version 2](functions-host-json.md)
1313
14-
The *host.json* metadata file contains global configuration options that affect all functions for a function app. This article lists the settings that are available for the v1 runtime. The JSON schema is at http://json.schemastore.org/host.
14+
The *host.json* metadata file contains configuration options that affect all functions in a function app instance. This article lists the settings that are available for the version 1.x runtime. The JSON schema is at http://json.schemastore.org/host.
1515

1616
> [!NOTE]
1717
> This article is for Azure Functions 1.x. For a reference of host.json in Functions 2.x and later, see [host.json reference for Azure Functions 2.x](functions-host-json.md).
@@ -371,4 +371,4 @@ A set of [shared code directories](functions-reference-csharp.md#watched-directo
371371
> [Learn how to update the host.json file](functions-reference.md#fileupdate)
372372
373373
> [!div class="nextstepaction"]
374-
> [See global settings in environment variables](functions-app-settings.md)
374+
> [Persist settings in environment variables](functions-app-settings.md)

0 commit comments

Comments
 (0)