Skip to content

Commit 9ee6898

Browse files
committed
edits
1 parent 1ac414a commit 9ee6898

File tree

6 files changed

+39
-27
lines changed

6 files changed

+39
-27
lines changed

articles/azure-cache-for-redis/cache-java-get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Quickstart: Use Azure Cache for Redis in Java'
3-
description: In this quickstart, you create a new Java app that uses Azure Cache for Redis
3+
description: In this quickstart, you create a new Java app that uses Azure Cache for Redis.
44
author: KarlErickson
55
ms.author: zhihaoguo
66
ms.date: 01/04/2022
@@ -12,11 +12,11 @@ ms.custom: devx-track-java, devx-track-javaee, mode-api, mvc, devx-track-extende
1212

1313
# Quickstart: Use Azure Cache for Redis in Java
1414

15-
In this quickstart, you incorporate Azure Cache for Redis into a Java app using the [Jedis](https://github.com/xetorthio/jedis) Redis client. Your cache is a secure, dedicated cache that is accessible from any application within Azure.
15+
In this quickstart, you incorporate Azure Cache for Redis into a Java app by using the [Jedis](https://github.com/xetorthio/jedis) Redis client. Your cache is a secure, dedicated cache that is accessible from any application within Azure.
1616

17-
## Skip to the code on GitHub
17+
## Skip to the code
1818

19-
Clone the repo [Java quickstart](https://github.com/Azure-Samples/azure-cache-redis-samples/tree/main/quickstart/java) on GitHub.
19+
Clone the repo on GitHub: [Java quickstart](https://github.com/Azure-Samples/azure-cache-redis-samples/tree/main/quickstart/java)
2020

2121
## Prerequisites
2222

articles/azure-cache-for-redis/cache-java-redisson-get-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ ms.custom: mvc, seo-java-january2024, seo-java-february2024, mode-api, devx-trac
1515

1616
In this quickstart, you incorporate Azure Cache for Redis into a Java app using the [Redisson](https://redisson.org/) Redis client and JCP standard JCache API. These services give you access to a secure, dedicated cache that is accessible from any application within Azure. This article provides two options for selecting the Azure identity to use for the Redis connection.
1717

18-
## Skip to the code on GitHub
18+
## Skip to the code
1919

20-
This quickstart uses the Maven archetype feature to generate the scaffolding for the app. The quickstart directs you to modify the generated code to arrive at the working sample app. If you want to skip straight to the completed code, see the [Java quickstart](https://github.com/Azure-Samples/azure-cache-redis-samples/tree/main/quickstart/java-redisson-jcache) on GitHub.
20+
This quickstart uses the Maven archetype feature to generate scaffolding for the app. The quickstart describes how to modify the generated code to end up with a working sample app. If you want to go straight to the completed code, clone the repository on GitHub: [Java quickstart](https://github.com/Azure-Samples/azure-cache-redis-samples/tree/main/quickstart/java-redisson-jcache)
2121

2222
## Prerequisites
2323

2424
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
2525
- [Use Microsoft Entra ID for cache authentication](cache-azure-active-directory-for-authentication.md)
2626
- [Apache Maven](https://maven.apache.org/download.cgi)
2727

28-
## Create an Azure Cache for Redis
28+
## Create a cache
2929

3030
[!INCLUDE [redis-cache-create](~/reusable-content/ce-skilling/azure/includes/azure-cache-for-redis/includes/redis-cache-create.md)]
3131

articles/azure-cache-for-redis/includes/cache-delete-resource-group.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ ms.topic: include
1212

1313
If you want to continue to use the resources you created in this article, keep the resource group.
1414

15-
Otherwise, if you're finished with the resources, you can delete the Azure resource group that you created to avoid charges.
15+
Otherwise, to avoid charges, if you're finished with the resources, you can delete the Azure resource group that you created.
1616

17-
> [!IMPORTANT]
18-
> Deleting a resource group is irreversible. When you delete a resource group, all the resources in it are permanently deleted. Make sure that you do not accidentally delete the wrong resource group or resources. If you created the resources inside an existing resource group that contains resources you want to keep, you can delete each resource individually instead of deleting the resource group.
17+
> [!WARNING]
18+
> Deleting a resource group is irreversible. When you delete a resource group, all the resources in the resource group are permanently deleted. Make sure that you do not accidentally delete the wrong resource group or resources. If you created the resources inside an existing resource group that has resources you want to keep, you can delete each resource individually instead of deleting the resource group.
1919
2020
### To delete a resource group
2121

articles/azure-cache-for-redis/includes/cache-entra-access.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,23 @@ ms.topic: include
1010

1111
### Enable Microsoft Entra ID authentication on your cache
1212

13-
If you have a cache already, you first want to check to see if Microsoft Entra Authentication has been enabled. If not, then enable it. We recommend using Microsoft Entra ID for your applications.
13+
For an existing cache, first check to see if Microsoft Entra authentication is enabled. If it's not, complete the following steps to enable Microsoft Entra authentication. We recommend that you use Microsoft Entra ID for authentication in your applications.
1414

1515
1. In the Azure portal, select the Azure Cache for Redis instance where you'd like to use Microsoft Entra token-based authentication.
1616

17-
1. Select **Authentication** from the Resource menu.
17+
1. On the service menu, under **Settings**, select **Authentication**.
1818

19-
1. Check in the working pane to see if **Enable Microsoft Entra Authentication** is checked. If so, you can move on.
19+
1. On the **Authentication** pane, check to see whether the **Enable Microsoft Entra Authentication** checkbox is selected. If it is, you can move on to the next section.
2020

21-
1. Select **Enable Microsoft Entra Authentication**, and enter the name of a valid user. The user you enter is automatically assigned _Data Owner Access Policy_ by default when you select **Save**. You can also enter a managed identity or service principal to connect to your cache instance.
21+
1. Otherwise, select the **Enable Microsoft Entra Authentication** checkbox. Then, enter the name of a valid user. Select **Save**. The user name that you enter is automatically assigned the Data Owner Access Policy.
2222

23-
:::image type="content" source="media/cache-entra-access/cache-enable-microsoft-entra.png" alt-text="Screenshot showing authentication selected in the resource menu and the enable Microsoft Entra authentication checked.":::
23+
You also can enter a managed identity or a service principal to connect to your cache.
2424

25-
1. A popup dialog box displays asking if you want to update your configuration, and informing you that it takes several minutes. Select **Yes.**
25+
:::image type="content" source="media/cache-entra-access/cache-enable-microsoft-entra.png" alt-text="Screenshot that shows Authentication selected in the service menu and the Enable Microsoft Entra Authentication checkbox selected.":::
26+
27+
1. In a dialog box, you're asked if you want to update your configuration, and you're informated that making the update takes several minutes to finish. Select **Yes.**
2628

2729
> [!IMPORTANT]
28-
> Once the enable operation is complete, the nodes in your cache instance reboots to load the new configuration. We recommend performing this operation during your maintenance window or outside your peak business hours. The operation can take up to 30 minutes.
30+
> When the enable operation is finished, the nodes in your cache reboot to load the new configuration. We recommend that you complete this operation during your standard maintenance window or outside your peak business hours. The process can take up to 30 minutes.
2931
30-
For information on using Microsoft Entra ID with Azure CLI, see the [references pages for identity](/cli/azure/redis/identity).
32+
For information about using Microsoft Entra ID with the Azure CLI, see the [identity reference pages](/cli/azure/redis/identity).

articles/azure-cache-for-redis/includes/redis-access-policy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ ms.topic: include
1010

1111
## Add the Redis access policy
1212

13-
You need to assign a data access policy to the identity that accesses Azure Cache for Redis. For this example, you assign a data access policy to the same Microsoft Entra ID account you use to log into the Azure CLI or Visual Studio.
13+
You need to assign a data access policy to the identity that accesses Azure Cache for Redis. For this example, you assign a data access policy to the same Microsoft Entra ID account you use to sign in to the Azure CLI or Visual Studio.
1414

1515
1. Select **Settings** Resource menu on the cache and select the **Data Access Configuration**.
1616

17-
1. On the **Data Access Configuration** page, select **Add > New Redis User** from the top navigation.
17+
1. On the **Data Access Configuration** pane, select **Add** > **New Redis User**.
1818

1919
:::image type="content" source="media/redis-access-policy/assign-access-policy.png" alt-text="Screenshot showing the data access configuration screen.":::
2020

2121
1. On the **New Redis User** page, select the **Data Contributor** policy, and select **Next: Redis Users**.
2222

23-
1. Choose **+ Select Member** to open the flyout menu. Search for your user account and select it from the results.
23+
1. Choose **Select Member** to open the flyout menu. Search for your user account and select it from the results.
2424

2525
:::image type="content" source="media/redis-access-policy/select-user.png" alt-text="Screenshot showing the Redis user tab in the working pane with select member highlighted with a red box.":::
2626

articles/azure-cache-for-redis/includes/redis-cache-access-keys.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,24 @@ ms.date: 08/16/2024
88
ms.topic: include
99
---
1010

11-
### Retrieve host name, ports, and access keys from the Azure portal
11+
### Get the host name, ports, and access key
1212

13-
To connect your Azure Cache for Redis server, the cache client needs the host name, ports, and a key for the cache. Some clients might refer to these items by slightly different names. You can get the host name, ports, and keys from the [Azure portal](https://portal.azure.com).
13+
To connect to your Azure Cache for Redis server, the cache client needs the cache's host name, ports, and an access key. Some clients might refer to these items by using slightly different names. You can get the host name, ports, and keys in the [Azure portal](https://portal.azure.com).
1414

15-
- To get the access keys, select **Authentication** from the Resource menu. Then, select the **Access keys** tab.
15+
- To get an access key for your cache:
16+
17+
1. In the Azure portal, go to your cache.
18+
1. On the service menu, under **Settings**, select **Authentication**.
19+
1. On the **Authentication** pane, select the **Access keys** tab.
20+
1. To copy the value for an access key, select the **Copy** icon in the key field.
1621

17-
![Azure Cache for Redis keys](media/redis-cache-access-keys/redis-cache-keys.png)
22+
![Screenshot that shows how to go to and copy an access key for an instance of Azure Cache for Redis.](media/redis-cache-access-keys/redis-cache-keys.png)
23+
24+
- To get the host name and ports for your cache:
1825

19-
- To get the host name and ports for your cache, select **Overview** from the Resource menu. The host name is of the form *\<DNS name>.redis.cache.windows.net*.
26+
1. In the Azure portal, go to your cache.
27+
1. On the service menu, select **Overview**.
28+
1. Under **Essentials**, for **Host name**, select the **Copy** icon to copy the host name value. The host name value has the form `<DNS name>.redis.cache.windows.net`.
29+
1. For **Ports**, select the **Copy** icon to copy the port values.
2030

21-
![Azure Cache for Redis properties](media/redis-cache-access-keys/redis-cache-hostname-ports.png)
31+
![Screenshot that shows how to go to and copy the host name and ports for an instance of Azure Cache for Redis.](media/redis-cache-access-keys/redis-cache-hostname-ports.png)

0 commit comments

Comments
 (0)