SecondaryInstanceType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. SecondaryInstanceType
- com.
- com.
public final class SecondaryInstanceType
extends ExpandableStringEnum<SecondaryInstanceType>
Type of the geo-secondary instance. Set 'Standby' if the instance is used as a DR option only.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Secondary |
GEO
Static value Geo for Secondary |
|
static final
Secondary |
STANDBY
Static value Standby for Secondary |
Constructor Summary
| Constructor | Description |
|---|---|
| SecondaryInstanceType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Secondary |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Secondary |
fromString(String name)
Creates or finds a Secondary |
|
static
Collection<Secondary |
values()
Gets known Secondary |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
GEO
public static final SecondaryInstanceType GEO
Static value Geo for SecondaryInstanceType.
STANDBY
public static final SecondaryInstanceType STANDBY
Static value Standby for SecondaryInstanceType.
Constructor Details
SecondaryInstanceType
@Deprecated
public SecondaryInstanceType()
Deprecated
Creates a new instance of SecondaryInstanceType value.
Method Details
fromString
public static SecondaryInstanceType fromString(String name)
Creates or finds a SecondaryInstanceType from its string representation.
Parameters:
Returns:
values
public static Collection<SecondaryInstanceType> values()
Gets known SecondaryInstanceType values.
Returns: