adventurous-butcher-5416606/29/2023, 1:03 PM
• Providing a blob URI to different parameters on
but those only accept Azure resource IDs
• Multiple Azure API versions
Furthermore, searching for the specific parameter names exposed by the
endpoint in the
module didn't give me anything:
• storageKey / storage_key
• storageUri / storage_uri
• blobUri / blob_uri
Is this API not represented in the SDK or do you know how to go about using
to do this?
rapid-engineer-9423206/30/2023, 6:22 AM
icy-doctor-1371906/30/2023, 5:59 PM
adventurous-butcher-5416606/30/2023, 6:10 PM
There's a caveat though, as bacpac imports have to be done during the initial provisioning of the DB as it has to be completely empty.
The workaround to be able to restore from bacpac on a newly/already provisioned Azure SQL DB, as described here, is to drop all triggers, procedures, functions, tables, views etc. before running the sqlpackage bacpac import.
A bit hacky IMO but worked out ok...