Class SecondaryType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SecondaryType>
com.azure.resourcemanager.sql.models.SecondaryType

public final class SecondaryType extends com.azure.core.util.ExpandableStringEnum<SecondaryType>
The secondary type of the database if it is a secondary. Valid values are Geo and Named.
  • Field Details

    • GEO

      public static final SecondaryType GEO
      Static value Geo for SecondaryType.
    • NAMED

      public static final SecondaryType NAMED
      Static value Named for SecondaryType.
  • Constructor Details

    • SecondaryType

      public SecondaryType()
  • Method Details

    • fromString

      public static SecondaryType fromString(String name)
      Creates or finds a SecondaryType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SecondaryType.
    • values

      public static Collection<SecondaryType> values()
      Gets known SecondaryType values.
      Returns:
      known SecondaryType values.