Describe the bug
Updating from a serverless vCore service model with capacity 2 to a DTU model with service objective 3 sets a wrong capacity.
To Reproduce
The first cli call sets the db to vCore serverless, the second switches to DTU with implied capacity 100 (service-objective S3) which reveals the bug.
az sql db update \
--compute-model Serverless \
--capacity 2 \
--edition GeneralPurpose \
--family Gen5 \
--resource-group ResourceGroup \
--server uniform-name \
--name uniform-name \
&& \
az sql db update \
--edition Standard \
--service-objective S3 \
--resource-group ResourceGroup \
--server uniform-name \
--name uniform-name
Related command
az sql db update
Describe the bug Updating from a serverless vCore service model with capacity 2 to a DTU model with service objective 3 sets a wrong capacity.
To Reproduce The first cli call sets the db to vCore serverless, the second switches to DTU with implied capacity 100 (service-objective S3) which reveals the bug.
Eventually yields
The lack of capacity is confirmed by
Please see the additional context for the full command output.
Expected behavior The update command should
Environment summary
Additional context Running
again sets the capacity correctly.
Full command output: