Class ReadableSecondary
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ReadableSecondary>
com.azure.resourcemanager.sqlvirtualmachine.models.ReadableSecondary
public final class ReadableSecondary
extends com.azure.core.util.ExpandableStringEnum<ReadableSecondary>
Replica readable secondary mode in availability group.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ReadableSecondary
Static value ALL for ReadableSecondary.static final ReadableSecondary
Static value NO for ReadableSecondary.static final ReadableSecondary
Static value READ_ONLY for ReadableSecondary. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReadableSecondary
fromString
(String name) Creates or finds a ReadableSecondary from its string representation.static Collection<ReadableSecondary>
values()
Gets known ReadableSecondary values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NO
Static value NO for ReadableSecondary. -
ALL
Static value ALL for ReadableSecondary. -
READ_ONLY
Static value READ_ONLY for ReadableSecondary.
-
-
Constructor Details
-
ReadableSecondary
public ReadableSecondary()
-
-
Method Details
-
fromString
Creates or finds a ReadableSecondary from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ReadableSecondary.
-
values
Gets known ReadableSecondary values.- Returns:
- known ReadableSecondary values.
-