breezy-animal-52081
02/15/2021, 11:43 AMPulumi.Azure.Sql.DatabaseArgs.Edition
property to "GeneralPurpose" I can't see how to set ComputeModel to serverless.
Here is the equivalent Azure command line call:
New-AzSqlDatabase -ResourceGroupName $resourceGroupName -ServerName $serverName -DatabaseName $databaseName -ComputeModel Serverless -Edition GeneralPurpose -ComputeGeneration Gen5 -MinVcore 0.5 -MaxVcore 2 -AutoPauseDelayInMinutes 720
as per this page: https://docs.microsoft.com/en-gb/azure/azure-sql/database/serverless-tier-overview#use-powershell
Thanks!tall-librarian-49374
02/15/2021, 11:48 AMsku: {
name: "GP_S_Gen5",
tier: "GeneralPurpose",
family: "Gen5",
capacity: 1
},
I don’t know how this translates to the classic Azure provider.breezy-animal-52081
02/15/2021, 5:25 PMtall-librarian-49374
02/15/2021, 6:03 PMGP_S_Gen5
is the magic value. I took it from ARM templates.