https://pulumi.com logo
Title
s

swift-lunch-74411

06/30/2020, 11:26 AM
Is anyone know how to enable diagnostic logging on Blob Storage in Azure (Using Pulumi). The AccountBlobProperties class has very limited properties compare to whatever is available. There is also DiagnosticSetting which might be relevant but i'm wonder if anyone has used this to solve similar problem
g

gentle-diamond-70147

06/30/2020, 6:06 PM
Hey Mo, this is currently missing from the upstream provider, but you could use a DynamicProvider to achieve the same thing using the
az
cli. Here's an example of doing something similar - https://github.com/pulumi/examples/blob/07543bd6242bc9946c48b5c1f08f98c5ce854526/azure-ts-static-website/staticWebsite.ts#L49.
s

swift-lunch-74411

07/07/2020, 2:39 PM
Thanks. That was very helpful.