ReadOnlyEndpointFailoverPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. ReadOnlyEndpointFailoverPolicy
- com.
- com.
public final class ReadOnlyEndpointFailoverPolicy
extends ExpandableStringEnum<ReadOnlyEndpointFailoverPolicy>
Failover policy of the read-only endpoint for the failover group.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Read |
DISABLED
Static value Disabled for Read |
static final
Read |
ENABLED
Static value Enabled for Read |
Constructor Summary
Constructor | Description |
---|---|
ReadOnlyEndpointFailoverPolicy() |
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
DISABLED
public static final ReadOnlyEndpointFailoverPolicy DISABLED
Static value Disabled for ReadOnlyEndpointFailoverPolicy.
ENABLED
public static final ReadOnlyEndpointFailoverPolicy ENABLED
Static value Enabled for ReadOnlyEndpointFailoverPolicy.
Constructor Details
ReadOnlyEndpointFailoverPolicy
@Deprecated
public ReadOnlyEndpointFailoverPolicy()
Deprecated
Creates a new instance of ReadOnlyEndpointFailoverPolicy value.
Method Details
fromString
public static ReadOnlyEndpointFailoverPolicy fromString(String name)
Creates or finds a ReadOnlyEndpointFailoverPolicy from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ReadOnlyEndpointFailoverPolicy values.
Returns:
Applies to
Azure SDK for Java