Class CreateMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CreateMode>
com.azure.analytics.synapse.artifacts.models.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 Summary
Modifier and TypeFieldDescriptionstatic final CreateMode
Static value Default for CreateMode.static final CreateMode
Static value PointInTimeRestore for CreateMode.static final CreateMode
Static value Recovery for CreateMode.static final CreateMode
Static value Restore for CreateMode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CreateMode
fromString
(String name) Creates or finds a CreateMode from its string representation.static Collection<CreateMode>
values()
Gets known CreateMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
DEFAULT
Static value Default for CreateMode. -
POINT_IN_TIME_RESTORE
Static value PointInTimeRestore for CreateMode. -
RECOVERY
Static value Recovery for CreateMode. -
RESTORE
Static value Restore for CreateMode.
-
-
Constructor Details
-
CreateMode
public CreateMode()
-
-
Method Details
-
fromString
Creates or finds a CreateMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CreateMode.
-
values
Gets known CreateMode values.- Returns:
- known CreateMode values.
-