Hi, @Anonymous Thanks for the ask and for using the Microsoft Q&A platform.
Did you get a chance to try the below api sample?.
https://learn.microsoft.com/en-us/rest/api/sql/2021-02-01-preview/database-blob-auditing-policies/create-or-update
arm template to configure audit to log analytics
https://azure.microsoft.com/en-us/resources/templates/sql-auditing-server-policy-to-oms/
Regards
Geetha