Interface SqlPool.DefinitionStages.WithCreateMode

All Known Subinterfaces:
SqlPool.Definition, SqlPool.DefinitionStages.WithCreate
Enclosing interface:
SqlPool.DefinitionStages

public static interface SqlPool.DefinitionStages.WithCreateMode
The stage of the SqlPool definition allowing to specify createMode.
  • Method Details

    • withCreateMode

      SqlPool.DefinitionStages.WithCreate withCreateMode(CreateMode createMode)
      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.