Interface RedisCache.DefinitionStages.WithPremiumSkuCreate
- All Superinterfaces:
Creatable<RedisCache>
,HasName
,Indexable
,RedisCache.DefinitionStages.WithCreate
,Resource.DefinitionWithTags<RedisCache.DefinitionStages.WithCreate>
- All Known Subinterfaces:
RedisCache.Definition
- Enclosing interface:
- RedisCache.DefinitionStages
public static interface RedisCache.DefinitionStages.WithPremiumSkuCreate
extends RedisCache.DefinitionStages.WithCreate
A Redis Cache definition with Premium Sku specific functionality.
-
Method Summary
Modifier and TypeMethodDescriptionwithShardCount
(int shardCount) The number of shards to be created on a Premium Cluster Cache.withStaticIP
(String staticIP) Sets Redis Cache static IP.withSubnet
(HasId network, String subnetName) Assigns the specified subnet to this instance of Redis Cache.withSubnet
(String subnetId) Assigns the specified subnet to this instance of Redis Cache.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Creatable
create, createAsync, createAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.redis.RedisCache.DefinitionStages.WithCreate
withFirewallRule, withFirewallRule, withMinimumTlsVersion, withNonSslPort, withPatchSchedule, withPatchSchedule, withPatchSchedule, withPatchSchedule, withRedisConfiguration, withRedisConfiguration
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
-
Method Details
-
withShardCount
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.
-
withSubnet
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
Assigns the specified subnet to this instance of Redis Cache.- Parameters:
subnetId
- resource id of subnet.- Returns:
- the next stage of Redis Cache definition.
-
withStaticIP
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.
-