ReplicationRole Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.sql.models.ReplicationRole

public enum ReplicationRole
extends Enum<ReplicationRole>

Local replication role.

Fields

COPY

Enum value Copy.

NON_READABLE_SECONDARY

Enum value NonReadableSecondary.

PRIMARY

Enum value Primary.

SECONDARY

Enum value Secondary.

SOURCE

Enum value Source.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static ReplicationRole fromString(String value)

Parses a serialized value to a ReplicationRole instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed ReplicationRole object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ReplicationRole valueOf(String name)

Parameters

name
String

Returns

values()

public static ReplicationRole[] values()

Returns

Applies to