Get-​Azure​Managed​Cache​Named​Cache

Gets a specific named cache or all named caches in a Managed Cache Service instance.

Syntax

Get-AzureManagedCacheNamedCache
   -Name <String>
   [-NamedCache <String>]
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

The Get-AzureManagedCacheNamedCache cmdlet gets a specific named cache or all named caches in an Azure Managed Cache Service instance in your Azure account.

Examples

Example 1: Get the details of a specific named cache

PS C:\>Get-AzureManagedCacheNamedCache -Name contosocache -NamedCache "ContosoNamedCache"

This command gets details about the cache named ContosoNamedCache.

Example 2: Get the details of all Named Caches in a Managed Cache Service

PS C:\>Get-AzureManagedCacheNamedCache -Name "ContosoCache"

This command gets details about all Named Caches in the Managed Cache Service instance named ContosoCache.

Required Parameters

-Name

Specifies the name of the Managed Cache Service instance that contains the named cache or caches to retrieve.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-NamedCache

Specifies the name of the named cache when you retrieve a single named cache. All named caches from the specified Managed Cache Service instance will be returned if this parameter is not provided.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Azure.Commands.ManagedCache.Models.PSCacheServiceWithNamedCaches

Notes