Data Collection Rule Args
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
Constructors
Properties
The resource ID of the Data Collection Endpoint that this rule can be used with.
One or more data_flow
blocks as defined below.
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.
The description of the Data Collection Rule.
A destinations
block as defined below.
An identity
block as defined below.
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.
The name of the Resource Group where the Data Collection Rule should exist. Changing this forces a new Data Collection Rule to be created.
A stream_declaration
block as defined below.