Azure / Azure/azure-cli

CLI - SQL Ledger

Open
#18,339 3 comments 0 reactions 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

**Resource Provider**
AZ SQL DB

**Description of Feature or Work Requested**
Adding AZ CLI support for SQL Ledger. This includes adding command to enable, disable, and show ledger digest uploads. It also adds the -ledger-on property for az sql db create

Example:
az sql db ledger-digest-uploads enable --endpoint
[--ids]
[--name]
[--resource-group]
[--server]
[--subscription]


az sql db ledger-digest-uploads disable [--ids]
[--name]
[--resource-group]
[--server]
[--subscription]

az sql db ledger-digest-uploads show [--ids]
[--name]
[--resource-group]
[--server]
[--subscription]

az sql db create -g mygroup -s myserver -n mydb -ledger-on

See section 4.8: https://microsoft.sharepoint.com/:w:/t/sqlsecurity/EVzEJFzKvh9IkejmGri1cGgBMGJDfxREfiwDfLrrV4AhZQ?e=5wiD6d

**Minimum API Version Required**
Python Azure Mgmt SQL 0.27.0: https://pypi.org/project/azure-mgmt-sql/0.27.0/
based on package composite V5 tag

**Swagger Link**
https://github.com/Azure/azure-rest-api-specs/pull/13871/files
https://github.com/Azure/azure-rest-api-specs/pull/13916/files

**Target Date**
S189

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.