azurerm_monitor_data_collection_ruleNivis Nix constructor for the azurerm_monitor_data_collection_rule resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
location,
resource_group_name,
data_collection_endpoint_id ? null,
description ? null,
id ? null,
kind ? null,
cfg_name ? null,
tags ? null,
data_flow ? null,
data_sources ? null,
destinations ? null,
identity ? null,
stream_declaration ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_name
Optional arguments
data_collection_endpoint_id(defaults tonull)description(defaults tonull)id(defaults tonull)kind(defaults tonull)cfg_name(defaults tonull)tags(defaults tonull)data_flow(defaults tonull)data_sources(defaults tonull)destinations(defaults tonull)identity(defaults tonull)stream_declaration(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
immutable_idlogs_ingestion_endpointmetrics_ingestion_endpoint
Example
azurerm_monitor_data_collection_rule {
name = "monitor_data_collection_rule";
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.