Microsoft.Insights dataCollectionRuleAssociations 2023-03-11
Bicep resource definition
The dataCollectionRuleAssociations 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 Bicep.
The dataCollectionRuleAssociations resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
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@2023-03-11' = {
name: 'string'
scope: resourceSymbolicName
properties: {
dataCollectionEndpointId: 'string'
dataCollectionRuleId: 'string'
description: 'string'
}
}
Property values
dataCollectionRuleAssociations
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
scope | Use when creating an extension resource at a scope that is different than the deployment scope. | Target resource For Bicep, set this property to the symbolic name of the resource to apply the extension resource. |
properties | Resource properties. | DataCollectionRuleAssociationProxyOnlyResourceProper... |
DataCollectionRuleAssociationProxyOnlyResourceProper...
Name | Description | Value |
---|---|---|
dataCollectionEndpointId | The resource ID of the data collection endpoint that is to be associated. | string |
dataCollectionRuleId | The resource ID of the data collection rule that is to be associated. | string |
description | Description of the association. | string |
Quickstart templates
The following 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 |
ARM template resource definition
The dataCollectionRuleAssociations 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 dataCollectionRuleAssociations resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
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": "2023-03-11",
"name": "string",
"scope": "string",
"properties": {
"dataCollectionEndpointId": "string",
"dataCollectionRuleId": "string",
"description": "string"
}
}
Property values
dataCollectionRuleAssociations
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Insights/dataCollectionRuleAssociations' |
apiVersion | The resource api version | '2023-03-11' |
name | The resource name | string (required) |
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 | Resource properties. | DataCollectionRuleAssociationProxyOnlyResourceProper... |
DataCollectionRuleAssociationProxyOnlyResourceProper...
Name | Description | Value |
---|---|---|
dataCollectionEndpointId | The resource ID of the data collection endpoint that is to be associated. | string |
dataCollectionRuleId | The resource ID of the data collection rule that is to be associated. | string |
description | Description of the association. | string |
Quickstart templates
The following 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 |
Terraform (AzAPI provider) resource definition
The dataCollectionRuleAssociations resource type is an extension resource, which means you can apply it to another resource.
Use the parent_id
property on this resource to set the scope for this resource.
The dataCollectionRuleAssociations resource type can be deployed with operations that target:
- Resource groups
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@2023-03-11"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
dataCollectionEndpointId = "string"
dataCollectionRuleId = "string"
description = "string"
}
})
}
Property values
dataCollectionRuleAssociations
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.Insights/dataCollectionRuleAssociations@2023-03-11" |
name | The resource name | string (required) |
parent_id | The ID of the resource to apply this extension resource to. | string (required) |
properties | Resource properties. | DataCollectionRuleAssociationProxyOnlyResourceProper... |
DataCollectionRuleAssociationProxyOnlyResourceProper...
Name | Description | Value |
---|---|---|
dataCollectionEndpointId | The resource ID of the data collection endpoint that is to be associated. | string |
dataCollectionRuleId | The resource ID of the data collection rule that is to be associated. | string |
description | Description of the association. | string |