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