1. Packages
  2. Azure Classic
  3. API Docs
  4. monitoring
  5. getDataCollectionRule

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

azure.monitoring.getDataCollectionRule

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

    Use this data source to access information about an existing Data Collection Rule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = azure.monitoring.getDataCollectionRule({
        name: "example-rule",
        resourceGroupName: exampleAzurermResourceGroup.name,
    });
    export const ruleId = example.then(example => example.id);
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.monitoring.get_data_collection_rule(name="example-rule",
        resource_group_name=example_azurerm_resource_group["name"])
    pulumi.export("ruleId", example.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/monitoring"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := monitoring.LookupDataCollectionRule(ctx, &monitoring.LookupDataCollectionRuleArgs{
    			Name:              "example-rule",
    			ResourceGroupName: exampleAzurermResourceGroup.Name,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("ruleId", example.Id)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Azure.Monitoring.GetDataCollectionRule.Invoke(new()
        {
            Name = "example-rule",
            ResourceGroupName = exampleAzurermResourceGroup.Name,
        });
    
        return new Dictionary<string, object?>
        {
            ["ruleId"] = example.Apply(getDataCollectionRuleResult => getDataCollectionRuleResult.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.monitoring.MonitoringFunctions;
    import com.pulumi.azure.monitoring.inputs.GetDataCollectionRuleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = MonitoringFunctions.getDataCollectionRule(GetDataCollectionRuleArgs.builder()
                .name("example-rule")
                .resourceGroupName(exampleAzurermResourceGroup.name())
                .build());
    
            ctx.export("ruleId", example.applyValue(getDataCollectionRuleResult -> getDataCollectionRuleResult.id()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: azure:monitoring:getDataCollectionRule
          Arguments:
            name: example-rule
            resourceGroupName: ${exampleAzurermResourceGroup.name}
    outputs:
      ruleId: ${example.id}
    

    Using getDataCollectionRule

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDataCollectionRule(args: GetDataCollectionRuleArgs, opts?: InvokeOptions): Promise<GetDataCollectionRuleResult>
    function getDataCollectionRuleOutput(args: GetDataCollectionRuleOutputArgs, opts?: InvokeOptions): Output<GetDataCollectionRuleResult>
    def get_data_collection_rule(name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetDataCollectionRuleResult
    def get_data_collection_rule_output(name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetDataCollectionRuleResult]
    func LookupDataCollectionRule(ctx *Context, args *LookupDataCollectionRuleArgs, opts ...InvokeOption) (*LookupDataCollectionRuleResult, error)
    func LookupDataCollectionRuleOutput(ctx *Context, args *LookupDataCollectionRuleOutputArgs, opts ...InvokeOption) LookupDataCollectionRuleResultOutput

    > Note: This function is named LookupDataCollectionRule in the Go SDK.

    public static class GetDataCollectionRule 
    {
        public static Task<GetDataCollectionRuleResult> InvokeAsync(GetDataCollectionRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetDataCollectionRuleResult> Invoke(GetDataCollectionRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDataCollectionRuleResult> getDataCollectionRule(GetDataCollectionRuleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure:monitoring/getDataCollectionRule:getDataCollectionRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Specifies the name of the Data Collection Rule.
    ResourceGroupName string
    Specifies the name of the resource group the Data Collection Rule is located in.
    Name string
    Specifies the name of the Data Collection Rule.
    ResourceGroupName string
    Specifies the name of the resource group the Data Collection Rule is located in.
    name String
    Specifies the name of the Data Collection Rule.
    resourceGroupName String
    Specifies the name of the resource group the Data Collection Rule is located in.
    name string
    Specifies the name of the Data Collection Rule.
    resourceGroupName string
    Specifies the name of the resource group the Data Collection Rule is located in.
    name str
    Specifies the name of the Data Collection Rule.
    resource_group_name str
    Specifies the name of the resource group the Data Collection Rule is located in.
    name String
    Specifies the name of the Data Collection Rule.
    resourceGroupName String
    Specifies the name of the resource group the Data Collection Rule is located in.

    getDataCollectionRule Result

    The following output properties are available:

    DataCollectionEndpointId string
    The resource ID of the Data Collection Endpoint that this rule can be used with.
    DataFlows List<GetDataCollectionRuleDataFlow>
    One or more data_flow blocks as defined below.
    DataSources List<GetDataCollectionRuleDataSource>
    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.
    Description string
    The description of the Data Collection Rule.
    Destinations List<GetDataCollectionRuleDestination>
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identities List<GetDataCollectionRuleIdentity>
    An identity block as defined below.
    ImmutableId string
    Kind string
    The kind of the Data Collection Rule. Possible values are Linux, Windows,and AgentDirectToStore. 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.
    Location string
    The Azure Region where the Data Collection Rule should exist. Changing this forces a new Data Collection Rule to be created.
    Name string
    The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
    ResourceGroupName string
    StreamDeclarations List<GetDataCollectionRuleStreamDeclaration>
    A stream_declaration block as defined below.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Data Collection Rule.
    DataCollectionEndpointId string
    The resource ID of the Data Collection Endpoint that this rule can be used with.
    DataFlows []GetDataCollectionRuleDataFlow
    One or more data_flow blocks as defined below.
    DataSources []GetDataCollectionRuleDataSource
    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.
    Description string
    The description of the Data Collection Rule.
    Destinations []GetDataCollectionRuleDestination
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identities []GetDataCollectionRuleIdentity
    An identity block as defined below.
    ImmutableId string
    Kind string
    The kind of the Data Collection Rule. Possible values are Linux, Windows,and AgentDirectToStore. 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.
    Location string
    The Azure Region where the Data Collection Rule should exist. Changing this forces a new Data Collection Rule to be created.
    Name string
    The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
    ResourceGroupName string
    StreamDeclarations []GetDataCollectionRuleStreamDeclaration
    A stream_declaration block as defined below.
    Tags map[string]string
    A mapping of tags which should be assigned to the Data Collection Rule.
    dataCollectionEndpointId String
    The resource ID of the Data Collection Endpoint that this rule can be used with.
    dataFlows List<GetDataCollectionRuleDataFlow>
    One or more data_flow blocks as defined below.
    dataSources List<GetDataCollectionRuleDataSource>
    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.
    description String
    The description of the Data Collection Rule.
    destinations List<GetDataCollectionRuleDestination>
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    id String
    The provider-assigned unique ID for this managed resource.
    identities List<GetDataCollectionRuleIdentity>
    An identity block as defined below.
    immutableId String
    kind String
    The kind of the Data Collection Rule. Possible values are Linux, Windows,and AgentDirectToStore. 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.
    location String
    The Azure Region where the Data Collection Rule should exist. Changing this forces a new Data Collection Rule to be created.
    name String
    The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
    resourceGroupName String
    streamDeclarations List<GetDataCollectionRuleStreamDeclaration>
    A stream_declaration block as defined below.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Data Collection Rule.
    dataCollectionEndpointId string
    The resource ID of the Data Collection Endpoint that this rule can be used with.
    dataFlows GetDataCollectionRuleDataFlow[]
    One or more data_flow blocks as defined below.
    dataSources GetDataCollectionRuleDataSource[]
    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.
    description string
    The description of the Data Collection Rule.
    destinations GetDataCollectionRuleDestination[]
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    id string
    The provider-assigned unique ID for this managed resource.
    identities GetDataCollectionRuleIdentity[]
    An identity block as defined below.
    immutableId string
    kind string
    The kind of the Data Collection Rule. Possible values are Linux, Windows,and AgentDirectToStore. 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.
    location string
    The Azure Region where the Data Collection Rule should exist. Changing this forces a new Data Collection Rule to be created.
    name string
    The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
    resourceGroupName string
    streamDeclarations GetDataCollectionRuleStreamDeclaration[]
    A stream_declaration block as defined below.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Data Collection Rule.
    data_collection_endpoint_id str
    The resource ID of the Data Collection Endpoint that this rule can be used with.
    data_flows Sequence[GetDataCollectionRuleDataFlow]
    One or more data_flow blocks as defined below.
    data_sources Sequence[GetDataCollectionRuleDataSource]
    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.
    description str
    The description of the Data Collection Rule.
    destinations Sequence[GetDataCollectionRuleDestination]
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    id str
    The provider-assigned unique ID for this managed resource.
    identities Sequence[GetDataCollectionRuleIdentity]
    An identity block as defined below.
    immutable_id str
    kind str
    The kind of the Data Collection Rule. Possible values are Linux, Windows,and AgentDirectToStore. 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.
    location str
    The Azure Region where the Data Collection Rule should exist. Changing this forces a new Data Collection Rule to be created.
    name str
    The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
    resource_group_name str
    stream_declarations Sequence[GetDataCollectionRuleStreamDeclaration]
    A stream_declaration block as defined below.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Data Collection Rule.
    dataCollectionEndpointId String
    The resource ID of the Data Collection Endpoint that this rule can be used with.
    dataFlows List<Property Map>
    One or more data_flow blocks as defined below.
    dataSources List<Property Map>
    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.
    description String
    The description of the Data Collection Rule.
    destinations List<Property Map>
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    id String
    The provider-assigned unique ID for this managed resource.
    identities List<Property Map>
    An identity block as defined below.
    immutableId String
    kind String
    The kind of the Data Collection Rule. Possible values are Linux, Windows,and AgentDirectToStore. 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.
    location String
    The Azure Region where the Data Collection Rule should exist. Changing this forces a new Data Collection Rule to be created.
    name String
    The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
    resourceGroupName String
    streamDeclarations List<Property Map>
    A stream_declaration block as defined below.
    tags Map<String>
    A mapping of tags which should be assigned to the Data Collection Rule.

    Supporting Types

    GetDataCollectionRuleDataFlow

    BuiltInTransform string
    The built-in transform to transform stream data.
    Destinations List<string>
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    OutputStream string
    The output stream of the transform. Only required if the data flow changes data to a different stream.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    TransformKql string
    The KQL query to transform stream data.
    BuiltInTransform string
    The built-in transform to transform stream data.
    Destinations []string
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    OutputStream string
    The output stream of the transform. Only required if the data flow changes data to a different stream.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    TransformKql string
    The KQL query to transform stream data.
    builtInTransform String
    The built-in transform to transform stream data.
    destinations List<String>
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    outputStream String
    The output stream of the transform. Only required if the data flow changes data to a different stream.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    transformKql String
    The KQL query to transform stream data.
    builtInTransform string
    The built-in transform to transform stream data.
    destinations string[]
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    outputStream string
    The output stream of the transform. Only required if the data flow changes data to a different stream.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    transformKql string
    The KQL query to transform stream data.
    built_in_transform str
    The built-in transform to transform stream data.
    destinations Sequence[str]
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    output_stream str
    The output stream of the transform. Only required if the data flow changes data to a different stream.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    transform_kql str
    The KQL query to transform stream data.
    builtInTransform String
    The built-in transform to transform stream data.
    destinations List<String>
    Specifies a list of destination names. A azure_monitor_metrics data source only allows for stream of kind Microsoft-InsightsMetrics.
    outputStream String
    The output stream of the transform. Only required if the data flow changes data to a different stream.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    transformKql String
    The KQL query to transform stream data.

    GetDataCollectionRuleDataSource

    DataImports List<GetDataCollectionRuleDataSourceDataImport>
    A data_import block as defined above.
    Extensions List<GetDataCollectionRuleDataSourceExtension>
    One or more extension blocks as defined below.
    IisLogs List<GetDataCollectionRuleDataSourceIisLog>
    One or more iis_log blocks as defined below.
    PerformanceCounters List<GetDataCollectionRuleDataSourcePerformanceCounter>
    One or more performance_counter blocks as defined below.
    PrometheusForwarders List<GetDataCollectionRuleDataSourcePrometheusForwarder>
    One or more prometheus_forwarder blocks as defined below.
    Syslogs List<GetDataCollectionRuleDataSourceSyslog>
    One or more syslog blocks as defined below.
    WindowsEventLogs List<GetDataCollectionRuleDataSourceWindowsEventLog>
    One or more windows_event_log blocks as defined below.
    WindowsFirewallLogs List<GetDataCollectionRuleDataSourceWindowsFirewallLog>
    One or more windows_firewall_log blocks as defined below.
    LogFiles List<GetDataCollectionRuleDataSourceLogFile>
    One or more log_file blocks as defined below.
    PlatformTelemetries List<GetDataCollectionRuleDataSourcePlatformTelemetry>
    One or more platform_telemetry blocks as defined below.
    DataImports []GetDataCollectionRuleDataSourceDataImport
    A data_import block as defined above.
    Extensions []GetDataCollectionRuleDataSourceExtension
    One or more extension blocks as defined below.
    IisLogs []GetDataCollectionRuleDataSourceIisLog
    One or more iis_log blocks as defined below.
    PerformanceCounters []GetDataCollectionRuleDataSourcePerformanceCounter
    One or more performance_counter blocks as defined below.
    PrometheusForwarders []GetDataCollectionRuleDataSourcePrometheusForwarder
    One or more prometheus_forwarder blocks as defined below.
    Syslogs []GetDataCollectionRuleDataSourceSyslog
    One or more syslog blocks as defined below.
    WindowsEventLogs []GetDataCollectionRuleDataSourceWindowsEventLog
    One or more windows_event_log blocks as defined below.
    WindowsFirewallLogs []GetDataCollectionRuleDataSourceWindowsFirewallLog
    One or more windows_firewall_log blocks as defined below.
    LogFiles []GetDataCollectionRuleDataSourceLogFile
    One or more log_file blocks as defined below.
    PlatformTelemetries []GetDataCollectionRuleDataSourcePlatformTelemetry
    One or more platform_telemetry blocks as defined below.
    dataImports List<GetDataCollectionRuleDataSourceDataImport>
    A data_import block as defined above.
    extensions List<GetDataCollectionRuleDataSourceExtension>
    One or more extension blocks as defined below.
    iisLogs List<GetDataCollectionRuleDataSourceIisLog>
    One or more iis_log blocks as defined below.
    performanceCounters List<GetDataCollectionRuleDataSourcePerformanceCounter>
    One or more performance_counter blocks as defined below.
    prometheusForwarders List<GetDataCollectionRuleDataSourcePrometheusForwarder>
    One or more prometheus_forwarder blocks as defined below.
    syslogs List<GetDataCollectionRuleDataSourceSyslog>
    One or more syslog blocks as defined below.
    windowsEventLogs List<GetDataCollectionRuleDataSourceWindowsEventLog>
    One or more windows_event_log blocks as defined below.
    windowsFirewallLogs List<GetDataCollectionRuleDataSourceWindowsFirewallLog>
    One or more windows_firewall_log blocks as defined below.
    logFiles List<GetDataCollectionRuleDataSourceLogFile>
    One or more log_file blocks as defined below.
    platformTelemetries List<GetDataCollectionRuleDataSourcePlatformTelemetry>
    One or more platform_telemetry blocks as defined below.
    dataImports GetDataCollectionRuleDataSourceDataImport[]
    A data_import block as defined above.
    extensions GetDataCollectionRuleDataSourceExtension[]
    One or more extension blocks as defined below.
    iisLogs GetDataCollectionRuleDataSourceIisLog[]
    One or more iis_log blocks as defined below.
    performanceCounters GetDataCollectionRuleDataSourcePerformanceCounter[]
    One or more performance_counter blocks as defined below.
    prometheusForwarders GetDataCollectionRuleDataSourcePrometheusForwarder[]
    One or more prometheus_forwarder blocks as defined below.
    syslogs GetDataCollectionRuleDataSourceSyslog[]
    One or more syslog blocks as defined below.
    windowsEventLogs GetDataCollectionRuleDataSourceWindowsEventLog[]
    One or more windows_event_log blocks as defined below.
    windowsFirewallLogs GetDataCollectionRuleDataSourceWindowsFirewallLog[]
    One or more windows_firewall_log blocks as defined below.
    logFiles GetDataCollectionRuleDataSourceLogFile[]
    One or more log_file blocks as defined below.
    platformTelemetries GetDataCollectionRuleDataSourcePlatformTelemetry[]
    One or more platform_telemetry blocks as defined below.
    data_imports Sequence[GetDataCollectionRuleDataSourceDataImport]
    A data_import block as defined above.
    extensions Sequence[GetDataCollectionRuleDataSourceExtension]
    One or more extension blocks as defined below.
    iis_logs Sequence[GetDataCollectionRuleDataSourceIisLog]
    One or more iis_log blocks as defined below.
    performance_counters Sequence[GetDataCollectionRuleDataSourcePerformanceCounter]
    One or more performance_counter blocks as defined below.
    prometheus_forwarders Sequence[GetDataCollectionRuleDataSourcePrometheusForwarder]
    One or more prometheus_forwarder blocks as defined below.
    syslogs Sequence[GetDataCollectionRuleDataSourceSyslog]
    One or more syslog blocks as defined below.
    windows_event_logs Sequence[GetDataCollectionRuleDataSourceWindowsEventLog]
    One or more windows_event_log blocks as defined below.
    windows_firewall_logs Sequence[GetDataCollectionRuleDataSourceWindowsFirewallLog]
    One or more windows_firewall_log blocks as defined below.
    log_files Sequence[GetDataCollectionRuleDataSourceLogFile]
    One or more log_file blocks as defined below.
    platform_telemetries Sequence[GetDataCollectionRuleDataSourcePlatformTelemetry]
    One or more platform_telemetry blocks as defined below.
    dataImports List<Property Map>
    A data_import block as defined above.
    extensions List<Property Map>
    One or more extension blocks as defined below.
    iisLogs List<Property Map>
    One or more iis_log blocks as defined below.
    performanceCounters List<Property Map>
    One or more performance_counter blocks as defined below.
    prometheusForwarders List<Property Map>
    One or more prometheus_forwarder blocks as defined below.
    syslogs List<Property Map>
    One or more syslog blocks as defined below.
    windowsEventLogs List<Property Map>
    One or more windows_event_log blocks as defined below.
    windowsFirewallLogs List<Property Map>
    One or more windows_firewall_log blocks as defined below.
    logFiles List<Property Map>
    One or more log_file blocks as defined below.
    platformTelemetries List<Property Map>
    One or more platform_telemetry blocks as defined below.

    GetDataCollectionRuleDataSourceDataImport

    eventHubDataSources List<Property Map>
    An event_hub_data_source block as defined below.

    GetDataCollectionRuleDataSourceDataImportEventHubDataSource

    ConsumerGroup string
    The Event Hub consumer group name.
    Name string
    Specifies the name of the Data Collection Rule.
    Stream string
    The stream to collect from Event Hub. Possible value should be a custom stream name.
    ConsumerGroup string
    The Event Hub consumer group name.
    Name string
    Specifies the name of the Data Collection Rule.
    Stream string
    The stream to collect from Event Hub. Possible value should be a custom stream name.
    consumerGroup String
    The Event Hub consumer group name.
    name String
    Specifies the name of the Data Collection Rule.
    stream String
    The stream to collect from Event Hub. Possible value should be a custom stream name.
    consumerGroup string
    The Event Hub consumer group name.
    name string
    Specifies the name of the Data Collection Rule.
    stream string
    The stream to collect from Event Hub. Possible value should be a custom stream name.
    consumer_group str
    The Event Hub consumer group name.
    name str
    Specifies the name of the Data Collection Rule.
    stream str
    The stream to collect from Event Hub. Possible value should be a custom stream name.
    consumerGroup String
    The Event Hub consumer group name.
    name String
    Specifies the name of the Data Collection Rule.
    stream String
    The stream to collect from Event Hub. Possible value should be a custom stream name.

    GetDataCollectionRuleDataSourceExtension

    ExtensionJson string
    A JSON String which specifies the extension setting.
    ExtensionName string
    The name of the VM extension.
    InputDataSources List<string>
    Specifies a list of data sources this extension needs data from. An item should be a name of a supported data source which produces only one stream. Supported data sources type: performance_counter, windows_event_log,and syslog.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    ExtensionJson string
    A JSON String which specifies the extension setting.
    ExtensionName string
    The name of the VM extension.
    InputDataSources []string
    Specifies a list of data sources this extension needs data from. An item should be a name of a supported data source which produces only one stream. Supported data sources type: performance_counter, windows_event_log,and syslog.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    extensionJson String
    A JSON String which specifies the extension setting.
    extensionName String
    The name of the VM extension.
    inputDataSources List<String>
    Specifies a list of data sources this extension needs data from. An item should be a name of a supported data source which produces only one stream. Supported data sources type: performance_counter, windows_event_log,and syslog.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    extensionJson string
    A JSON String which specifies the extension setting.
    extensionName string
    The name of the VM extension.
    inputDataSources string[]
    Specifies a list of data sources this extension needs data from. An item should be a name of a supported data source which produces only one stream. Supported data sources type: performance_counter, windows_event_log,and syslog.
    name string
    Specifies the name of the Data Collection Rule.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    extension_json str
    A JSON String which specifies the extension setting.
    extension_name str
    The name of the VM extension.
    input_data_sources Sequence[str]
    Specifies a list of data sources this extension needs data from. An item should be a name of a supported data source which produces only one stream. Supported data sources type: performance_counter, windows_event_log,and syslog.
    name str
    Specifies the name of the Data Collection Rule.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    extensionJson String
    A JSON String which specifies the extension setting.
    extensionName String
    The name of the VM extension.
    inputDataSources List<String>
    Specifies a list of data sources this extension needs data from. An item should be a name of a supported data source which produces only one stream. Supported data sources type: performance_counter, windows_event_log,and syslog.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

    GetDataCollectionRuleDataSourceIisLog

    LogDirectories List<string>
    Specifies a list of absolute paths where the log files are located.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    LogDirectories []string
    Specifies a list of absolute paths where the log files are located.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    logDirectories List<String>
    Specifies a list of absolute paths where the log files are located.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    logDirectories string[]
    Specifies a list of absolute paths where the log files are located.
    name string
    Specifies the name of the Data Collection Rule.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    log_directories Sequence[str]
    Specifies a list of absolute paths where the log files are located.
    name str
    Specifies the name of the Data Collection Rule.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    logDirectories List<String>
    Specifies a list of absolute paths where the log files are located.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

    GetDataCollectionRuleDataSourceLogFile

    FilePatterns List<string>
    Specifies a list of file patterns where the log files are located. For example, C:\\JavaLogs\\*.log.
    Format string
    The data format of the log files. possible value is text.
    Name string
    Specifies the name of the Data Collection Rule.
    Settings List<GetDataCollectionRuleDataSourceLogFileSetting>
    A settings block as defined below.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    FilePatterns []string
    Specifies a list of file patterns where the log files are located. For example, C:\\JavaLogs\\*.log.
    Format string
    The data format of the log files. possible value is text.
    Name string
    Specifies the name of the Data Collection Rule.
    Settings []GetDataCollectionRuleDataSourceLogFileSetting
    A settings block as defined below.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    filePatterns List<String>
    Specifies a list of file patterns where the log files are located. For example, C:\\JavaLogs\\*.log.
    format String
    The data format of the log files. possible value is text.
    name String
    Specifies the name of the Data Collection Rule.
    settings List<GetDataCollectionRuleDataSourceLogFileSetting>
    A settings block as defined below.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    filePatterns string[]
    Specifies a list of file patterns where the log files are located. For example, C:\\JavaLogs\\*.log.
    format string
    The data format of the log files. possible value is text.
    name string
    Specifies the name of the Data Collection Rule.
    settings GetDataCollectionRuleDataSourceLogFileSetting[]
    A settings block as defined below.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    file_patterns Sequence[str]
    Specifies a list of file patterns where the log files are located. For example, C:\\JavaLogs\\*.log.
    format str
    The data format of the log files. possible value is text.
    name str
    Specifies the name of the Data Collection Rule.
    settings Sequence[GetDataCollectionRuleDataSourceLogFileSetting]
    A settings block as defined below.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    filePatterns List<String>
    Specifies a list of file patterns where the log files are located. For example, C:\\JavaLogs\\*.log.
    format String
    The data format of the log files. possible value is text.
    name String
    Specifies the name of the Data Collection Rule.
    settings List<Property Map>
    A settings block as defined below.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

    GetDataCollectionRuleDataSourceLogFileSetting

    texts List<Property Map>
    A text block as defined below.

    GetDataCollectionRuleDataSourceLogFileSettingText

    RecordStartTimestampFormat string
    The timestamp format of the text log files. Possible values are ISO 8601, YYYY-MM-DD HH:MM:SS, M/D/YYYY HH:MM:SS AM/PM, Mon DD, YYYY HH:MM:SS, yyMMdd HH:mm:ss, ddMMyy HH:mm:ss, MMM d hh:mm:ss, dd/MMM/yyyy:HH:mm:ss zzz,and yyyy-MM-ddTHH:mm:ssK.
    RecordStartTimestampFormat string
    The timestamp format of the text log files. Possible values are ISO 8601, YYYY-MM-DD HH:MM:SS, M/D/YYYY HH:MM:SS AM/PM, Mon DD, YYYY HH:MM:SS, yyMMdd HH:mm:ss, ddMMyy HH:mm:ss, MMM d hh:mm:ss, dd/MMM/yyyy:HH:mm:ss zzz,and yyyy-MM-ddTHH:mm:ssK.
    recordStartTimestampFormat String
    The timestamp format of the text log files. Possible values are ISO 8601, YYYY-MM-DD HH:MM:SS, M/D/YYYY HH:MM:SS AM/PM, Mon DD, YYYY HH:MM:SS, yyMMdd HH:mm:ss, ddMMyy HH:mm:ss, MMM d hh:mm:ss, dd/MMM/yyyy:HH:mm:ss zzz,and yyyy-MM-ddTHH:mm:ssK.
    recordStartTimestampFormat string
    The timestamp format of the text log files. Possible values are ISO 8601, YYYY-MM-DD HH:MM:SS, M/D/YYYY HH:MM:SS AM/PM, Mon DD, YYYY HH:MM:SS, yyMMdd HH:mm:ss, ddMMyy HH:mm:ss, MMM d hh:mm:ss, dd/MMM/yyyy:HH:mm:ss zzz,and yyyy-MM-ddTHH:mm:ssK.
    record_start_timestamp_format str
    The timestamp format of the text log files. Possible values are ISO 8601, YYYY-MM-DD HH:MM:SS, M/D/YYYY HH:MM:SS AM/PM, Mon DD, YYYY HH:MM:SS, yyMMdd HH:mm:ss, ddMMyy HH:mm:ss, MMM d hh:mm:ss, dd/MMM/yyyy:HH:mm:ss zzz,and yyyy-MM-ddTHH:mm:ssK.
    recordStartTimestampFormat String
    The timestamp format of the text log files. Possible values are ISO 8601, YYYY-MM-DD HH:MM:SS, M/D/YYYY HH:MM:SS AM/PM, Mon DD, YYYY HH:MM:SS, yyMMdd HH:mm:ss, ddMMyy HH:mm:ss, MMM d hh:mm:ss, dd/MMM/yyyy:HH:mm:ss zzz,and yyyy-MM-ddTHH:mm:ssK.

    GetDataCollectionRuleDataSourcePerformanceCounter

    CounterSpecifiers List<string>
    Specifies a list of specifier names of the performance counters you want to collect. Use a wildcard * to collect counters for all instances. To get a list of performance counters on Windows, run the command typeperf.
    Name string
    Specifies the name of the Data Collection Rule.
    SamplingFrequencyInSeconds int
    The number of seconds between consecutive counter measurements (samples). The value should be integer between 1 and 300 inclusive.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    CounterSpecifiers []string
    Specifies a list of specifier names of the performance counters you want to collect. Use a wildcard * to collect counters for all instances. To get a list of performance counters on Windows, run the command typeperf.
    Name string
    Specifies the name of the Data Collection Rule.
    SamplingFrequencyInSeconds int
    The number of seconds between consecutive counter measurements (samples). The value should be integer between 1 and 300 inclusive.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    counterSpecifiers List<String>
    Specifies a list of specifier names of the performance counters you want to collect. Use a wildcard * to collect counters for all instances. To get a list of performance counters on Windows, run the command typeperf.
    name String
    Specifies the name of the Data Collection Rule.
    samplingFrequencyInSeconds Integer
    The number of seconds between consecutive counter measurements (samples). The value should be integer between 1 and 300 inclusive.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    counterSpecifiers string[]
    Specifies a list of specifier names of the performance counters you want to collect. Use a wildcard * to collect counters for all instances. To get a list of performance counters on Windows, run the command typeperf.
    name string
    Specifies the name of the Data Collection Rule.
    samplingFrequencyInSeconds number
    The number of seconds between consecutive counter measurements (samples). The value should be integer between 1 and 300 inclusive.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    counter_specifiers Sequence[str]
    Specifies a list of specifier names of the performance counters you want to collect. Use a wildcard * to collect counters for all instances. To get a list of performance counters on Windows, run the command typeperf.
    name str
    Specifies the name of the Data Collection Rule.
    sampling_frequency_in_seconds int
    The number of seconds between consecutive counter measurements (samples). The value should be integer between 1 and 300 inclusive.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    counterSpecifiers List<String>
    Specifies a list of specifier names of the performance counters you want to collect. Use a wildcard * to collect counters for all instances. To get a list of performance counters on Windows, run the command typeperf.
    name String
    Specifies the name of the Data Collection Rule.
    samplingFrequencyInSeconds Number
    The number of seconds between consecutive counter measurements (samples). The value should be integer between 1 and 300 inclusive.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

    GetDataCollectionRuleDataSourcePlatformTelemetry

    Name string
    Specifies the name of the Data Collection Rule.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    name string
    Specifies the name of the Data Collection Rule.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    name str
    Specifies the name of the Data Collection Rule.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

    GetDataCollectionRuleDataSourcePrometheusForwarder

    LabelIncludeFilters List<GetDataCollectionRuleDataSourcePrometheusForwarderLabelIncludeFilter>
    One or more label_include_filter blocks as defined above.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    LabelIncludeFilters []GetDataCollectionRuleDataSourcePrometheusForwarderLabelIncludeFilter
    One or more label_include_filter blocks as defined above.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    labelIncludeFilters List<GetDataCollectionRuleDataSourcePrometheusForwarderLabelIncludeFilter>
    One or more label_include_filter blocks as defined above.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    labelIncludeFilters GetDataCollectionRuleDataSourcePrometheusForwarderLabelIncludeFilter[]
    One or more label_include_filter blocks as defined above.
    name string
    Specifies the name of the Data Collection Rule.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    label_include_filters Sequence[GetDataCollectionRuleDataSourcePrometheusForwarderLabelIncludeFilter]
    One or more label_include_filter blocks as defined above.
    name str
    Specifies the name of the Data Collection Rule.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    labelIncludeFilters List<Property Map>
    One or more label_include_filter blocks as defined above.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

    GetDataCollectionRuleDataSourcePrometheusForwarderLabelIncludeFilter

    Label string
    The label of the filter. This label should be unique across all label_include_fileter block. Possible value is microsoft_metrics_include_label.
    Value string
    The value of the filter.
    Label string
    The label of the filter. This label should be unique across all label_include_fileter block. Possible value is microsoft_metrics_include_label.
    Value string
    The value of the filter.
    label String
    The label of the filter. This label should be unique across all label_include_fileter block. Possible value is microsoft_metrics_include_label.
    value String
    The value of the filter.
    label string
    The label of the filter. This label should be unique across all label_include_fileter block. Possible value is microsoft_metrics_include_label.
    value string
    The value of the filter.
    label str
    The label of the filter. This label should be unique across all label_include_fileter block. Possible value is microsoft_metrics_include_label.
    value str
    The value of the filter.
    label String
    The label of the filter. This label should be unique across all label_include_fileter block. Possible value is microsoft_metrics_include_label.
    value String
    The value of the filter.

    GetDataCollectionRuleDataSourceSyslog

    FacilityNames List<string>
    Specifies a list of facility names. Use a wildcard * to collect logs for all facility names. Possible values are auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, syslog, user, uucp, local0, local1, local2, local3, local4, local5, local6, local7,and *.
    LogLevels List<string>
    Specifies a list of log levels. Use a wildcard * to collect logs for all log levels. Possible values are Debug, Info, Notice, Warning, Error, Critical, Alert, Emergency,and *.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    FacilityNames []string
    Specifies a list of facility names. Use a wildcard * to collect logs for all facility names. Possible values are auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, syslog, user, uucp, local0, local1, local2, local3, local4, local5, local6, local7,and *.
    LogLevels []string
    Specifies a list of log levels. Use a wildcard * to collect logs for all log levels. Possible values are Debug, Info, Notice, Warning, Error, Critical, Alert, Emergency,and *.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    facilityNames List<String>
    Specifies a list of facility names. Use a wildcard * to collect logs for all facility names. Possible values are auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, syslog, user, uucp, local0, local1, local2, local3, local4, local5, local6, local7,and *.
    logLevels List<String>
    Specifies a list of log levels. Use a wildcard * to collect logs for all log levels. Possible values are Debug, Info, Notice, Warning, Error, Critical, Alert, Emergency,and *.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    facilityNames string[]
    Specifies a list of facility names. Use a wildcard * to collect logs for all facility names. Possible values are auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, syslog, user, uucp, local0, local1, local2, local3, local4, local5, local6, local7,and *.
    logLevels string[]
    Specifies a list of log levels. Use a wildcard * to collect logs for all log levels. Possible values are Debug, Info, Notice, Warning, Error, Critical, Alert, Emergency,and *.
    name string
    Specifies the name of the Data Collection Rule.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    facility_names Sequence[str]
    Specifies a list of facility names. Use a wildcard * to collect logs for all facility names. Possible values are auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, syslog, user, uucp, local0, local1, local2, local3, local4, local5, local6, local7,and *.
    log_levels Sequence[str]
    Specifies a list of log levels. Use a wildcard * to collect logs for all log levels. Possible values are Debug, Info, Notice, Warning, Error, Critical, Alert, Emergency,and *.
    name str
    Specifies the name of the Data Collection Rule.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    facilityNames List<String>
    Specifies a list of facility names. Use a wildcard * to collect logs for all facility names. Possible values are auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, syslog, user, uucp, local0, local1, local2, local3, local4, local5, local6, local7,and *.
    logLevels List<String>
    Specifies a list of log levels. Use a wildcard * to collect logs for all log levels. Possible values are Debug, Info, Notice, Warning, Error, Critical, Alert, Emergency,and *.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

    GetDataCollectionRuleDataSourceWindowsEventLog

    Name string
    Specifies the name of the Data Collection Rule.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    XPathQueries List<string>
    Specifies a list of Windows Event Log queries in XPath expression.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    XPathQueries []string
    Specifies a list of Windows Event Log queries in XPath expression.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    xPathQueries List<String>
    Specifies a list of Windows Event Log queries in XPath expression.
    name string
    Specifies the name of the Data Collection Rule.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    xPathQueries string[]
    Specifies a list of Windows Event Log queries in XPath expression.
    name str
    Specifies the name of the Data Collection Rule.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    x_path_queries Sequence[str]
    Specifies a list of Windows Event Log queries in XPath expression.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    xPathQueries List<String>
    Specifies a list of Windows Event Log queries in XPath expression.

    GetDataCollectionRuleDataSourceWindowsFirewallLog

    Name string
    Specifies the name of the Data Collection Rule.
    Streams List<string>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    Name string
    Specifies the name of the Data Collection Rule.
    Streams []string
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    name string
    Specifies the name of the Data Collection Rule.
    streams string[]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    name str
    Specifies the name of the Data Collection Rule.
    streams Sequence[str]
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
    name String
    Specifies the name of the Data Collection Rule.
    streams List<String>
    Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

    GetDataCollectionRuleDestination

    AzureMonitorMetrics List<GetDataCollectionRuleDestinationAzureMonitorMetric>
    A azure_monitor_metrics block as defined above.
    LogAnalytics List<GetDataCollectionRuleDestinationLogAnalytic>
    One or more log_analytics blocks as defined below.
    MonitorAccounts List<GetDataCollectionRuleDestinationMonitorAccount>
    One or more monitor_account blocks as defined below.
    StorageBlobDirects List<GetDataCollectionRuleDestinationStorageBlobDirect>
    One or more storage_blob_direct blocks as defined below.
    StorageBlobs List<GetDataCollectionRuleDestinationStorageBlob>
    One or more storage_blob blocks as defined below.
    StorageTableDirects List<GetDataCollectionRuleDestinationStorageTableDirect>
    One or more storage_table_direct blocks as defined below.
    EventHub GetDataCollectionRuleDestinationEventHub
    One or more event_hub blocks as defined below.
    EventHubDirect GetDataCollectionRuleDestinationEventHubDirect
    One or more event_hub_direct blocks as defined below.
    AzureMonitorMetrics []GetDataCollectionRuleDestinationAzureMonitorMetric
    A azure_monitor_metrics block as defined above.
    LogAnalytics []GetDataCollectionRuleDestinationLogAnalytic
    One or more log_analytics blocks as defined below.
    MonitorAccounts []GetDataCollectionRuleDestinationMonitorAccount
    One or more monitor_account blocks as defined below.
    StorageBlobDirects []GetDataCollectionRuleDestinationStorageBlobDirect
    One or more storage_blob_direct blocks as defined below.
    StorageBlobs []GetDataCollectionRuleDestinationStorageBlob
    One or more storage_blob blocks as defined below.
    StorageTableDirects []GetDataCollectionRuleDestinationStorageTableDirect
    One or more storage_table_direct blocks as defined below.
    EventHub GetDataCollectionRuleDestinationEventHub
    One or more event_hub blocks as defined below.
    EventHubDirect GetDataCollectionRuleDestinationEventHubDirect
    One or more event_hub_direct blocks as defined below.
    azureMonitorMetrics List<GetDataCollectionRuleDestinationAzureMonitorMetric>
    A azure_monitor_metrics block as defined above.
    logAnalytics List<GetDataCollectionRuleDestinationLogAnalytic>
    One or more log_analytics blocks as defined below.
    monitorAccounts List<GetDataCollectionRuleDestinationMonitorAccount>
    One or more monitor_account blocks as defined below.
    storageBlobDirects List<GetDataCollectionRuleDestinationStorageBlobDirect>
    One or more storage_blob_direct blocks as defined below.
    storageBlobs List<GetDataCollectionRuleDestinationStorageBlob>
    One or more storage_blob blocks as defined below.
    storageTableDirects List<GetDataCollectionRuleDestinationStorageTableDirect>
    One or more storage_table_direct blocks as defined below.
    eventHub GetDataCollectionRuleDestinationEventHub
    One or more event_hub blocks as defined below.
    eventHubDirect GetDataCollectionRuleDestinationEventHubDirect
    One or more event_hub_direct blocks as defined below.
    azureMonitorMetrics GetDataCollectionRuleDestinationAzureMonitorMetric[]
    A azure_monitor_metrics block as defined above.
    logAnalytics GetDataCollectionRuleDestinationLogAnalytic[]
    One or more log_analytics blocks as defined below.
    monitorAccounts GetDataCollectionRuleDestinationMonitorAccount[]
    One or more monitor_account blocks as defined below.
    storageBlobDirects GetDataCollectionRuleDestinationStorageBlobDirect[]
    One or more storage_blob_direct blocks as defined below.
    storageBlobs GetDataCollectionRuleDestinationStorageBlob[]
    One or more storage_blob blocks as defined below.
    storageTableDirects GetDataCollectionRuleDestinationStorageTableDirect[]
    One or more storage_table_direct blocks as defined below.
    eventHub GetDataCollectionRuleDestinationEventHub
    One or more event_hub blocks as defined below.
    eventHubDirect GetDataCollectionRuleDestinationEventHubDirect
    One or more event_hub_direct blocks as defined below.
    azure_monitor_metrics Sequence[GetDataCollectionRuleDestinationAzureMonitorMetric]
    A azure_monitor_metrics block as defined above.
    log_analytics Sequence[GetDataCollectionRuleDestinationLogAnalytic]
    One or more log_analytics blocks as defined below.
    monitor_accounts Sequence[GetDataCollectionRuleDestinationMonitorAccount]
    One or more monitor_account blocks as defined below.
    storage_blob_directs Sequence[GetDataCollectionRuleDestinationStorageBlobDirect]
    One or more storage_blob_direct blocks as defined below.
    storage_blobs Sequence[GetDataCollectionRuleDestinationStorageBlob]
    One or more storage_blob blocks as defined below.
    storage_table_directs Sequence[GetDataCollectionRuleDestinationStorageTableDirect]
    One or more storage_table_direct blocks as defined below.
    event_hub GetDataCollectionRuleDestinationEventHub
    One or more event_hub blocks as defined below.
    event_hub_direct GetDataCollectionRuleDestinationEventHubDirect
    One or more event_hub_direct blocks as defined below.
    azureMonitorMetrics List<Property Map>
    A azure_monitor_metrics block as defined above.
    logAnalytics List<Property Map>
    One or more log_analytics blocks as defined below.
    monitorAccounts List<Property Map>
    One or more monitor_account blocks as defined below.
    storageBlobDirects List<Property Map>
    One or more storage_blob_direct blocks as defined below.
    storageBlobs List<Property Map>
    One or more storage_blob blocks as defined below.
    storageTableDirects List<Property Map>
    One or more storage_table_direct blocks as defined below.
    eventHub Property Map
    One or more event_hub blocks as defined below.
    eventHubDirect Property Map
    One or more event_hub_direct blocks as defined below.

    GetDataCollectionRuleDestinationAzureMonitorMetric

    Name string
    Specifies the name of the Data Collection Rule.
    Name string
    Specifies the name of the Data Collection Rule.
    name String
    Specifies the name of the Data Collection Rule.
    name string
    Specifies the name of the Data Collection Rule.
    name str
    Specifies the name of the Data Collection Rule.
    name String
    Specifies the name of the Data Collection Rule.

    GetDataCollectionRuleDestinationEventHub

    EventHubId string
    The resource ID of the Event Hub.
    Name string
    Specifies the name of the Data Collection Rule.
    EventHubId string
    The resource ID of the Event Hub.
    Name string
    Specifies the name of the Data Collection Rule.
    eventHubId String
    The resource ID of the Event Hub.
    name String
    Specifies the name of the Data Collection Rule.
    eventHubId string
    The resource ID of the Event Hub.
    name string
    Specifies the name of the Data Collection Rule.
    event_hub_id str
    The resource ID of the Event Hub.
    name str
    Specifies the name of the Data Collection Rule.
    eventHubId String
    The resource ID of the Event Hub.
    name String
    Specifies the name of the Data Collection Rule.

    GetDataCollectionRuleDestinationEventHubDirect

    EventHubId string
    The resource ID of the Event Hub.
    Name string
    Specifies the name of the Data Collection Rule.
    EventHubId string
    The resource ID of the Event Hub.
    Name string
    Specifies the name of the Data Collection Rule.
    eventHubId String
    The resource ID of the Event Hub.
    name String
    Specifies the name of the Data Collection Rule.
    eventHubId string
    The resource ID of the Event Hub.
    name string
    Specifies the name of the Data Collection Rule.
    event_hub_id str
    The resource ID of the Event Hub.
    name str
    Specifies the name of the Data Collection Rule.
    eventHubId String
    The resource ID of the Event Hub.
    name String
    Specifies the name of the Data Collection Rule.

    GetDataCollectionRuleDestinationLogAnalytic

    Name string
    Specifies the name of the Data Collection Rule.
    WorkspaceResourceId string
    The ID of a Log Analytic Workspace resource.
    Name string
    Specifies the name of the Data Collection Rule.
    WorkspaceResourceId string
    The ID of a Log Analytic Workspace resource.
    name String
    Specifies the name of the Data Collection Rule.
    workspaceResourceId String
    The ID of a Log Analytic Workspace resource.
    name string
    Specifies the name of the Data Collection Rule.
    workspaceResourceId string
    The ID of a Log Analytic Workspace resource.
    name str
    Specifies the name of the Data Collection Rule.
    workspace_resource_id str
    The ID of a Log Analytic Workspace resource.
    name String
    Specifies the name of the Data Collection Rule.
    workspaceResourceId String
    The ID of a Log Analytic Workspace resource.

    GetDataCollectionRuleDestinationMonitorAccount

    MonitorAccountId string
    The resource ID of the Monitor Account.
    Name string
    Specifies the name of the Data Collection Rule.
    MonitorAccountId string
    The resource ID of the Monitor Account.
    Name string
    Specifies the name of the Data Collection Rule.
    monitorAccountId String
    The resource ID of the Monitor Account.
    name String
    Specifies the name of the Data Collection Rule.
    monitorAccountId string
    The resource ID of the Monitor Account.
    name string
    Specifies the name of the Data Collection Rule.
    monitor_account_id str
    The resource ID of the Monitor Account.
    name str
    Specifies the name of the Data Collection Rule.
    monitorAccountId String
    The resource ID of the Monitor Account.
    name String
    Specifies the name of the Data Collection Rule.

    GetDataCollectionRuleDestinationStorageBlob

    ContainerName string
    The Storage Container name.
    Name string
    Specifies the name of the Data Collection Rule.
    StorageAccountId string
    The resource ID of the Storage Account.
    ContainerName string
    The Storage Container name.
    Name string
    Specifies the name of the Data Collection Rule.
    StorageAccountId string
    The resource ID of the Storage Account.
    containerName String
    The Storage Container name.
    name String
    Specifies the name of the Data Collection Rule.
    storageAccountId String
    The resource ID of the Storage Account.
    containerName string
    The Storage Container name.
    name string
    Specifies the name of the Data Collection Rule.
    storageAccountId string
    The resource ID of the Storage Account.
    container_name str
    The Storage Container name.
    name str
    Specifies the name of the Data Collection Rule.
    storage_account_id str
    The resource ID of the Storage Account.
    containerName String
    The Storage Container name.
    name String
    Specifies the name of the Data Collection Rule.
    storageAccountId String
    The resource ID of the Storage Account.

    GetDataCollectionRuleDestinationStorageBlobDirect

    ContainerName string
    The Storage Container name.
    Name string
    Specifies the name of the Data Collection Rule.
    StorageAccountId string
    The resource ID of the Storage Account.
    ContainerName string
    The Storage Container name.
    Name string
    Specifies the name of the Data Collection Rule.
    StorageAccountId string
    The resource ID of the Storage Account.
    containerName String
    The Storage Container name.
    name String
    Specifies the name of the Data Collection Rule.
    storageAccountId String
    The resource ID of the Storage Account.
    containerName string
    The Storage Container name.
    name string
    Specifies the name of the Data Collection Rule.
    storageAccountId string
    The resource ID of the Storage Account.
    container_name str
    The Storage Container name.
    name str
    Specifies the name of the Data Collection Rule.
    storage_account_id str
    The resource ID of the Storage Account.
    containerName String
    The Storage Container name.
    name String
    Specifies the name of the Data Collection Rule.
    storageAccountId String
    The resource ID of the Storage Account.

    GetDataCollectionRuleDestinationStorageTableDirect

    Name string
    Specifies the name of the Data Collection Rule.
    StorageAccountId string
    The resource ID of the Storage Account.
    TableName string
    The Storage Table name.
    Name string
    Specifies the name of the Data Collection Rule.
    StorageAccountId string
    The resource ID of the Storage Account.
    TableName string
    The Storage Table name.
    name String
    Specifies the name of the Data Collection Rule.
    storageAccountId String
    The resource ID of the Storage Account.
    tableName String
    The Storage Table name.
    name string
    Specifies the name of the Data Collection Rule.
    storageAccountId string
    The resource ID of the Storage Account.
    tableName string
    The Storage Table name.
    name str
    Specifies the name of the Data Collection Rule.
    storage_account_id str
    The resource ID of the Storage Account.
    table_name str
    The Storage Table name.
    name String
    Specifies the name of the Data Collection Rule.
    storageAccountId String
    The resource ID of the Storage Account.
    tableName String
    The Storage Table name.

    GetDataCollectionRuleIdentity

    IdentityIds List<string>
    A list of User Assigned Managed Identity IDs to be assigned to this Data Collection Rule. Currently, up to 1 identity is supported.
    PrincipalId string
    The Principal ID associated with this Managed Service Identity.
    TenantId string
    The Tenant ID associated with this Managed Service Identity.
    Type string
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    IdentityIds []string
    A list of User Assigned Managed Identity IDs to be assigned to this Data Collection Rule. Currently, up to 1 identity is supported.
    PrincipalId string
    The Principal ID associated with this Managed Service Identity.
    TenantId string
    The Tenant ID associated with this Managed Service Identity.
    Type string
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    identityIds List<String>
    A list of User Assigned Managed Identity IDs to be assigned to this Data Collection Rule. Currently, up to 1 identity is supported.
    principalId String
    The Principal ID associated with this Managed Service Identity.
    tenantId String
    The Tenant ID associated with this Managed Service Identity.
    type String
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    identityIds string[]
    A list of User Assigned Managed Identity IDs to be assigned to this Data Collection Rule. Currently, up to 1 identity is supported.
    principalId string
    The Principal ID associated with this Managed Service Identity.
    tenantId string
    The Tenant ID associated with this Managed Service Identity.
    type string
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    identity_ids Sequence[str]
    A list of User Assigned Managed Identity IDs to be assigned to this Data Collection Rule. Currently, up to 1 identity is supported.
    principal_id str
    The Principal ID associated with this Managed Service Identity.
    tenant_id str
    The Tenant ID associated with this Managed Service Identity.
    type str
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    identityIds List<String>
    A list of User Assigned Managed Identity IDs to be assigned to this Data Collection Rule. Currently, up to 1 identity is supported.
    principalId String
    The Principal ID associated with this Managed Service Identity.
    tenantId String
    The Tenant ID associated with this Managed Service Identity.
    type String
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.

    GetDataCollectionRuleStreamDeclaration

    Columns List<GetDataCollectionRuleStreamDeclarationColumn>
    One or more column blocks as defined above.
    StreamName string
    The name of the custom stream. This name should be unique across all stream_declaration blocks.
    Columns []GetDataCollectionRuleStreamDeclarationColumn
    One or more column blocks as defined above.
    StreamName string
    The name of the custom stream. This name should be unique across all stream_declaration blocks.
    columns List<GetDataCollectionRuleStreamDeclarationColumn>
    One or more column blocks as defined above.
    streamName String
    The name of the custom stream. This name should be unique across all stream_declaration blocks.
    columns GetDataCollectionRuleStreamDeclarationColumn[]
    One or more column blocks as defined above.
    streamName string
    The name of the custom stream. This name should be unique across all stream_declaration blocks.
    columns Sequence[GetDataCollectionRuleStreamDeclarationColumn]
    One or more column blocks as defined above.
    stream_name str
    The name of the custom stream. This name should be unique across all stream_declaration blocks.
    columns List<Property Map>
    One or more column blocks as defined above.
    streamName String
    The name of the custom stream. This name should be unique across all stream_declaration blocks.

    GetDataCollectionRuleStreamDeclarationColumn

    Name string
    Specifies the name of the Data Collection Rule.
    Type string
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    Name string
    Specifies the name of the Data Collection Rule.
    Type string
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    name String
    Specifies the name of the Data Collection Rule.
    type String
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    name string
    Specifies the name of the Data Collection Rule.
    type string
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    name str
    Specifies the name of the Data Collection Rule.
    type str
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.
    name String
    Specifies the name of the Data Collection Rule.
    type String
    cSpecifies the type of Managed Service Identity that should be configured on this Data Collection Rule. Possible values are SystemAssigned and UserAssigned.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi