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 Details

    • withShardCount

      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.
    • withSubnet

      @Beta(V1_12_0) 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

      @Beta(V1_12_0) 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.
    • withStaticIP

      @Beta(V1_12_0) 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.