Class ServerVersion

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServerVersion>
com.azure.resourcemanager.mariadb.models.ServerVersion

public final class ServerVersion extends com.azure.core.util.ExpandableStringEnum<ServerVersion>
The version of a server.
  • Field Details

    • ONE_ZERO_TWO

      public static final ServerVersion ONE_ZERO_TWO
      Static value 10.2 for ServerVersion.
    • ONE_ZERO_THREE

      public static final ServerVersion ONE_ZERO_THREE
      Static value 10.3 for ServerVersion.
  • Constructor Details

    • ServerVersion

      @Deprecated public ServerVersion()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of ServerVersion value.
  • Method Details

    • fromString

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

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