You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am creating a Bicep Template (held in a ACR) for our engineers to use.
I have created a VM Insights template that includes:
Data Collection Rule
Data Collection Rule Association
Existing VM
Existing VM RG
I want to have One DCR for VM insights.
Then have an association referencing the DCR.id.
The existing Vm resource group requires the template to be targetscope = Subscription but the DCR requires the TargetScope to be Resource group.
Any ideas how i can achieve this?
I have attempted to put a seperate file for the DCR Association but doesn't like the reference of a resource.
Trying to understand how this can be achieved?
I have managed to get this to work creating the VM
Beta Was this translation helpful? Give feedback.
All reactions