I am new to Python and I am trying to write some small scripts top remediate my Azure environment. I am trying to test enabling TDE on Azure SQL databases, but I can't see any sample code to help me out.
Am I going on the right way using the TransparentDataEncryptionStatus
command? I am not really sure where to go from here.
This is for an Azure Function
mssql_client = SqlManagementClient(credentials, sql_subscription)
database_settings = mssql_client.databases.create_or_update(sql_resource_group, sql_server, sql_db, TransparentDataEncryptionStatus
What goes next?