Class CreateMode

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

public final class CreateMode extends com.azure.core.util.ExpandableStringEnum<CreateMode>
The mode to create a new server.
  • Field Details

    • DEFAULT

      public static final CreateMode DEFAULT
      Static value Default for CreateMode.
    • POINT_IN_TIME_RESTORE

      public static final CreateMode POINT_IN_TIME_RESTORE
      Static value PointInTimeRestore for CreateMode.
    • GEO_RESTORE

      public static final CreateMode GEO_RESTORE
      Static value GeoRestore for CreateMode.
    • REPLICA

      public static final CreateMode REPLICA
      Static value Replica for CreateMode.
  • Constructor Details

  • Method Details

    • fromString

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

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