Skip to content

Commit 8e135b0

Browse files
committed
edits
1 parent c9b259e commit 8e135b0

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

articles/redis/scripts/create-manage-cache.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ The scripts in this article use the following commands. Select the links in the
2121

2222
::: zone pivot="azure-managed-redis"
2323

24+
>[!NOTE]
25+
>The [az redisenterprise](/cli/azure/redisenterprise) commands are part of the `redisenterprise` extension for the Azure CLI, version 2.61.0 or higher. The extension automatically installs the first time you run an `az redisenterprise` command.
26+
2427
| Command | Description |
2528
|---|---|
2629
| [az group create](/cli/azure/group) | Creates a resource group to store all resources in. |
@@ -29,9 +32,6 @@ The scripts in this article use the following commands. Select the links in the
2932
| [az redisenterprise list-keys](/cli/azure/redis) | Lists access keys for an Azure Managed Redis instance. |
3033
| [az redisenterprise delete](/cli/azure/redis) | Deletes an Azure Managed Redis instance. |
3134

32-
>[!NOTE]
33-
>The [az redisenterprise](/cli/azure/redisenterprise) commands are part of the `redisenterprise` extension for the Azure CLI, version 2.61.0 or higher. The extension automatically installs the first time you run an `az redisenterprise` command.
34-
3535
::: zone-end
3636

3737
::: zone pivot="azure-cache-redis"
@@ -60,8 +60,6 @@ The scripts in this article use the following commands. Select the links in the
6060
This sample is broken. When it is fixed, we can fix this include.
6161
-->
6262

63-
The following example script sets variables, then creates a resource group and an Azure Managed Redis cache in the resource group. Putting all your app resources in the same resource group lets you easily manage or delete them together.
64-
6563
The cache `name` must be a string of 1-63 characters that's unique in the region. The name can contain only numbers, letters, and hyphens, must start and end with a number or letter, and can't contain consecutive hyphens.
6664

6765
The `location` should be an [Azure region](https://azure.microsoft.com/regions/) near other services that use your cache. Use a cache [sku](https://azure.microsoft.com/pricing/details/cache/) and `size` that have the appropriate features and performance for your cache.
@@ -74,11 +72,13 @@ The `location` should be an [Azure region](https://azure.microsoft.com/regions/)
7472
>- If you're using the cache in a geo-replication group, you can't change eviction policies after the cache is created.
7573
>- If you're using the [RediSearch](../redis-modules.md#redisearch) module, the Enterprise cluster policy is required, and No Eviction is the only eviction policy supported.
7674
77-
For security reasons, Microsoft Entra authentication and Transport Layer Security (TLS) encryption are enabled by default for new caches. Access keys authentication is disabled. You can choose to to enable access key authentication or non-TLS connections during or after cache creation, but disabling TLS isn't recommended.
75+
For security reasons, Microsoft Entra authentication and Transport Layer Security (TLS) encryption are enabled by default for new caches. Access keys authentication is disabled. You can choose to to enable access key authentication or non-TLS connections during or after cache creation.
7876

7977
>[!IMPORTANT]
8078
>Use Microsoft Entra ID with managed identities to authorize requests against your cache if possible. Authorization using Microsoft Entra ID and managed identity provides better security and is easier to use than shared access key authorization. For more information about using managed identities with your cache, see [Use Microsoft Entra ID for cache authentication](../../azure-cache-for-redis/cache-azure-active-directory-for-authentication.md).
8179
80+
The following example script sets variables, then creates a resource group and an Azure Managed Redis cache in the resource group. Putting all your app resources in the same resource group lets you easily manage or delete them together.
81+
8282
```azurecli
8383
8484
# Variable block
@@ -148,17 +148,16 @@ az group delete --resource-group $resourceGroup -y
148148
This sample is broken. When it is fixed, we can fix this include.
149149
-->
150150

151-
The following example script sets variables, then creates a resource group and an Azure Cache for Redis cache in the resource group. Putting all your app resources in the same resource group lets you easily manage or delete them together.
152-
153151
The cache `name` must be a string of 1-63 characters that's unique in the region. It can contain only numbers, letters, and hyphens, must start and end with a number or letter, and can't contain consecutive hyphens.
154152

155153
The `location` should be an [Azure region](https://azure.microsoft.com/regions/) near other services that use your cache. Use a cache [sku](https://azure.microsoft.com/pricing/details/cache/) and `size` that have the appropriate features and performance for your cache.
156154

157155
For security reasons, Microsoft Entra Authentication and TLS encryption are enabled by default for new caches. You can choose to enable access key authentication or non-TLS connections during or after cache creation.
158156

159157
>[!IMPORTANT]
160-
>
161-
Use Microsoft Entra ID with managed identities to authorize requests against your cache if possible. Authorization using Microsoft Entra ID and managed identity provides better security and is easier to use than shared access key authorization. For more information about using managed identities with your cache, see [Use Microsoft Entra ID for cache authentication](../../azure-cache-for-redis/cache-azure-active-directory-for-authentication.md).
158+
>Use Microsoft Entra ID with managed identities to authorize requests against your cache if possible. Authorization using Microsoft Entra ID and managed identity provides better security and is easier to use than shared access key authorization. For more information about using managed identities with your cache, see [Use Microsoft Entra ID for cache authentication](../../azure-cache-for-redis/cache-azure-active-directory-for-authentication.md).
159+
160+
The following example script sets variables, then creates a resource group and an Azure Cache for Redis cache in the resource group. Putting all your app resources in the same resource group lets you easily manage or delete them together.
162161

163162
```azurecli
164163

0 commit comments

Comments
 (0)