FailoverGroupReplicationRole Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. FailoverGroupReplicationRole
- com.
- com.
public final class FailoverGroupReplicationRole
extends ExpandableStringEnum<FailoverGroupReplicationRole>
Local replication role of the failover group instance.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Failover |
PRIMARY
Static value Primary for Failover |
static final
Failover |
SECONDARY
Static value Secondary for Failover |
Constructor Summary
Constructor | Description |
---|---|
FailoverGroupReplicationRole() |
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
PRIMARY
public static final FailoverGroupReplicationRole PRIMARY
Static value Primary for FailoverGroupReplicationRole.
SECONDARY
public static final FailoverGroupReplicationRole SECONDARY
Static value Secondary for FailoverGroupReplicationRole.
Constructor Details
FailoverGroupReplicationRole
@Deprecated
public FailoverGroupReplicationRole()
Deprecated
Creates a new instance of FailoverGroupReplicationRole value.
Method Details
fromString
public static FailoverGroupReplicationRole fromString(String name)
Creates or finds a FailoverGroupReplicationRole from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known FailoverGroupReplicationRole values.
Returns:
Applies to
Azure SDK for Java