I am able to create the Azure Sql database by mentioning the pricing tier.
I am trying to set the Memory and DTU for the database.
I am not able to find the Correct Api , Here is what i tried
PUT : https://management.azure.com/subscriptions/<subscription-ID>/resourceGroups/<Resource-group-Name>/providers/Microsoft.Sql/servers/<Server-name>/databases/<Database-name>/?api-version=2014-04-01
Request Body :
{
"location": "East Asia",
"properties": {
"edition": "Premium",
"collation":"SQL_Latin1_General_CP1_CI_AS",
"sampleName": "blank database",
"serviceTierAdvisors":[
{
"maxSizeInGB":"150",
"maxDtu":"500"
}
]
}
}
I am not getting the proper error message also , Can anyone guide me with the Parameter for setting DTU at Database Level ??