has anyone got the pulumi code to enable container...
# azure
has anyone got the pulumi code to enable container insights for a newly created AKS cluster? (I'm using C#). I've got the docs from m/soft on the subject (https://docs.microsoft.com/en-us/azure/azure-monitor/containers/container-insights-onboard) just not sure how this translates to the ManagedCluster API or otherwise.
@damp-honey-93158 it’s part of the `AddonProfiles`: https://github.com/pulumi/examples/blob/master/azure-cs-aks-cosmos-helm/AksCluster.cs#L57-L59 it’s untyped, so if you have an ARM template with it enabled you should be able to figure out the addonprofiles
looks like its this:
Copy code
"addonProfiles": {
          "omsagent": {
            "enabled": true,
            "config": {
              "logAnalyticsWorkspaceResourceID": "[parameters('workspaceResourceId')]"
awesome - thanks for the direction & tip - I'll stop working on Pulumi.Command (that was where I was going) and look into this.
well, what worked first time - thanks!
it's now rolled out into my dev & staging env.
🎉 1