FailoverModeType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. FailoverModeType
- com.
- com.
public final class FailoverModeType
extends ExpandableStringEnum<FailoverModeType>
The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Failover |
MANUAL
Static value Manual for Failover |
|
static final
Failover |
NONE
Static value None for Failover |
Constructor Summary
| Constructor | Description |
|---|---|
| FailoverModeType() |
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
MANUAL
public static final FailoverModeType MANUAL
Static value Manual for FailoverModeType.
NONE
public static final FailoverModeType NONE
Static value None for FailoverModeType.
Constructor Details
FailoverModeType
@Deprecated
public FailoverModeType()
Deprecated
Creates a new instance of FailoverModeType value.
Method Details
fromString
public static FailoverModeType fromString(String name)
Creates or finds a FailoverModeType from its string representation.
Parameters:
Returns:
values
public static Collection<FailoverModeType> values()
Gets known FailoverModeType values.
Returns: