Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Enable-AzureMemcacheRole

Enable-AzureMemcacheRole

microsoft.windowsazure.commands.dll

Synopsis

Enable memcached for the specified web role, configured to communicate with the specified dedicated cache role

Syntax

Enable-AzureMemcacheRole [-RoleName] [-CacheWorkerRoleName] [-CacheRuntimeVersion] [<CommonParameters>]

Detailed Description

Enable memcached for the specified web role, configured to communicate with the specified dedicated cache role

Parameters

-RoleName <String>

The name of the web role that will use the cache

Aliases

None

Required?

false

Position

1

Default value

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-CacheWorkerRoleName <String>

The name of the dedicated cache worker role, created with Add-AzureCacheWorkerRole

Aliases

None

Required?

true

Position

2

Default value

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-CacheRuntimeVersion <String>

The cache runtime version

Aliases

None

Required?

true

Position

3

Default value

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------- Enable Caching in web role --------------

C:\PS>

Enables memcached in web role WebRole1, using dedicated caching role WorkerRole1

Enable-AzureMemcacheRole WebRole1 WorkerRole1

-------------- Enable Caching in worker role --------------

C:\PS>

Enables memcached in worker role WorkerRole1, using dedicated caching role CacheWorkerRole

Enable-AzureMemcacheRole WorkerRole1 CacheWorkerRole

-------------- Enable Caching in web role with runtime version specified --------------

C:\PS>

Enables memcached with runtime version 1.8.0 in web role WebRole1, using dedicated caching role WorkerRole1

Enable-AzureMemcacheRole WebRole1 WorkerRole1 1.8.0

Add-AzureCacheWorkerRole
Add-AzureNodeWebRole
Add-AzurePHPWebRole