< Back
Get-AzureRmRedisCache
Post
NAME Get-AzureRmRedisCache
SYNOPSIS
Gets a Redis Cache.
SYNTAX
Get-AzureRmRedisCache [-DefaultProfile <IAzureContextContainer>] [-Name <String>] [-ResourceGroupName <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmRedisCache cmdlet gets the specified Azure Redis Cache. If you specify no parameters, this operation gets every Redis Cache for the
current subscription.
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
-Name <String>
Specifies the name of the Redis Cache to get. Use with the ResourceGroupName parameter.
Required? false
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 Redis Cache to get.
If you specify only the ResourceGroupName parameter, this operation gets every Redis Cache in the specified resource group.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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 name, but not by value.
OUTPUTS
Microsoft.Azure.Commands.RedisCache.Models.RedisCacheAttributes
Returns an array of RedisCacheAttributes objects.
NOTES
Example 1: Get a Redis Cache by name
PS C:\\>Get-AzureRmRedisCache -Name "myexists"
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists
Location : North Central US
Name : myexists
Type : Microsoft.Cache/Redis
HostName : myexists.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : False
RedisVersion : 2.8
Size : 1GB
Sku : Basic
Tag : {}
Zone : []
This command gets the Redis Cache named myexists.
Example 2: Get every Redis Cache in a resource group
PS C:\\>Get-AzureRmRedisCache -ResourceGroupName "myGroup"
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists
Location : North Central US
Name : myexists
Type : Microsoft.Cache/Redis
HostName : myexists.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : False
RedisVersion : 2.8
Size : 1GB
Sku : Basic
Tag : {}
Zone : []
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myearlier
Location : North Central US
Name : myearlier
Type : Microsoft.Cache/Redis
HostName : myearlier.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : True
RedisVersion : 2.8
Size : 250MB
Sku : Standard
Tag : {}
Zone : []
This command gets every Redis Cache in the specified resource group.
Example 3: Get every Redis Cache in the current subscription
PS C:\\>Get-AzureRmRedisCache
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists
Location : North Central US
Name : myexists
Type : Microsoft.Cache/Redis
HostName : myexists.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : False
RedisVersion : 2.8
Size : 1GB
Sku : Basic
Tag : {}
Zone : []
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myearlier
Location : North Central US
Name : myearlier
Type : Microsoft.Cache/Redis
HostName : myearlier.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : True
RedisVersion : 2.8
Size : 250MB
Sku : Standard
Tag : {}
Zone : []
ResourceGroupName : myGroup2
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup2/providers/Microsoft.Cache/Redis/myearlier2
Location : North Central US
Name : myearlier2
Type : Microsoft.Cache/Redis
HostName : myearlier2.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : False
RedisVersion : 2.8
Size : 250MB
Sku : Basic
Tag : {}
Zone : []
This command gets every Redis Cache in the current subscription.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... rediscache
New-AzureRmRedisCache
Remove-AzureRmRedisCache
Reset-AzureRmRedisCache
SYNOPSIS
Gets a Redis Cache.
SYNTAX
Get-AzureRmRedisCache [-DefaultProfile <IAzureContextContainer>] [-Name <String>] [-ResourceGroupName <String>] [<CommonParameters>]
DESCRIPTION
The Get-AzureRmRedisCache cmdlet gets the specified Azure Redis Cache. If you specify no parameters, this operation gets every Redis Cache for the
current subscription.
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
-Name <String>
Specifies the name of the Redis Cache to get. Use with the ResourceGroupName parameter.
Required? false
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 Redis Cache to get.
If you specify only the ResourceGroupName parameter, this operation gets every Redis Cache in the specified resource group.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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 name, but not by value.
OUTPUTS
Microsoft.Azure.Commands.RedisCache.Models.RedisCacheAttributes
Returns an array of RedisCacheAttributes objects.
NOTES
Example 1: Get a Redis Cache by name
PS C:\\>Get-AzureRmRedisCache -Name "myexists"
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists
Location : North Central US
Name : myexists
Type : Microsoft.Cache/Redis
HostName : myexists.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : False
RedisVersion : 2.8
Size : 1GB
Sku : Basic
Tag : {}
Zone : []
This command gets the Redis Cache named myexists.
Example 2: Get every Redis Cache in a resource group
PS C:\\>Get-AzureRmRedisCache -ResourceGroupName "myGroup"
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists
Location : North Central US
Name : myexists
Type : Microsoft.Cache/Redis
HostName : myexists.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : False
RedisVersion : 2.8
Size : 1GB
Sku : Basic
Tag : {}
Zone : []
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myearlier
Location : North Central US
Name : myearlier
Type : Microsoft.Cache/Redis
HostName : myearlier.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : True
RedisVersion : 2.8
Size : 250MB
Sku : Standard
Tag : {}
Zone : []
This command gets every Redis Cache in the specified resource group.
Example 3: Get every Redis Cache in the current subscription
PS C:\\>Get-AzureRmRedisCache
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myexists
Location : North Central US
Name : myexists
Type : Microsoft.Cache/Redis
HostName : myexists.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : False
RedisVersion : 2.8
Size : 1GB
Sku : Basic
Tag : {}
Zone : []
ResourceGroupName : myGroup
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup/providers/Microsoft.Cache/Redis/myearlier
Location : North Central US
Name : myearlier
Type : Microsoft.Cache/Redis
HostName : myearlier.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : True
RedisVersion : 2.8
Size : 250MB
Sku : Standard
Tag : {}
Zone : []
ResourceGroupName : myGroup2
Id : /subscriptions/a559b6fd-3a84-40bb-a450-b0db5ed37dfe/resourceGroups/myGroup2/providers/Microsoft.Cache/Redis/myearlier2
Location : North Central US
Name : myearlier2
Type : Microsoft.Cache/Redis
HostName : myearlier2.redis.cache.windows.net
Port : 6379
ProvisioningState : succeeded
SslPort : 6380
RedisConfiguration : {}
EnableNonSslPort : False
RedisVersion : 2.8
Size : 250MB
Sku : Basic
Tag : {}
Zone : []
This command gets every Redis Cache in the current subscription.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... rediscache
New-AzureRmRedisCache
Remove-AzureRmRedisCache
Reset-AzureRmRedisCache