Azure CLI samples for Azure SQL Managed Instance

Applies to: Azure SQL Managed Instance

You can configure Azure SQL Managed Instance by using the Azure CLI.

If you don't have an Azure trail subscription, create a trial subscription before you begin.

Prerequisites

You can use the local Azure CLI.

Samples

The following table includes links to Azure CLI script examples for Azure SQL Managed Instance.

Area Description
Create SQL Managed Instance Creates a SQL Managed Instance.
Configure Transparent Data Encryption (TDE) Configures Transparent Data Encryption (TDE) in SQL Managed Instance by using Azure Key Vault with various key scenarios.

For additional SQL Managed Instance examples, see the create, update, move a database, and working with scripts.

Learn more about the SQL Managed Instance Azure CLI API.