Class FailoverGroupReplicationRole
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<FailoverGroupReplicationRole>
com.microsoft.azure.management.sql.FailoverGroupReplicationRole
public final class FailoverGroupReplicationRole
extends com.microsoft.rest.ExpandableStringEnum<FailoverGroupReplicationRole>
Defines values for FailoverGroupReplicationRole.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FailoverGroupReplicationRole
Static value Primary for FailoverGroupReplicationRole.static final FailoverGroupReplicationRole
Static value Secondary for FailoverGroupReplicationRole. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FailoverGroupReplicationRole
fromString
(String name) Creates or finds a FailoverGroupReplicationRole from its string representation.values()
Methods inherited from class com.microsoft.rest.ExpandableStringEnum
equals, fromString, hashCode, toString, values, withNameValue
-
Field Details
-
PRIMARY
Static value Primary for FailoverGroupReplicationRole. -
SECONDARY
Static value Secondary for FailoverGroupReplicationRole.
-
-
Constructor Details
-
FailoverGroupReplicationRole
public FailoverGroupReplicationRole()
-
-
Method Details
-
fromString
Creates or finds a FailoverGroupReplicationRole from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding FailoverGroupReplicationRole
-
values
- Returns:
- known FailoverGroupReplicationRole values
-