< Back
Reset-AzureRmRedisCache
Post
NAME Reset-AzureRmRedisCache
SYNOPSIS
Restarts nodes of a cache.
SYNTAX
Reset-AzureRmRedisCache [-DefaultProfile <IAzureContextContainer>] [-Force] -Name <String> [-PassThru] -RebootType {PrimaryNode | SecondaryNode |
AllNodes} [-ResourceGroupName <String>] [-ShardId <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Reset-AzureRmRedisCache cmdlet restarts nodes of an Azure Redis Cache instance.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of a cache.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Indicates that this cmdlet returns a Boolean that indicates whether the operation succeeds. By default, this cmdlet does not generate any
output.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-RebootType <String>
Specifies which node or nodes to restart. The acceptable values for this parameter are:
- PrimaryNode
- SecondaryNode
- AllNodes
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group that contains the cache.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ShardId <Int32>
Specifies the ID of the shard that this cmdlet restarts for a premium cache with clustering enabled.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
You can pipe input to this cmdlet by property name, but not by value.
OUTPUTS
None
NOTES
* Keywords: azure, azurerm, arm, resource, management, manager, redis, cache, web, webapp, website
Example 1: Restart both nodes
PS C:\\>Reset-AzureRmRedisCache -ResourceGroupName "ResourceGroup13" -Name "RedisCache06" -RebootType "AllNodes" -Force
This command restarts both nodes for the cache named RedisCache06.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... rediscache
Export-AzureRmRedisCache
Import-AzureRmRedisCache
New-AzureRmRedisCache
Remove-AzureRmRedisCache
Reset-AzureRmRedisCache
SYNOPSIS
Restarts nodes of a cache.
SYNTAX
Reset-AzureRmRedisCache [-DefaultProfile <IAzureContextContainer>] [-Force] -Name <String> [-PassThru] -RebootType {PrimaryNode | SecondaryNode |
AllNodes} [-ResourceGroupName <String>] [-ShardId <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Reset-AzureRmRedisCache cmdlet restarts nodes of an Azure Redis Cache instance.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Force [<SwitchParameter>]
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the name of a cache.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Indicates that this cmdlet returns a Boolean that indicates whether the operation succeeds. By default, this cmdlet does not generate any
output.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-RebootType <String>
Specifies which node or nodes to restart. The acceptable values for this parameter are:
- PrimaryNode
- SecondaryNode
- AllNodes
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of the resource group that contains the cache.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ShardId <Int32>
Specifies the ID of the shard that this cmdlet restarts for a premium cache with clustering enabled.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
You can pipe input to this cmdlet by property name, but not by value.
OUTPUTS
None
NOTES
* Keywords: azure, azurerm, arm, resource, management, manager, redis, cache, web, webapp, website
Example 1: Restart both nodes
PS C:\\>Reset-AzureRmRedisCache -ResourceGroupName "ResourceGroup13" -Name "RedisCache06" -RebootType "AllNodes" -Force
This command restarts both nodes for the cache named RedisCache06.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... rediscache
Export-AzureRmRedisCache
Import-AzureRmRedisCache
New-AzureRmRedisCache
Remove-AzureRmRedisCache
Reset-AzureRmRedisCache