FailoverGroupReplicationRole Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<FailoverGroupReplicationRole> - com.
microsoft. azure. management. sql. FailoverGroupReplicationRole
- com.
- com.
public class FailoverGroupReplicationRole
Defines values for FailoverGroupReplicationRole.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Failover |
PRIMARY
Static value Primary for FailoverGroupReplicationRole. |
final Failover |
SECONDARY
Static value Secondary for FailoverGroupReplicationRole. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Failover |
fromString(String name)
Creates or finds a FailoverGroupReplicationRole from its string representation. |
Collection<Failover |
values() |
Field Details
PRIMARY
public static final FailoverGroupReplicationRole PRIMARY= fromString("Primary")
Static value Primary for FailoverGroupReplicationRole.
SECONDARY
public static final FailoverGroupReplicationRole SECONDARY= fromString("Secondary")
Static value Secondary for FailoverGroupReplicationRole.
Method Details
fromString
public static FailoverGroupReplicationRole fromString(String name)
Creates or finds a FailoverGroupReplicationRole from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java