Class RebootType

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

public final class RebootType extends com.azure.core.util.ExpandableStringEnum<RebootType>
Which Redis node(s) to reboot. Depending on this value data loss is possible.
  • Field Details

    • PRIMARY_NODE

      public static final RebootType PRIMARY_NODE
      Static value PrimaryNode for RebootType.
    • SECONDARY_NODE

      public static final RebootType SECONDARY_NODE
      Static value SecondaryNode for RebootType.
    • ALL_NODES

      public static final RebootType ALL_NODES
      Static value AllNodes for RebootType.
  • Constructor Details

  • Method Details

    • fromString

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

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