Class UpdateChannel

java.lang.Object
com.azure.core.util.ExpandableStringEnum<UpdateChannel>
com.azure.resourcemanager.redis.models.UpdateChannel
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class UpdateChannel extends com.azure.core.util.ExpandableStringEnum<UpdateChannel>
Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.
  • Field Details

    • STABLE

      public static final UpdateChannel STABLE
      Static value Stable for UpdateChannel.
    • PREVIEW

      public static final UpdateChannel PREVIEW
      Static value Preview for UpdateChannel.
  • Constructor Details

    • UpdateChannel

      @Deprecated public UpdateChannel()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of UpdateChannel value.
  • Method Details

    • fromString

      public static UpdateChannel fromString(String name)
      Creates or finds a UpdateChannel from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding UpdateChannel.
    • values

      public static Collection<UpdateChannel> values()
      Gets known UpdateChannel values.
      Returns:
      known UpdateChannel values.