microsoft.insights guestDiagnosticSettingsAssociation

The guestDiagnosticSettingsAssociation resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a microsoft.insights/guestDiagnosticSettingsAssociation resource, add the following Bicep or JSON to your template.

resource symbolicname 'microsoft.insights/guestDiagnosticSettingsAssociation@2018-06-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  properties: {
    guestDiagnosticSettingsName: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name string (required)
location Resource location string (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
properties A guest diagnostic settings association. GuestDiagnosticSettingsAssociation (required)


Name Description Value
guestDiagnosticSettingsName The guest diagnostic settings name. string (required)