### YamlMime:JavaEnum uid: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery" fullName: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery" name: "RoleDisasterRecovery" nameWithType: "RoleDisasterRecovery" summary: "Defines values for RoleDisasterRecovery." inheritances: - "" - "" inheritedClassMethods: - classRef: "" methodsRef: - "valueOf(java.lang.Class,java.lang.String)?alt=java.lang.Enum.valueOf&text=valueOf\" data-throw-if-not-resolved=\"False\" />" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" syntax: "public enum **RoleDisasterRecovery**
extends <>" fields: - uid: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.PRIMARY" fullName: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.PRIMARY" name: "PRIMARY" nameWithType: "RoleDisasterRecovery.PRIMARY" summary: "Enum value Primary." desc: "Enum value Primary." - uid: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.PRIMARY_NOT_REPLICATING" fullName: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.PRIMARY_NOT_REPLICATING" name: "PRIMARY_NOT_REPLICATING" nameWithType: "RoleDisasterRecovery.PRIMARY_NOT_REPLICATING" summary: "Enum value PrimaryNotReplicating." desc: "Enum value PrimaryNotReplicating." - uid: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.SECONDARY" fullName: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.SECONDARY" name: "SECONDARY" nameWithType: "RoleDisasterRecovery.SECONDARY" summary: "Enum value Secondary." desc: "Enum value Secondary." methods: - uid: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.fromString(java.lang.String)" fullName: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.fromString(String value)" name: "fromString(String value)" nameWithType: "RoleDisasterRecovery.fromString(String value)" summary: "Parses a serialized value to a RoleDisasterRecovery instance." modifiers: - "static" parameters: - description: "the serialized value to parse." name: "value" type: "" syntax: "public static RoleDisasterRecovery fromString(String value)" desc: "Parses a serialized value to a RoleDisasterRecovery instance." returns: description: "the parsed RoleDisasterRecovery object, or null if unable to parse." type: "" - uid: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.toString()" fullName: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.toString()" name: "toString()" nameWithType: "RoleDisasterRecovery.toString()" overridden: "java.lang.Enum.toString()" syntax: "public String toString()" returns: type: "" - uid: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.valueOf(java.lang.String)" fullName: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.valueOf(String name)" name: "valueOf(String name)" nameWithType: "RoleDisasterRecovery.valueOf(String name)" modifiers: - "static" parameters: - name: "name" type: "" syntax: "public static RoleDisasterRecovery valueOf(String name)" returns: type: "" - uid: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.values()" fullName: "com.microsoft.azure.management.eventhub.RoleDisasterRecovery.values()" name: "values()" nameWithType: "RoleDisasterRecovery.values()" modifiers: - "static" syntax: "public static RoleDisasterRecovery[] values()" returns: type: "[]" desc: "Defines values for RoleDisasterRecovery." metadata: {} package: "com.microsoft.azure.management.eventhub" artifact: com.microsoft.azure:azure-mgmt-eventhub:1.41.2