DataCollectionRule

class DataCollectionRule : KotlinCustomResource

Manages a Data Collection Rule.

Import

Data Collection Rules can be imported using the resource id, e.g.

$ pulumi import azure:monitoring/dataCollectionRule:DataCollectionRule example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Insights/dataCollectionRules/rule1

Properties

Link copied to clipboard

The resource ID of the Data Collection Endpoint that this rule can be used with.

Link copied to clipboard

One or more data_flow blocks as defined below.

Link copied to clipboard

A data_sources block as defined below. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.

Link copied to clipboard
val description: Output<String>?

The description of the Data Collection Rule.

Link copied to clipboard

A destinations block as defined below.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

An identity block as defined below.

Link copied to clipboard
val immutableId: Output<String>

The immutable ID of the Data Collection Rule.

Link copied to clipboard
val kind: Output<String>?

The kind of the Data Collection Rule. Possible values are Linux, Windows, AgentDirectToStore and WorkspaceTransforms. A rule of kind Linux does not allow for windows_event_log data sources. And a rule of kind Windows does not allow for syslog data sources. If kind is not specified, all kinds of data sources are allowed.

Link copied to clipboard
val location: Output<String>

The Azure Region where the Data Collection Rule should exist. Changing this forces a new Data Collection Rule to be created.

Link copied to clipboard
val name: Output<String>

The name which should be used for this Data Collection Rule. Changing this forces a new Data Collection Rule to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The name of the Resource Group where the Data Collection Rule should exist. Changing this forces a new Data Collection Rule to be created.

Link copied to clipboard

A stream_declaration block as defined below.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A mapping of tags which should be assigned to the Data Collection Rule.

Link copied to clipboard
val urn: Output<String>