CreateMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. synapse. models. CreateMode
- com.
- com.
public final class CreateMode
extends 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 Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Create |
DEFAULT
Static value Default for Create |
|
static final
Create |
POINT_IN_TIME_RESTORE
Static value Point |
|
static final
Create |
RECOVERY
Static value Recovery for Create |
|
static final
Create |
RESTORE
Static value Restore for Create |
Constructor Summary
| Constructor | Description |
|---|---|
| CreateMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Create |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Create |
fromString(String name)
Creates or finds a Create |
|
static
Collection<Create |
values()
Gets known Create |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
@Deprecated
public CreateMode()
Deprecated
Creates a new instance of CreateMode value.
Method Details
fromString
public static CreateMode fromString(String name)
Creates or finds a CreateMode from its string representation.
Parameters:
Returns:
values
public static Collection<CreateMode> values()
Gets known CreateMode values.
Returns: