Single Db->Elastic Pool:
New-AzureRmSqlDatabaseCopy -ResourceGroupName “SourceResourceGroupName” -ServerName “SourceServerName” -DatabaseName “SourceDBName” -CopyResourceGroupName “TargetResourceGroupName” -CopyServerName “TargetServerName” -ElasticPoolName “TargetElasticPool” -CopyDatabaseName “NewDatabaseName”
Remove-AzureRmSqlDatabase -ResourceGroupName “RG_GSDb1” -ServerName “gsdbserverpool” -DatabaseName newdeltest2
Cmdlet | Description |
New-AzureRmSqlElasticPool | Creates an elastic database pool on a logical SQL server. |
Get-AzureRmSqlElasticPool | Gets elastic pools and their property values on a logical SQL server. |
Set-AzureRmSqlElasticPool | Modifies properties of an elastic database pool on a logical SQL server. For example, use the StorageMB property to modify the max storage of an elastic pool. |
Remove-AzureRmSqlElasticPool | Deletes an elastic database pool on a logical SQL server. |
Get-AzureRmSqlElasticPoolActivity | Gets the status of operations on an elastic pool on a logical SQL server. |
New-AzureRmSqlDatabase | Creates a new database in an existing pool or as a single database. |
Get-AzureRmSqlDatabase | Gets one or more databases. |
Set-AzureRmSqlDatabase | Sets properties for a database, or moves an existing database into, out of, or between elastic pools. |
Remove-AzureRmSqlDatabase | Removes a database. |
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-pool