FailoverType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. FailoverType
- com.
- com.
public final class FailoverType
extends ExpandableStringEnum<FailoverType>
The failover type, can be ForcedAllowDataLoss or Planned.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Failover |
FORCED_ALLOW_DATA_LOSS
Static value Forced |
|
static final
Failover |
PLANNED
Static value Planned for Failover |
Constructor Summary
| Constructor | Description |
|---|---|
| FailoverType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Failover |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Failover |
fromString(String name)
Creates or finds a Failover |
|
static
Collection<Failover |
values()
Gets known Failover |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FORCED_ALLOW_DATA_LOSS
public static final FailoverType FORCED_ALLOW_DATA_LOSS
Static value ForcedAllowDataLoss for FailoverType.
PLANNED
public static final FailoverType PLANNED
Static value Planned for FailoverType.
Constructor Details
FailoverType
@Deprecated
public FailoverType()
Deprecated
Creates a new instance of FailoverType value.
Method Details
fromString
public static FailoverType fromString(String name)
Creates or finds a FailoverType from its string representation.
Parameters:
Returns:
values
public static Collection<FailoverType> values()
Gets known FailoverType values.
Returns: