Azure / Azure/azure-cli

az sql update should support --license-type option

Open
#20,642 5 comments 1 reaction 0 assignees View on GitHub
act-codegen-extensibility-squad Service Attention SQL
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Az Sql update does not support changing the --license-type, meanwhile the PowerShell equivalent of the same statement (Set-AzSqlDatabase (https://docs.microsoft.com/en-us/powershell/module/az.sql/set-azsqldatabase?view=azps-7.0.0), does support this behavior, and the setting of 'License Type' can be changed within the portal.

Azure CLI should support this as well. I have checked using the Azure Shell; PowerShell allows for the changes to be made, Portal allows the change to be made, AZ CLI errors with an unrecognized arguments error.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: c1bdd674-b454-e863-c943-9c979b466a92
* Version Independent ID: b15341f9-3f1b-00e0-a1c2-970f25a6ab03
* Content: [az sql db](https://docs.microsoft.com/en-us/cli/azure/sql/db?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/sql/db.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/sql/db.yml)
* Service: **sql-database**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.