RedisCache.UpdateStages.WithSku Interface

public static interface RedisCache.UpdateStages.WithSku

A Redis Cache update stage allowing to change the parameters.

Method Summary

Modifier and Type Method and Description
abstract Update withBasicSku(int capacity)

Updates Redis Cache to Basic sku with new capacity.

abstract Update withPremiumSku()

Updates Redis Cache to Premium sku.

abstract Update withPremiumSku(int capacity)

Updates Redis Cache to Premium sku with new capacity.

abstract Update withStandardSku()

Updates Redis Cache to Standard sku.

abstract Update withStandardSku(int capacity)

Updates Redis Cache to Standard sku with new capacity.

Method Details

withBasicSku

public abstract RedisCache.Update withBasicSku(int capacity)

Updates Redis Cache to Basic sku with new capacity.

Parameters:

capacity - specifies what size of Redis Cache to update to for Basic sku with C family (0, 1, 2, 3, 4, 5, 6).

Returns:

the next stage of Redis Cache update.

withPremiumSku

public abstract RedisCache.Update withPremiumSku()

Updates Redis Cache to Premium sku.

Returns:

the next stage of Redis Cache update.

withPremiumSku

public abstract RedisCache.Update withPremiumSku(int capacity)

Updates Redis Cache to Premium sku with new capacity.

Parameters:

capacity - specifies what size of Redis Cache to update to for Premium sku with P family (1, 2, 3, 4).

Returns:

the next stage of Redis Cache update.

withStandardSku

public abstract RedisCache.Update withStandardSku()

Updates Redis Cache to Standard sku.

Returns:

the next stage of Redis Cache update.

withStandardSku

public abstract RedisCache.Update withStandardSku(int capacity)

Updates Redis Cache to Standard sku with new capacity.

Parameters:

capacity - specifies what size of Redis Cache to update to for Standard sku with C family (0, 1, 2, 3, 4, 5, 6).

Returns:

the next stage of Redis Cache update.

Applies to