### YamlMime:JavaType uid: "com.azure.resourcemanager.sql.models.ReplicaType" fullName: "com.azure.resourcemanager.sql.models.ReplicaType" name: "ReplicaType" nameWithType: "ReplicaType" summary: "Defines values for ReplicaType." inheritances: - "" - "" inheritedClassMethods: - classRef: "" methodsRef: - "fromString(java.lang.String,java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.fromString&text=fromString\" data-throw-if-not-resolved=\"False\" />" - "values(java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.values&text=values\" data-throw-if-not-resolved=\"False\" />" - "" - "" - "" - "" - classRef: "java.lang.Object" methodsRef: - "clone" - "finalize" - "getClass" - "notify" - "notifyAll" - "wait" - "wait" - "wait" syntax: "public final class **ReplicaType**
extends <>" constructors: - uid: "com.azure.resourcemanager.sql.models.ReplicaType.ReplicaType()" fullName: "com.azure.resourcemanager.sql.models.ReplicaType.ReplicaType()" name: "ReplicaType()" nameWithType: "ReplicaType.ReplicaType()" summary: "Creates a new instance of ReplicaType value." deprecatedTag: "Use the factory method." syntax: "@Deprecated
public ReplicaType()" desc: "Creates a new instance of ReplicaType value." hasDeprecatedTag: true fields: - uid: "com.azure.resourcemanager.sql.models.ReplicaType.PRIMARY" fullName: "com.azure.resourcemanager.sql.models.ReplicaType.PRIMARY" name: "PRIMARY" nameWithType: "ReplicaType.PRIMARY" summary: "Static value Primary for ReplicaType." modifiers: - "static" - "final" field: type: "" syntax: "public static final ReplicaType PRIMARY" desc: "Static value Primary for ReplicaType." - uid: "com.azure.resourcemanager.sql.models.ReplicaType.READABLE_SECONDARY" fullName: "com.azure.resourcemanager.sql.models.ReplicaType.READABLE_SECONDARY" name: "READABLE_SECONDARY" nameWithType: "ReplicaType.READABLE_SECONDARY" summary: "Static value ReadableSecondary for ReplicaType." modifiers: - "static" - "final" field: type: "" syntax: "public static final ReplicaType READABLE_SECONDARY" desc: "Static value ReadableSecondary for ReplicaType." methods: - uid: "com.azure.resourcemanager.sql.models.ReplicaType.fromString(java.lang.String)" fullName: "com.azure.resourcemanager.sql.models.ReplicaType.fromString(String name)" name: "fromString(String name)" nameWithType: "ReplicaType.fromString(String name)" summary: "Creates or finds a ReplicaType from its string representation." modifiers: - "static" parameters: - description: "a name to look for." name: "name" type: "String" syntax: "public static ReplicaType fromString(String name)" desc: "Creates or finds a ReplicaType from its string representation." returns: description: "the corresponding ReplicaType." type: "" - uid: "com.azure.resourcemanager.sql.models.ReplicaType.values()" fullName: "com.azure.resourcemanager.sql.models.ReplicaType.values()" name: "values()" nameWithType: "ReplicaType.values()" summary: "Gets known ReplicaType values." modifiers: - "static" syntax: "public static Collection values()" desc: "Gets known ReplicaType values." returns: description: "known ReplicaType values." type: "Collection<>" type: "class" desc: "Defines values for ReplicaType." metadata: {} package: "com.azure.resourcemanager.sql.models" artifact: com.azure.resourcemanager:azure-resourcemanager-sql:2.44.0