Skip to content

Commit 42450a4

Browse files
authored
Merge pull request MicrosoftDocs#64739 from sptramer/az/migrate-redis
Az/migrate redis
2 parents 3e9153f + 3989a80 commit 42450a4

9 files changed

+141
-125
lines changed

articles/azure-cache-for-redis/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@
105105
- name: Code samples
106106
href: https://azure.microsoft.com/resources/samples/?service=redis-cache
107107
- name: Azure PowerShell
108-
href: /powershell/module/azurerm.rediscache
109-
- name: Azure CLI Preview
108+
href: /powershell/module/az.rediscache
109+
- name: Azure CLI
110110
href: /cli/azure/redis
111111
- name: .NET
112112
href: /dotnet/api/microsoft.azure.management.redis

articles/azure-cache-for-redis/cache-administration.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ ms.author: wesmc
2020
# How to administer Azure Cache for Redis
2121
This topic describes how to perform administration tasks such as [rebooting](#reboot) and [scheduling updates](#schedule-updates) for your Azure Cache for Redis instances.
2222

23+
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
24+
2325
## Reboot
2426
The **Reboot** blade allows you to reboot one or more nodes of your cache. This reboot capability enables you to test your application for resiliency if there is a failure of a cache node.
2527

@@ -88,7 +90,7 @@ The **Schedule updates** blade allows you to designate a maintenance window for
8890

8991
To specify a maintenance window, check the desired days and specify the maintenance window start hour for each day, and click **OK**. Note that the maintenance window time is in UTC.
9092

91-
The default, and minimum, maintenance window for updates is five hours. This value is not configurable from the Azure portal, but you can configure it in PowerShell using the `MaintenanceWindow` parameter of the [New-AzureRmRedisCacheScheduleEntry](/powershell/module/azurerm.rediscache/new-azurermrediscachescheduleentry) cmdlet. For more information, see [Can I manage scheduled updates using PowerShell, CLI, or other management tools?](#can-i-manage-scheduled-updates-using-powershell-cli-or-other-management-tools)
93+
The default, and minimum, maintenance window for updates is five hours. This value is not configurable from the Azure portal, but you can configure it in PowerShell using the `MaintenanceWindow` parameter of the [New-AzRedisCacheScheduleEntry](/powershell/module/az.rediscache/new-azrediscachescheduleentry) cmdlet. For more information, see [Can I manage scheduled updates using PowerShell, CLI, or other management tools?](#can-i-manage-scheduled-updates-using-powershell-cli-or-other-management-tools)
9294

9395

9496
## Schedule updates FAQ
@@ -106,10 +108,10 @@ Only Redis server updates are made during the scheduled maintenance window. The
106108
### Can I managed scheduled updates using PowerShell, CLI, or other management tools?
107109
Yes, you can manage your scheduled updates using the following PowerShell cmdlets:
108110

109-
* [Get-AzureRmRedisCachePatchSchedule](/powershell/module/azurerm.rediscache/get-azurermrediscachepatchschedule)
110-
* [New-AzureRmRedisCachePatchSchedule](/powershell/module/azurerm.rediscache/new-azurermrediscachepatchschedule)
111-
* [New-AzureRmRedisCacheScheduleEntry](/powershell/module/azurerm.rediscache/new-azurermrediscachescheduleentry)
112-
* [Remove-AzureRmRedisCachePatchSchedule](/powershell/module/azurerm.rediscache/remove-azurermrediscachepatchschedule)
111+
* [Get-AzRedisCachePatchSchedule](/powershell/module/az.rediscache/get-azrediscachepatchschedule)
112+
* [New-AzRedisCachePatchSchedule](/powershell/module/az.rediscache/new-azrediscachepatchschedule)
113+
* [New-AzRedisCacheScheduleEntry](/powershell/module/az.rediscache/new-azrediscachescheduleentry)
114+
* [Remove-AzRedisCachePatchSchedule](/powershell/module/az.rediscache/remove-azrediscachepatchschedule)
113115

114116
### What pricing tiers can use the schedule updates functionality?
115117
The **Schedule updates** feature is only available in the premium pricing tier.

articles/azure-cache-for-redis/cache-configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ New Azure Cache for Redis instances are configured with the following default Re
426426
For more information about databases, see [What are Redis databases?](cache-faq.md#what-are-redis-databases)
427427

428428
> [!NOTE]
429-
> The `databases` setting can be configured only during cache creation and only using PowerShell, CLI, or other management clients. For an example of configuring `databases` during cache creation using PowerShell, see [New-AzureRmRedisCache](cache-howto-manage-redis-cache-powershell.md#databases).
429+
> The `databases` setting can be configured only during cache creation and only using PowerShell, CLI, or other management clients. For an example of configuring `databases` during cache creation using PowerShell, see [New-AzRedisCache](cache-howto-manage-redis-cache-powershell.md#databases).
430430
>
431431
>
432432

articles/azure-cache-for-redis/cache-how-to-redis-cli-tool.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ If you want to run the command-line tool on another platform, download Azure Cac
2727

2828
## Gather cache access information
2929

30+
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
31+
3032
You can gather the information needed to access the cache using three methods:
3133

3234
1. Azure CLI using [az redis list-keys](https://docs.microsoft.com/cli/azure/redis?view=azure-cli-latest#az-redis-list-keys)
33-
2. Azure PowerShell using [Get-AzureRmRedisCacheKey](https://docs.microsoft.com/powershell/module/azurerm.rediscache/Get-AzureRmRedisCacheKey?view=azurermps-4.4.1)
35+
2. Azure PowerShell using [Get-AzRedisCacheKey](https://docs.microsoft.com/powershell/module/az.rediscache/Get-AzRedisCacheKey)
3436
3. Using the Azure portal.
3537

3638
In this section, you will retrieve the keys from the Azure portal.

articles/azure-cache-for-redis/cache-how-to-scale.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,12 @@ In addition to scaling your cache instances in the Azure portal, you can scale u
6565
* [Scale using MAML](#scale-using-maml)
6666

6767
### Scale using PowerShell
68-
You can scale your Azure Cache for Redis instances with PowerShell by using the [Set-AzureRmRedisCache](https://docs.microsoft.com/powershell/module/azurerm.rediscache/set-azurermrediscache?view=azurermps-6.6.0) cmdlet when the `Size`, `Sku`, or `ShardCount` properties are modified. The following example shows how to scale a cache named `myCache` to a 2.5 GB cache.
6968

70-
Set-AzureRmRedisCache -ResourceGroupName myGroup -Name myCache -Size 2.5GB
69+
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
70+
71+
You can scale your Azure Cache for Redis instances with PowerShell by using the [Set-AzRedisCache](https://docs.microsoft.com/powershell/module/az.rediscache/set-azrediscache) cmdlet when the `Size`, `Sku`, or `ShardCount` properties are modified. The following example shows how to scale a cache named `myCache` to a 2.5 GB cache.
72+
73+
Set-AzRedisCache -ResourceGroupName myGroup -Name myCache -Size 2.5GB
7174

7275
For more information on scaling with PowerShell, see [To scale an Azure Cache for Redis using Powershell](cache-howto-manage-redis-cache-powershell.md#scale).
7376

0 commit comments

Comments
 (0)