The guestDiagnosticSettingsAssociation resource type is an extension resource, which means you can apply it to another resource.
Use the scope
property on this resource to set the scope for this resource. See Set scope on extension resources in ARM templates.
The guestDiagnosticSettingsAssociation resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a microsoft.insights/guestDiagnosticSettingsAssociation resource, add the following JSON to your template.
{
"type": "microsoft.insights/guestDiagnosticSettingsAssociation",
"apiVersion": "2018-06-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"scope": "string",
"properties": {
"guestDiagnosticSettingsName": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'microsoft.insights/guestDiagnosticSettingsAssociation' |
apiVersion | The resource api version | '2018-06-01-preview' |
name | The resource name | string (required) |
location | Resource location | string (required) |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
scope | Use when creating an extension resource at a scope that is different than the deployment scope. | Target resource For JSON, set the value to the full name of the resource to apply the extension resource to. |
properties | The diagnostics settings associations of the resource. | GuestDiagnosticSettingsAssociation (required) |
Name | Description | Value |
---|---|---|
guestDiagnosticSettingsName | The guest diagnostic settings name. | string (required) |