java.lang.Object
com.azure.core.util.ExpandableStringEnum<CreateMode>
com.azure.analytics.synapse.artifacts.models.CreateMode

public final class CreateMode extends com.azure.core.util.ExpandableStringEnum<CreateMode>
Specifies the mode of sql pool creation.

Default: regular sql pool creation.

PointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.

Recovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.

Restore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.

  • 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.
    • RECOVERY

      public static final CreateMode RECOVERY
      Static value Recovery for CreateMode.
    • RESTORE

      public static final CreateMode RESTORE
      Static value Restore for CreateMode.
  • Constructor Details

    • CreateMode

      public CreateMode()
  • 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.