Class HealthStateType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<HealthStateType>
com.azure.resourcemanager.storagecache.models.HealthStateType

public final class HealthStateType extends com.azure.core.util.ExpandableStringEnum<HealthStateType>
List of cache health states. Down is when the cluster is not responding. Degraded is when its functioning but has some alerts. Transitioning when it is creating or deleting. Unknown will be returned in old api versions when a new value is added in future versions. WaitingForKey is when the create is waiting for the system assigned identity to be given access to the encryption key in the encryption settings.
  • Field Details

    • UNKNOWN

      public static final HealthStateType UNKNOWN
      Static value Unknown for HealthStateType.
    • HEALTHY

      public static final HealthStateType HEALTHY
      Static value Healthy for HealthStateType.
    • DEGRADED

      public static final HealthStateType DEGRADED
      Static value Degraded for HealthStateType.
    • DOWN

      public static final HealthStateType DOWN
      Static value Down for HealthStateType.
    • TRANSITIONING

      public static final HealthStateType TRANSITIONING
      Static value Transitioning for HealthStateType.
    • STOPPING

      public static final HealthStateType STOPPING
      Static value Stopping for HealthStateType.
    • STOPPED

      public static final HealthStateType STOPPED
      Static value Stopped for HealthStateType.
    • UPGRADING

      public static final HealthStateType UPGRADING
      Static value Upgrading for HealthStateType.
    • FLUSHING

      public static final HealthStateType FLUSHING
      Static value Flushing for HealthStateType.
    • WAITING_FOR_KEY

      public static final HealthStateType WAITING_FOR_KEY
      Static value WaitingForKey for HealthStateType.
    • START_FAILED

      public static final HealthStateType START_FAILED
      Static value StartFailed for HealthStateType.
    • UPGRADE_FAILED

      public static final HealthStateType UPGRADE_FAILED
      Static value UpgradeFailed for HealthStateType.
  • Constructor Details

    • HealthStateType

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

    • fromString

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

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