az sql db tde
Manage a database's transparent data encryption.
Commands
az sql db tde list-activity | Returns a database's transparent data encryption operation result. |
az sql db tde set | Sets a database's transparent data encryption configuration. |
az sql db tde show | Gets a database's transparent data encryption configuration. |
az sql db tde list-activity
Returns a database's transparent data encryption operation result.
az sql db tde list-activity [--database]
[--ids]
[--resource-group]
[--server]
[--subscription]
Optional Parameters
Name of the Azure SQL Database.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. If provided, no other 'Resource Id' arguments should be specified.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure SQL server. You can configure the default using az configure --defaults sql-server=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
az sql db tde set
Sets a database's transparent data encryption configuration.
az sql db tde set --status {Disabled, Enabled}
[--database]
[--ids]
[--resource-group]
[--server]
[--subscription]
Examples
Sets a database's transparent data encryption configuration. (autogenerated)
az sql db tde set --database mydb --resource-group MyResourceGroup --server myserver --status Enabled
Required Parameters
Status of the transparent data encryption.
Optional Parameters
Name of the Azure SQL Database.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. If provided, no other 'Resource Id' arguments should be specified.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure SQL server. You can configure the default using az configure --defaults sql-server=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
az sql db tde show
Gets a database's transparent data encryption configuration.
az sql db tde show [--database]
[--ids]
[--resource-group]
[--server]
[--subscription]
Optional Parameters
Name of the Azure SQL Database.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. If provided, no other 'Resource Id' arguments should be specified.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure SQL server. You can configure the default using az configure --defaults sql-server=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Feedback
Loading feedback...