Cmdlets to provide and manage SQL servers for tests.
Creates a new Azure SQL Database and returns the connection parameters.
New-SqlTestAzureDatabase -Server <Object> [<CommonParameters>]
New-SqlTestAzureDatabase -Subscription <String> [<CommonParameters>]
Uses a existing test azure sql instance and creates a database for (temporary) use.
$instance = New-SqlTestAzureInstance -Subscription 'MyAzureSubscription'
PS> New-SqlTestAzureDatabase -Instance $instance
Specifies the Azure SQL Server. [Microsoft.Azure.Commands.Sql.Server.Model.AzureSqlServerModel]
Type: Object
Parameter Sets: UseServer
Aliases: Instance
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the Azure Subscription name.
Type: String
Parameter Sets: NewServer
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.