Class InstanceFailoverGroupReplicationRole
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<InstanceFailoverGroupReplicationRole>
com.microsoft.azure.management.sql.InstanceFailoverGroupReplicationRole
public final class InstanceFailoverGroupReplicationRole
extends com.microsoft.rest.ExpandableStringEnum<InstanceFailoverGroupReplicationRole>
Defines values for InstanceFailoverGroupReplicationRole.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final InstanceFailoverGroupReplicationRole
Static value Primary for InstanceFailoverGroupReplicationRole.static final InstanceFailoverGroupReplicationRole
Static value Secondary for InstanceFailoverGroupReplicationRole. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String name) Creates or finds a InstanceFailoverGroupReplicationRole 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 InstanceFailoverGroupReplicationRole. -
SECONDARY
Static value Secondary for InstanceFailoverGroupReplicationRole.
-
-
Constructor Details
-
InstanceFailoverGroupReplicationRole
public InstanceFailoverGroupReplicationRole()
-
-
Method Details
-
fromString
Creates or finds a InstanceFailoverGroupReplicationRole from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding InstanceFailoverGroupReplicationRole
-
values
- Returns:
- known InstanceFailoverGroupReplicationRole values
-