You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> In this tutorial, "service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path" is being set to "/healthz". This means if the response code of the requests to "/healthz" is not "200", the whole ingress controller will be down. You can modify the value to other URI in your own scenario. You cannot delete this part or unset the value, or the ingress controller will still be down.
73
-
> The package "ingress-nginx" used in this tutorial, which is provided by [Kubernetes official](https://github.com/kubernetes/ingress-nginx), will always return "200" response code if requesting "/healthz", as it is designed as "[default backend](https://kubernetes.github.io/ingress-nginx/user-guide/default-backend/)" for users to have a quick start, unless it is being overwritten by ingress rules.
74
-
75
71
---
76
72
73
+
> [!NOTE]
74
+
> In this tutorial, `service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path` is being set to `/healthz`. This means if the response code of the requests to `/healthz` is not `200`, the entire ingress controller will be down. You can modify the value to other URI in your own scenario. You cannot delete this part or unset the value, or the ingress controller will still be down.
75
+
> The package `ingress-nginx` used in this tutorial, which is provided by [Kubernetes official](https://github.com/kubernetes/ingress-nginx), will always return `200` response code if requesting `/healthz`, as it is designed as [default backend](https://kubernetes.github.io/ingress-nginx/user-guide/default-backend/) for users to have a quick start, unless it is being overwritten by ingress rules.
76
+
77
77
## Customized configuration
78
78
79
79
As an alternative to the basic configuration presented in the above section, the next set of steps will show how to deploy a customized ingress controller. You'll have the option of using an internal static IP address, or using a dynamic public IP address.
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-azure-active-directory-for-authentication.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,17 +90,17 @@ Because most Azure Cache for Redis clients assume that a password and access key
90
90
91
91
### Microsoft Entra Client Workflow
92
92
93
-
1. Configure your client application to acquire a Microsoft Entra token for scope, `https://redis.azure.com/.default` or `acca5fbb-b7e4-4009-81f1-37e38fd66d78/.default`, using the [Microsoft Authentication Library (MSAL)](/azure/active-directory/develop/msal-overview).
93
+
1. Configure your client application to acquire a Microsoft Entra token for scope, `https://redis.azure.com/.default` or `acca5fbb-b7e4-4009-81f1-37e38fd66d78/.default`, using the [Microsoft Authentication Library (MSAL)](/azure/active-directory/develop/msal-overview).
94
94
95
-
1. Update your Redis connection logic to use following `UserName` and `Password`:
95
+
1. Update your Redis connection logic to use following `User` and `Password`:
96
96
97
-
`UserName` = Object ID of your managed identity or service principal
98
-
`Password` = Microsoft Entra token that you acquired using MSAL
97
+
-`User` = Object ID of your managed identity or service principal
98
+
-`Password` = Microsoft Entra token that you acquired using MSAL
99
99
100
100
1. Ensure that your client executes a Redis [AUTH command](https://redis.io/commands/auth/) automatically before your Microsoft Entra token expires using:
101
101
102
-
`UserName` = Object ID of your managed identity or service principal
103
-
`Password` = Microsoft Entra token refreshed periodically
102
+
-`User` = Object ID of your managed identity or service principal
103
+
-`Password` = Microsoft Entra token refreshed periodically
@@ -76,10 +76,10 @@ In the [previous quickstart article](./create-first-function-vs-code-csharp.md),
76
76
77
77
|Prompt| Selection|
78
78
|--|--|
79
-
|**Enter new app setting name**| Type `CosmosDbConnectionString`.|
80
-
|**Enter value for "CosmosDbConnectionString"**| Paste the connection string of your Azure Cosmos DB account you copied.|
79
+
|**Enter new app setting name**| Type `CosmosDbConnectionSetting`.|
80
+
|**Enter value for "CosmosDbConnectionSetting"**| Paste the connection string of your Azure Cosmos DB account you copied. You can also configure [Microsoft Entra identity](./functions-bindings-cosmosdb-v2-trigger.md#connections) as an alternative.|
81
81
82
-
This creates an application setting named connection `CosmosDbConnectionString` in your function app in Azure. Now, you can download this setting to your local.settings.json file.
82
+
This creates an application setting named connection `CosmosDbConnectionSetting` in your function app in Azure. Now, you can download this setting to your local.settings.json file.
83
83
84
84
1. Press <kbd>F1</kbd> again to open the command palette, then search for and run the command `Azure Functions: Download Remote Settings...`.
85
85
@@ -97,11 +97,11 @@ Except for HTTP and timer triggers, bindings are implemented as extension packag
@@ -141,7 +141,7 @@ The `documentsOut` parameter is an `IAsyncCollector<T>` type, which represents a
141
141
142
142
---
143
143
144
-
Specific attributes specify the name of the container and the name of its parent database. The connection string for your Azure Cosmos DB account is set by the `CosmosDbConnectionString`.
144
+
Specific attributes specify the name of the container and the name of its parent database. The connection string for your Azure Cosmos DB account is set by the `CosmosDbConnectionSetting`.
145
145
146
146
::: zone-end
147
147
@@ -159,7 +159,7 @@ To create a binding, right-click (Ctrl+select on macOS) the *function.json* file
159
159
|**The Azure Cosmos DB database where data will be written**|`my-database`| The name of the Azure Cosmos DB database containing the target container. |
160
160
|**Database collection where data will be written**|`my-container`| The name of the Azure Cosmos DB container where the JSON documents will be written. |
161
161
|**If true, creates the Azure Cosmos DB database and collection**|`false`| The target database and container already exist. |
162
-
|**Select setting from "local.setting.json"**|`CosmosDbConnectionString`| The name of an application setting that contains the connection string for the Azure Cosmos DB account. |
162
+
|**Select setting from "local.setting.json"**|`CosmosDbConnectionSetting`| The name of an application setting that contains the connection string for the Azure Cosmos DB account. |
163
163
|**Partition key (optional)**|*leave blank*| Only required when the output binding creates the container. |
164
164
|**Collection throughput (optional)**|*leave blank*| Only required when the output binding creates the container. |
165
165
@@ -171,9 +171,9 @@ A binding is added to the `bindings` array in your *function.json*, which should
@@ -197,7 +197,7 @@ To create a binding, right-select (Ctrl+select on macOS) the *function.json* fil
197
197
|**The Azure Cosmos DB database where data will be written**|`my-database`| The name of the Azure Cosmos DB database containing the target container. |
198
198
|**Database collection where data will be written**|`my-container`| The name of the Azure Cosmos DB container where the JSON documents will be written. |
199
199
|**If true, creates the Azure Cosmos DB database and collection**|`false`| The target database and container already exist. |
200
-
|**Select setting from "local.setting.json"**|`CosmosDbConnectionString`| The name of an application setting that contains the connection string for the Azure Cosmos DB account. |
200
+
|**Select setting from "local.setting.json"**|`CosmosDbConnectionSetting`| The name of an application setting that contains the connection string for the Azure Cosmos DB account. |
201
201
|**Partition key (optional)**|*leave blank*| Only required when the output binding creates the container. |
202
202
|**Collection throughput (optional)**|*leave blank*| Only required when the output binding creates the container. |
203
203
@@ -209,9 +209,9 @@ A binding is added to the `bindings` array in your *function.json*, which should
In this code, `arg_name` identifies the binding parameter referenced in your code, `database_name` and `collection_name` are the database and collection names that the binding writes to, and `connection_string_setting` is the name of an application setting that contains the connection string for the Storage account, which is in the CosmosDbConnectionString setting in the *local.settings.json* file.
227
+
In this code, `arg_name` identifies the binding parameter referenced in your code, `database_name` and `container_name` are the database and collection names that the binding writes to, and `connection` is the name of an application setting that contains the connection string for the Azure Cosmos DB account, which is in the `CosmosDbConnectionSetting` setting in the *local.settings.json* file.
228
228
229
229
---
230
230
@@ -265,8 +265,8 @@ public static async Task<IActionResult> Run(
0 commit comments