Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The dataCollectionRuleAssociations resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Insights/dataCollectionRuleAssociations resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Insights/dataCollectionRuleAssociations@2019-11-01-preview' = {
scope: resourceSymbolicName or scope
name: 'string'
properties: {
dataCollectionRuleId: 'string'
description: 'string'
}
}
Property Values
Microsoft.Insights/dataCollectionRuleAssociations
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | Resource properties. | DataCollectionRuleAssociationProxyOnlyResourceProperties |
scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
DataCollectionRuleAssociationProxyOnlyResourceProperties
Name | Description | Value |
---|---|---|
dataCollectionRuleId | The resource ID of the data collection rule that is to be associated. | string |
description | Description of the association. | string |
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
Deploy Secure AI Foundry with a managed virtual network | This template creates a secure Azure AI Foundry environment with robust network and identity security restrictions. |
ARM template resource definition
The dataCollectionRuleAssociations resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Insights/dataCollectionRuleAssociations resource, add the following JSON to your template.
{
"type": "Microsoft.Insights/dataCollectionRuleAssociations",
"apiVersion": "2019-11-01-preview",
"name": "string",
"properties": {
"dataCollectionRuleId": "string",
"description": "string"
}
}
Property Values
Microsoft.Insights/dataCollectionRuleAssociations
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2019-11-01-preview' |
name | The resource name | string (required) |
properties | Resource properties. | DataCollectionRuleAssociationProxyOnlyResourceProperties |
type | The resource type | 'Microsoft.Insights/dataCollectionRuleAssociations' |
DataCollectionRuleAssociationProxyOnlyResourceProperties
Name | Description | Value |
---|---|---|
dataCollectionRuleId | The resource ID of the data collection rule that is to be associated. | string |
description | Description of the association. | string |
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
Deploy Darktrace Autoscaling vSensors |
This template allows you to deploy an automatically autoscaling deployment of Darktrace vSensors |
Deploy Secure AI Foundry with a managed virtual network |
This template creates a secure Azure AI Foundry environment with robust network and identity security restrictions. |
Terraform (AzAPI provider) resource definition
The dataCollectionRuleAssociations resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Insights/dataCollectionRuleAssociations resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Insights/dataCollectionRuleAssociations@2019-11-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
dataCollectionRuleId = "string"
description = "string"
}
}
}
Property Values
Microsoft.Insights/dataCollectionRuleAssociations
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
parent_id | The ID of the resource to apply this extension resource to. | string (required) |
properties | Resource properties. | DataCollectionRuleAssociationProxyOnlyResourceProperties |
type | The resource type | "Microsoft.Insights/dataCollectionRuleAssociations@2019-11-01-preview" |
DataCollectionRuleAssociationProxyOnlyResourceProperties
Name | Description | Value |
---|---|---|
dataCollectionRuleId | The resource ID of the data collection rule that is to be associated. | string |
description | Description of the association. | string |