你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RedisCache.DefinitionStages.WithPremiumSkuCreate Interface

Implements

public static interface RedisCache.DefinitionStages.WithPremiumSkuCreate
extends WithCreate

A Redis Cache definition with Premium Sku specific functionality.

Method Summary

Modifier and Type Method and Description
abstract WithPremiumSkuCreate withShardCount(int shardCount)

The number of shards to be created on a Premium Cluster Cache.

abstract WithCreate withStaticIp(String staticIp)

Sets Redis Cache static IP.

abstract WithCreate withSubnet(HasId network, String subnetName)

Assigns the specified subnet to this instance of Redis Cache.

abstract WithCreate withSubnet(String subnetId)

Assigns the specified subnet to this instance of Redis Cache.

Method Details

withShardCount

public abstract RedisCache.DefinitionStages.WithPremiumSkuCreate withShardCount(int shardCount)

The number of shards to be created on a Premium Cluster Cache.

Parameters:

shardCount - the shard count value to set.

Returns:

the next stage of Redis Cache with Premium SKU definition.

withStaticIp

public abstract RedisCache.DefinitionStages.WithCreate withStaticIp(String staticIp)

Sets Redis Cache static IP. Required when deploying a Redis Cache inside an existing Azure Virtual Network.

Parameters:

staticIp - the static IP value to set.

Returns:

the next stage of Redis Cache definition.

withSubnet

public abstract RedisCache.DefinitionStages.WithCreate withSubnet(HasId network, String subnetName)

Assigns the specified subnet to this instance of Redis Cache.

Parameters:

network - instance of Network object.
subnetName - the name of the subnet.

Returns:

the next stage of Redis Cache definition.

withSubnet

public abstract RedisCache.DefinitionStages.WithCreate withSubnet(String subnetId)

Assigns the specified subnet to this instance of Redis Cache.

Parameters:

subnetId - resource id of subnet.

Returns:

the next stage of Redis Cache definition.

Applies to