SecondaryType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. SecondaryType
- com.
- com.
public final class SecondaryType
extends ExpandableStringEnum<SecondaryType>
The secondary type of the database if it is a secondary. Valid values are Geo and Named.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Secondary |
GEO
Static value Geo for Secondary |
static final
Secondary |
NAMED
Static value Named for Secondary |
Constructor Summary
Constructor | Description |
---|---|
SecondaryType() |
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 SecondaryType GEO
Static value Geo for SecondaryType.
NAMED
public static final SecondaryType NAMED
Static value Named for SecondaryType.
Constructor Details
SecondaryType
@Deprecated
public SecondaryType()
Deprecated
Creates a new instance of SecondaryType value.
Method Details
fromString
public static SecondaryType fromString(String name)
Creates or finds a SecondaryType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SecondaryType values.
Returns:
Applies to
Azure SDK for Java