InstanceFailoverGroupReplicationRole Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<InstanceFailoverGroupReplicationRole>
      • com.microsoft.azure.management.sql.InstanceFailoverGroupReplicationRole

public class InstanceFailoverGroupReplicationRole

Defines values for InstanceFailoverGroupReplicationRole.

Field Summary

Modifier and Type Field and Description
final InstanceFailoverGroupReplicationRole PRIMARY

Static value Primary for InstanceFailoverGroupReplicationRole.

final InstanceFailoverGroupReplicationRole SECONDARY

Static value Secondary for InstanceFailoverGroupReplicationRole.

Method Summary

Modifier and Type Method and Description
InstanceFailoverGroupReplicationRole fromString(String name)

Creates or finds a InstanceFailoverGroupReplicationRole from its string representation.

Collection<InstanceFailoverGroupReplicationRole> values()

Field Details

PRIMARY

public static final InstanceFailoverGroupReplicationRole PRIMARY= fromString("Primary")

Static value Primary for InstanceFailoverGroupReplicationRole.

SECONDARY

public static final InstanceFailoverGroupReplicationRole SECONDARY= fromString("Secondary")

Static value Secondary for InstanceFailoverGroupReplicationRole.

Method Details

fromString

public static InstanceFailoverGroupReplicationRole fromString(String name)

Creates or finds a InstanceFailoverGroupReplicationRole from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding InstanceFailoverGroupReplicationRole

values

public static Collection values()

Returns:

known InstanceFailoverGroupReplicationRole values

Applies to