Interface SqlPool.DefinitionStages.WithCreateMode
- All Known Subinterfaces:
SqlPool.Definition
,SqlPool.DefinitionStages.WithCreate
- Enclosing interface:
- SqlPool.DefinitionStages
-
Method Summary
Modifier and TypeMethodDescriptionwithCreateMode
(CreateMode createMode) Specifies the createMode property: Specifies the mode of sql pool creation.
-
Method Details
-
withCreateMode
Specifies the createMode property: 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..
- Parameters:
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.
- Returns:
- the next definition stage.
-