ReadWriteEndpointFailoverPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. ReadWriteEndpointFailoverPolicy
- com.
- com.
public final class ReadWriteEndpointFailoverPolicy
extends ExpandableStringEnum<ReadWriteEndpointFailoverPolicy>
Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Read |
AUTOMATIC
Static value Automatic for Read |
static final
Read |
MANUAL
Static value Manual for Read |
Constructor Summary
Constructor | Description |
---|---|
ReadWriteEndpointFailoverPolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Read |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Read |
fromString(String name)
Creates or finds a Read |
static
Collection<Read |
values()
Gets known Read |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTOMATIC
public static final ReadWriteEndpointFailoverPolicy AUTOMATIC
Static value Automatic for ReadWriteEndpointFailoverPolicy.
MANUAL
public static final ReadWriteEndpointFailoverPolicy MANUAL
Static value Manual for ReadWriteEndpointFailoverPolicy.
Constructor Details
ReadWriteEndpointFailoverPolicy
@Deprecated
public ReadWriteEndpointFailoverPolicy()
Deprecated
Creates a new instance of ReadWriteEndpointFailoverPolicy value.
Method Details
fromString
public static ReadWriteEndpointFailoverPolicy fromString(String name)
Creates or finds a ReadWriteEndpointFailoverPolicy from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ReadWriteEndpointFailoverPolicy values.
Returns:
Applies to
Azure SDK for Java