Interface SqlDatabaseOperations.DefinitionStages.WithSourceDatabaseId
-
- All Known Subinterfaces:
SqlDatabaseOperations.DefinitionStages.Blank,SqlDatabaseOperations.DefinitionStages.WithAllDifferentOptions,SqlDatabaseOperations.DefinitionStages.WithExistingDatabaseAfterElasticPool,SqlDatabaseOperations.SqlDatabaseOperationsDefinition
- Enclosing interface:
- SqlDatabaseOperations.DefinitionStages
public static interface SqlDatabaseOperations.DefinitionStages.WithSourceDatabaseIdThe SQL Database definition to set the source database id for database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlDatabaseOperations.DefinitionStages.WithCreateModewithSourceDatabase(SqlDatabase sourceDatabase)Sets the resource if of source database for the SQL Database.SqlDatabaseOperations.DefinitionStages.WithCreateModewithSourceDatabase(String sourceDatabaseId)Sets the resource if of source database for the SQL Database.
-
-
-
Method Detail
-
withSourceDatabase
SqlDatabaseOperations.DefinitionStages.WithCreateMode withSourceDatabase(String sourceDatabaseId)
Sets the resource if of source database for the SQL Database.Collation, Edition, and MaxSizeBytes must remain the same while the link is active. Values specified for these parameters will be ignored.
- Parameters:
sourceDatabaseId- id of the source database- Returns:
- The next stage of the definition.
-
withSourceDatabase
SqlDatabaseOperations.DefinitionStages.WithCreateMode withSourceDatabase(SqlDatabase sourceDatabase)
Sets the resource if of source database for the SQL Database.Collation, Edition, and MaxSizeBytes must remain the same while the link is active. Values specified for these parameters will be ignored.
- Parameters:
sourceDatabase- instance of the source database- Returns:
- The next stage of the definition.
-
-