Interface RedisCache.DefinitionStages.WithPremiumSkuCreate
- All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.Creatable<RedisCache>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.model.Indexable, RedisCache.DefinitionStages.WithCreate, com.azure.resourcemanager.resources.fluentcore.arm.models.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(com.azure.resourcemanager.resources.fluentcore.arm.models.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.azure.resourcemanager.resources.fluentcore.model.Creatable
create, create, createAsync, createAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable
keyMethods inherited from interface RedisCache.DefinitionStages.WithCreate
disablePublicNetworkAccess, withFirewallRule, withFirewallRule, withMinimumTlsVersion, withNonSslPort, withPatchSchedule, withPatchSchedule, withPatchSchedule, withPatchSchedule, withRedisConfiguration, withRedisConfiguration, withRedisConfiguration, withRedisVersionMethods inherited from interface com.azure.resourcemanager.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
RedisCache.DefinitionStages.WithCreate withSubnet(com.azure.resourcemanager.resources.fluentcore.arm.models.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
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.
-