Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PowerShell Command to deploy Azure Arc Monitoring Extensions using ARM Template
New-AzResourceGroupDeployment `
-ResourceGroupName '<NAME OF RESOURCE GROUP CONTAINING ARC MACHINES>' `
-TemplateFile ~/AzureArcLinuxMonitoringExtensions.json `
-TemplateParameterObject @{
MachineName = '<NAME OF AZURE ARC MACHINE>'
Location = '<LOCATION OF AZURE ARM MACHINE>'
WorkspaceId = '<WORKSPACE ID OF LOG ANALYTICS WORKSPACE>'
WorkspaceKey = '<WORKSPACE KEY OF LOG ANALYTICS WORKSPACE>'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.