We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.monitoring.getDataCollectionRule
Explore with Pulumi AI
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/v6/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)
public static Output<GetDataCollectionRuleResult> getDataCollectionRule(GetDataCollectionRuleArgs args, InvokeOptions options)
fn::invoke:
  function: azure:monitoring/getDataCollectionRule:getDataCollectionRule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Specifies the name of the Data Collection Rule.
- ResourceGroup stringName 
- Specifies the name of the resource group the Data Collection Rule is located in.
- Name string
- Specifies the name of the Data Collection Rule.
- ResourceGroup stringName 
- Specifies the name of the resource group the Data Collection Rule is located in.
- name String
- Specifies the name of the Data Collection Rule.
- resourceGroup StringName 
- Specifies the name of the resource group the Data Collection Rule is located in.
- name string
- Specifies the name of the Data Collection Rule.
- resourceGroup stringName 
- 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_ strname 
- Specifies the name of the resource group the Data Collection Rule is located in.
- name String
- Specifies the name of the Data Collection Rule.
- resourceGroup StringName 
- Specifies the name of the resource group the Data Collection Rule is located in.
getDataCollectionRule Result
The following output properties are available:
- DataCollection stringEndpoint Id 
- The resource ID of the Data Collection Endpoint that this rule can be used with.
- DataFlows List<GetData Collection Rule Data Flow> 
- One or more data_flowblocks as defined below.
- DataSources List<GetData Collection Rule Data Source> 
- A data_sourcesblock 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<GetData Collection Rule Destination> 
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-InsightsMetrics.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<GetData Collection Rule Identity> 
- An identityblock as defined below.
- ImmutableId string
- Kind string
- The kind of the Data Collection Rule. Possible values are Linux,Windows,andAgentDirectToStore. A rule of kindLinuxdoes not allow forwindows_event_logdata sources. And a rule of kindWindowsdoes not allow forsyslogdata 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.
- ResourceGroup stringName 
- StreamDeclarations List<GetData Collection Rule Stream Declaration> 
- A stream_declarationblock as defined below.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Data Collection Rule.
- DataCollection stringEndpoint Id 
- The resource ID of the Data Collection Endpoint that this rule can be used with.
- DataFlows []GetData Collection Rule Data Flow 
- One or more data_flowblocks as defined below.
- DataSources []GetData Collection Rule Data Source 
- A data_sourcesblock 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
[]GetData Collection Rule Destination 
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-InsightsMetrics.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]GetData Collection Rule Identity 
- An identityblock as defined below.
- ImmutableId string
- Kind string
- The kind of the Data Collection Rule. Possible values are Linux,Windows,andAgentDirectToStore. A rule of kindLinuxdoes not allow forwindows_event_logdata sources. And a rule of kindWindowsdoes not allow forsyslogdata 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.
- ResourceGroup stringName 
- StreamDeclarations []GetData Collection Rule Stream Declaration 
- A stream_declarationblock as defined below.
- map[string]string
- A mapping of tags which should be assigned to the Data Collection Rule.
- dataCollection StringEndpoint Id 
- The resource ID of the Data Collection Endpoint that this rule can be used with.
- dataFlows List<GetData Collection Rule Data Flow> 
- One or more data_flowblocks as defined below.
- dataSources List<GetData Collection Rule Data Source> 
- A data_sourcesblock 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<GetData Collection Rule Destination> 
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-InsightsMetrics.
- id String
- The provider-assigned unique ID for this managed resource.
- identities
List<GetData Collection Rule Identity> 
- An identityblock as defined below.
- immutableId String
- kind String
- The kind of the Data Collection Rule. Possible values are Linux,Windows,andAgentDirectToStore. A rule of kindLinuxdoes not allow forwindows_event_logdata sources. And a rule of kindWindowsdoes not allow forsyslogdata 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.
- resourceGroup StringName 
- streamDeclarations List<GetData Collection Rule Stream Declaration> 
- A stream_declarationblock as defined below.
- Map<String,String>
- A mapping of tags which should be assigned to the Data Collection Rule.
- dataCollection stringEndpoint Id 
- The resource ID of the Data Collection Endpoint that this rule can be used with.
- dataFlows GetData Collection Rule Data Flow[] 
- One or more data_flowblocks as defined below.
- dataSources GetData Collection Rule Data Source[] 
- A data_sourcesblock 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
GetData Collection Rule Destination[] 
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-InsightsMetrics.
- id string
- The provider-assigned unique ID for this managed resource.
- identities
GetData Collection Rule Identity[] 
- An identityblock as defined below.
- immutableId string
- kind string
- The kind of the Data Collection Rule. Possible values are Linux,Windows,andAgentDirectToStore. A rule of kindLinuxdoes not allow forwindows_event_logdata sources. And a rule of kindWindowsdoes not allow forsyslogdata 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.
- resourceGroup stringName 
- streamDeclarations GetData Collection Rule Stream Declaration[] 
- A stream_declarationblock as defined below.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Data Collection Rule.
- data_collection_ strendpoint_ id 
- The resource ID of the Data Collection Endpoint that this rule can be used with.
- data_flows Sequence[GetData Collection Rule Data Flow] 
- One or more data_flowblocks as defined below.
- data_sources Sequence[GetData Collection Rule Data Source] 
- A data_sourcesblock 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[GetData Collection Rule Destination] 
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-InsightsMetrics.
- id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[GetData Collection Rule Identity] 
- An identityblock as defined below.
- immutable_id str
- kind str
- The kind of the Data Collection Rule. Possible values are Linux,Windows,andAgentDirectToStore. A rule of kindLinuxdoes not allow forwindows_event_logdata sources. And a rule of kindWindowsdoes not allow forsyslogdata 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_ strname 
- stream_declarations Sequence[GetData Collection Rule Stream Declaration] 
- A stream_declarationblock as defined below.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Data Collection Rule.
- dataCollection StringEndpoint Id 
- The resource ID of the Data Collection Endpoint that this rule can be used with.
- dataFlows List<Property Map>
- One or more data_flowblocks as defined below.
- dataSources List<Property Map>
- A data_sourcesblock 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_metricsdata source only allows for stream of kindMicrosoft-InsightsMetrics.
- id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- An identityblock as defined below.
- immutableId String
- kind String
- The kind of the Data Collection Rule. Possible values are Linux,Windows,andAgentDirectToStore. A rule of kindLinuxdoes not allow forwindows_event_logdata sources. And a rule of kindWindowsdoes not allow forsyslogdata 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.
- resourceGroup StringName 
- streamDeclarations List<Property Map>
- A stream_declarationblock as defined below.
- Map<String>
- A mapping of tags which should be assigned to the Data Collection Rule.
Supporting Types
GetDataCollectionRuleDataFlow     
- BuiltIn stringTransform 
- The built-in transform to transform stream data.
- Destinations List<string>
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-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.
- BuiltIn stringTransform 
- The built-in transform to transform stream data.
- Destinations []string
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-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.
- builtIn StringTransform 
- The built-in transform to transform stream data.
- destinations List<String>
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-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.
- builtIn stringTransform 
- The built-in transform to transform stream data.
- destinations string[]
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-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_ strtransform 
- The built-in transform to transform stream data.
- destinations Sequence[str]
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-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.
- builtIn StringTransform 
- The built-in transform to transform stream data.
- destinations List<String>
- Specifies a list of destination names. A azure_monitor_metricsdata source only allows for stream of kindMicrosoft-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<GetData Collection Rule Data Source Data Import> 
- A data_importblock as defined above.
- Extensions
List<GetData Collection Rule Data Source Extension> 
- One or more extensionblocks as defined below.
- IisLogs List<GetData Collection Rule Data Source Iis Log> 
- One or more iis_logblocks as defined below.
- PerformanceCounters List<GetData Collection Rule Data Source Performance Counter> 
- One or more performance_counterblocks as defined below.
- PrometheusForwarders List<GetData Collection Rule Data Source Prometheus Forwarder> 
- One or more prometheus_forwarderblocks as defined below.
- Syslogs
List<GetData Collection Rule Data Source Syslog> 
- One or more syslogblocks as defined below.
- WindowsEvent List<GetLogs Data Collection Rule Data Source Windows Event Log> 
- One or more windows_event_logblocks as defined below.
- WindowsFirewall List<GetLogs Data Collection Rule Data Source Windows Firewall Log> 
- One or more windows_firewall_logblocks as defined below.
- LogFiles List<GetData Collection Rule Data Source Log File> 
- One or more log_fileblocks as defined below.
- PlatformTelemetries List<GetData Collection Rule Data Source Platform Telemetry> 
- One or more platform_telemetryblocks as defined below.
- DataImports []GetData Collection Rule Data Source Data Import 
- A data_importblock as defined above.
- Extensions
[]GetData Collection Rule Data Source Extension 
- One or more extensionblocks as defined below.
- IisLogs []GetData Collection Rule Data Source Iis Log 
- One or more iis_logblocks as defined below.
- PerformanceCounters []GetData Collection Rule Data Source Performance Counter 
- One or more performance_counterblocks as defined below.
- PrometheusForwarders []GetData Collection Rule Data Source Prometheus Forwarder 
- One or more prometheus_forwarderblocks as defined below.
- Syslogs
[]GetData Collection Rule Data Source Syslog 
- One or more syslogblocks as defined below.
- WindowsEvent []GetLogs Data Collection Rule Data Source Windows Event Log 
- One or more windows_event_logblocks as defined below.
- WindowsFirewall []GetLogs Data Collection Rule Data Source Windows Firewall Log 
- One or more windows_firewall_logblocks as defined below.
- LogFiles []GetData Collection Rule Data Source Log File 
- One or more log_fileblocks as defined below.
- PlatformTelemetries []GetData Collection Rule Data Source Platform Telemetry 
- One or more platform_telemetryblocks as defined below.
- dataImports List<GetData Collection Rule Data Source Data Import> 
- A data_importblock as defined above.
- extensions
List<GetData Collection Rule Data Source Extension> 
- One or more extensionblocks as defined below.
- iisLogs List<GetData Collection Rule Data Source Iis Log> 
- One or more iis_logblocks as defined below.
- performanceCounters List<GetData Collection Rule Data Source Performance Counter> 
- One or more performance_counterblocks as defined below.
- prometheusForwarders List<GetData Collection Rule Data Source Prometheus Forwarder> 
- One or more prometheus_forwarderblocks as defined below.
- syslogs
List<GetData Collection Rule Data Source Syslog> 
- One or more syslogblocks as defined below.
- windowsEvent List<GetLogs Data Collection Rule Data Source Windows Event Log> 
- One or more windows_event_logblocks as defined below.
- windowsFirewall List<GetLogs Data Collection Rule Data Source Windows Firewall Log> 
- One or more windows_firewall_logblocks as defined below.
- logFiles List<GetData Collection Rule Data Source Log File> 
- One or more log_fileblocks as defined below.
- platformTelemetries List<GetData Collection Rule Data Source Platform Telemetry> 
- One or more platform_telemetryblocks as defined below.
- dataImports GetData Collection Rule Data Source Data Import[] 
- A data_importblock as defined above.
- extensions
GetData Collection Rule Data Source Extension[] 
- One or more extensionblocks as defined below.
- iisLogs GetData Collection Rule Data Source Iis Log[] 
- One or more iis_logblocks as defined below.
- performanceCounters GetData Collection Rule Data Source Performance Counter[] 
- One or more performance_counterblocks as defined below.
- prometheusForwarders GetData Collection Rule Data Source Prometheus Forwarder[] 
- One or more prometheus_forwarderblocks as defined below.
- syslogs
GetData Collection Rule Data Source Syslog[] 
- One or more syslogblocks as defined below.
- windowsEvent GetLogs Data Collection Rule Data Source Windows Event Log[] 
- One or more windows_event_logblocks as defined below.
- windowsFirewall GetLogs Data Collection Rule Data Source Windows Firewall Log[] 
- One or more windows_firewall_logblocks as defined below.
- logFiles GetData Collection Rule Data Source Log File[] 
- One or more log_fileblocks as defined below.
- platformTelemetries GetData Collection Rule Data Source Platform Telemetry[] 
- One or more platform_telemetryblocks as defined below.
- data_imports Sequence[GetData Collection Rule Data Source Data Import] 
- A data_importblock as defined above.
- extensions
Sequence[GetData Collection Rule Data Source Extension] 
- One or more extensionblocks as defined below.
- iis_logs Sequence[GetData Collection Rule Data Source Iis Log] 
- One or more iis_logblocks as defined below.
- performance_counters Sequence[GetData Collection Rule Data Source Performance Counter] 
- One or more performance_counterblocks as defined below.
- prometheus_forwarders Sequence[GetData Collection Rule Data Source Prometheus Forwarder] 
- One or more prometheus_forwarderblocks as defined below.
- syslogs
Sequence[GetData Collection Rule Data Source Syslog] 
- One or more syslogblocks as defined below.
- windows_event_ Sequence[Getlogs Data Collection Rule Data Source Windows Event Log] 
- One or more windows_event_logblocks as defined below.
- windows_firewall_ Sequence[Getlogs Data Collection Rule Data Source Windows Firewall Log] 
- One or more windows_firewall_logblocks as defined below.
- log_files Sequence[GetData Collection Rule Data Source Log File] 
- One or more log_fileblocks as defined below.
- platform_telemetries Sequence[GetData Collection Rule Data Source Platform Telemetry] 
- One or more platform_telemetryblocks as defined below.
- dataImports List<Property Map>
- A data_importblock as defined above.
- extensions List<Property Map>
- One or more extensionblocks as defined below.
- iisLogs List<Property Map>
- One or more iis_logblocks as defined below.
- performanceCounters List<Property Map>
- One or more performance_counterblocks as defined below.
- prometheusForwarders List<Property Map>
- One or more prometheus_forwarderblocks as defined below.
- syslogs List<Property Map>
- One or more syslogblocks as defined below.
- windowsEvent List<Property Map>Logs 
- One or more windows_event_logblocks as defined below.
- windowsFirewall List<Property Map>Logs 
- One or more windows_firewall_logblocks as defined below.
- logFiles List<Property Map>
- One or more log_fileblocks as defined below.
- platformTelemetries List<Property Map>
- One or more platform_telemetryblocks as defined below.
GetDataCollectionRuleDataSourceDataImport       
- EventHub List<GetData Sources Data Collection Rule Data Source Data Import Event Hub Data Source> 
- An event_hub_data_sourceblock as defined below.
- EventHub []GetData Sources Data Collection Rule Data Source Data Import Event Hub Data Source 
- An event_hub_data_sourceblock as defined below.
- eventHub List<GetData Sources Data Collection Rule Data Source Data Import Event Hub Data Source> 
- An event_hub_data_sourceblock as defined below.
- eventHub GetData Sources Data Collection Rule Data Source Data Import Event Hub Data Source[] 
- An event_hub_data_sourceblock as defined below.
- event_hub_ Sequence[Getdata_ sources Data Collection Rule Data Source Data Import Event Hub Data Source] 
- An event_hub_data_sourceblock as defined below.
- eventHub List<Property Map>Data Sources 
- An event_hub_data_sourceblock 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.
- InputData List<string>Sources 
- 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,andsyslog.
- 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.
- InputData []stringSources 
- 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,andsyslog.
- 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.
- inputData List<String>Sources 
- 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,andsyslog.
- 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.
- inputData string[]Sources 
- 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,andsyslog.
- 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_ Sequence[str]sources 
- 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,andsyslog.
- 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.
- inputData List<String>Sources 
- 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,andsyslog.
- 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<GetData Collection Rule Data Source Log File Setting> 
- A settingsblock 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
[]GetData Collection Rule Data Source Log File Setting 
- A settingsblock 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<GetData Collection Rule Data Source Log File Setting> 
- A settingsblock 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
GetData Collection Rule Data Source Log File Setting[] 
- A settingsblock 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[GetData Collection Rule Data Source Log File Setting] 
- A settingsblock 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 settingsblock 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<GetData Collection Rule Data Source Log File Setting Text> 
- A textblock as defined below.
- Texts
[]GetData Collection Rule Data Source Log File Setting Text 
- A textblock as defined below.
- texts
List<GetData Collection Rule Data Source Log File Setting Text> 
- A textblock as defined below.
- texts
GetData Collection Rule Data Source Log File Setting Text[] 
- A textblock as defined below.
- texts
Sequence[GetData Collection Rule Data Source Log File Setting Text] 
- A textblock as defined below.
- texts List<Property Map>
- A textblock as defined below.
GetDataCollectionRuleDataSourceLogFileSettingText         
- RecordStart stringTimestamp Format 
- 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,andyyyy-MM-ddTHH:mm:ssK.
- RecordStart stringTimestamp Format 
- 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,andyyyy-MM-ddTHH:mm:ssK.
- recordStart StringTimestamp Format 
- 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,andyyyy-MM-ddTHH:mm:ssK.
- recordStart stringTimestamp Format 
- 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,andyyyy-MM-ddTHH:mm:ssK.
- record_start_ strtimestamp_ format 
- 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,andyyyy-MM-ddTHH:mm:ssK.
- recordStart StringTimestamp Format 
- 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,andyyyy-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 commandtypeperf.
- Name string
- Specifies the name of the Data Collection Rule.
- SamplingFrequency intIn Seconds 
- The number of seconds between consecutive counter measurements (samples). The value should be integer between 1and1800inclusive.
- 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 commandtypeperf.
- Name string
- Specifies the name of the Data Collection Rule.
- SamplingFrequency intIn Seconds 
- The number of seconds between consecutive counter measurements (samples). The value should be integer between 1and1800inclusive.
- 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 commandtypeperf.
- name String
- Specifies the name of the Data Collection Rule.
- samplingFrequency IntegerIn Seconds 
- The number of seconds between consecutive counter measurements (samples). The value should be integer between 1and1800inclusive.
- 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 commandtypeperf.
- name string
- Specifies the name of the Data Collection Rule.
- samplingFrequency numberIn Seconds 
- The number of seconds between consecutive counter measurements (samples). The value should be integer between 1and1800inclusive.
- 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 commandtypeperf.
- name str
- Specifies the name of the Data Collection Rule.
- sampling_frequency_ intin_ seconds 
- The number of seconds between consecutive counter measurements (samples). The value should be integer between 1and1800inclusive.
- 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 commandtypeperf.
- name String
- Specifies the name of the Data Collection Rule.
- samplingFrequency NumberIn Seconds 
- The number of seconds between consecutive counter measurements (samples). The value should be integer between 1and1800inclusive.
- 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       
GetDataCollectionRuleDataSourcePrometheusForwarder       
- LabelInclude List<GetFilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter> 
- One or more label_include_filterblocks 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.
- LabelInclude []GetFilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter 
- One or more label_include_filterblocks 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.
- labelInclude List<GetFilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter> 
- One or more label_include_filterblocks 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.
- labelInclude GetFilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter[] 
- One or more label_include_filterblocks 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_ Sequence[Getfilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter] 
- One or more label_include_filterblocks 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.
- labelInclude List<Property Map>Filters 
- One or more label_include_filterblocks 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          
GetDataCollectionRuleDataSourceSyslog      
- FacilityNames List<string>
- Specifies a list of facility names. Use a wildcard *to collect logs for all facility names. Possible values areauth,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 areDebug,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 areauth,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 areDebug,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 areauth,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 areDebug,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 areauth,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 areDebug,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 areauth,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 areDebug,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 areauth,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 areDebug,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.
- xPath List<String>Queries 
- 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.
- xPath string[]Queries 
- 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_ Sequence[str]queries 
- 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.
- xPath List<String>Queries 
- Specifies a list of Windows Event Log queries in XPath expression.
GetDataCollectionRuleDataSourceWindowsFirewallLog        
GetDataCollectionRuleDestination    
- AzureMonitor List<GetMetrics Data Collection Rule Destination Azure Monitor Metric> 
- A azure_monitor_metricsblock as defined above.
- LogAnalytics List<GetData Collection Rule Destination Log Analytic> 
- One or more log_analyticsblocks as defined below.
- MonitorAccounts List<GetData Collection Rule Destination Monitor Account> 
- One or more monitor_accountblocks as defined below.
- StorageBlob List<GetDirects Data Collection Rule Destination Storage Blob Direct> 
- One or more storage_blob_directblocks as defined below.
- StorageBlobs List<GetData Collection Rule Destination Storage Blob> 
- One or more storage_blobblocks as defined below.
- StorageTable List<GetDirects Data Collection Rule Destination Storage Table Direct> 
- One or more storage_table_directblocks as defined below.
- EventHub GetData Collection Rule Destination Event Hub 
- One or more event_hubblocks as defined below.
- EventHub GetDirect Data Collection Rule Destination Event Hub Direct 
- One or more event_hub_directblocks as defined below.
- AzureMonitor []GetMetrics Data Collection Rule Destination Azure Monitor Metric 
- A azure_monitor_metricsblock as defined above.
- LogAnalytics []GetData Collection Rule Destination Log Analytic 
- One or more log_analyticsblocks as defined below.
- MonitorAccounts []GetData Collection Rule Destination Monitor Account 
- One or more monitor_accountblocks as defined below.
- StorageBlob []GetDirects Data Collection Rule Destination Storage Blob Direct 
- One or more storage_blob_directblocks as defined below.
- StorageBlobs []GetData Collection Rule Destination Storage Blob 
- One or more storage_blobblocks as defined below.
- StorageTable []GetDirects Data Collection Rule Destination Storage Table Direct 
- One or more storage_table_directblocks as defined below.
- EventHub GetData Collection Rule Destination Event Hub 
- One or more event_hubblocks as defined below.
- EventHub GetDirect Data Collection Rule Destination Event Hub Direct 
- One or more event_hub_directblocks as defined below.
- azureMonitor List<GetMetrics Data Collection Rule Destination Azure Monitor Metric> 
- A azure_monitor_metricsblock as defined above.
- logAnalytics List<GetData Collection Rule Destination Log Analytic> 
- One or more log_analyticsblocks as defined below.
- monitorAccounts List<GetData Collection Rule Destination Monitor Account> 
- One or more monitor_accountblocks as defined below.
- storageBlob List<GetDirects Data Collection Rule Destination Storage Blob Direct> 
- One or more storage_blob_directblocks as defined below.
- storageBlobs List<GetData Collection Rule Destination Storage Blob> 
- One or more storage_blobblocks as defined below.
- storageTable List<GetDirects Data Collection Rule Destination Storage Table Direct> 
- One or more storage_table_directblocks as defined below.
- eventHub GetData Collection Rule Destination Event Hub 
- One or more event_hubblocks as defined below.
- eventHub GetDirect Data Collection Rule Destination Event Hub Direct 
- One or more event_hub_directblocks as defined below.
- azureMonitor GetMetrics Data Collection Rule Destination Azure Monitor Metric[] 
- A azure_monitor_metricsblock as defined above.
- logAnalytics GetData Collection Rule Destination Log Analytic[] 
- One or more log_analyticsblocks as defined below.
- monitorAccounts GetData Collection Rule Destination Monitor Account[] 
- One or more monitor_accountblocks as defined below.
- storageBlob GetDirects Data Collection Rule Destination Storage Blob Direct[] 
- One or more storage_blob_directblocks as defined below.
- storageBlobs GetData Collection Rule Destination Storage Blob[] 
- One or more storage_blobblocks as defined below.
- storageTable GetDirects Data Collection Rule Destination Storage Table Direct[] 
- One or more storage_table_directblocks as defined below.
- eventHub GetData Collection Rule Destination Event Hub 
- One or more event_hubblocks as defined below.
- eventHub GetDirect Data Collection Rule Destination Event Hub Direct 
- One or more event_hub_directblocks as defined below.
- azure_monitor_ Sequence[Getmetrics Data Collection Rule Destination Azure Monitor Metric] 
- A azure_monitor_metricsblock as defined above.
- log_analytics Sequence[GetData Collection Rule Destination Log Analytic] 
- One or more log_analyticsblocks as defined below.
- monitor_accounts Sequence[GetData Collection Rule Destination Monitor Account] 
- One or more monitor_accountblocks as defined below.
- storage_blob_ Sequence[Getdirects Data Collection Rule Destination Storage Blob Direct] 
- One or more storage_blob_directblocks as defined below.
- storage_blobs Sequence[GetData Collection Rule Destination Storage Blob] 
- One or more storage_blobblocks as defined below.
- storage_table_ Sequence[Getdirects Data Collection Rule Destination Storage Table Direct] 
- One or more storage_table_directblocks as defined below.
- event_hub GetData Collection Rule Destination Event Hub 
- One or more event_hubblocks as defined below.
- event_hub_ Getdirect Data Collection Rule Destination Event Hub Direct 
- One or more event_hub_directblocks as defined below.
- azureMonitor List<Property Map>Metrics 
- A azure_monitor_metricsblock as defined above.
- logAnalytics List<Property Map>
- One or more log_analyticsblocks as defined below.
- monitorAccounts List<Property Map>
- One or more monitor_accountblocks as defined below.
- storageBlob List<Property Map>Directs 
- One or more storage_blob_directblocks as defined below.
- storageBlobs List<Property Map>
- One or more storage_blobblocks as defined below.
- storageTable List<Property Map>Directs 
- One or more storage_table_directblocks as defined below.
- eventHub Property Map
- One or more event_hubblocks as defined below.
- eventHub Property MapDirect 
- One or more event_hub_directblocks 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      
- EventHub stringId 
- The resource ID of the Event Hub.
- Name string
- Specifies the name of the Data Collection Rule.
- EventHub stringId 
- The resource ID of the Event Hub.
- Name string
- Specifies the name of the Data Collection Rule.
- eventHub StringId 
- The resource ID of the Event Hub.
- name String
- Specifies the name of the Data Collection Rule.
- eventHub stringId 
- The resource ID of the Event Hub.
- name string
- Specifies the name of the Data Collection Rule.
- event_hub_ strid 
- The resource ID of the Event Hub.
- name str
- Specifies the name of the Data Collection Rule.
- eventHub StringId 
- The resource ID of the Event Hub.
- name String
- Specifies the name of the Data Collection Rule.
GetDataCollectionRuleDestinationEventHubDirect       
- EventHub stringId 
- The resource ID of the Event Hub.
- Name string
- Specifies the name of the Data Collection Rule.
- EventHub stringId 
- The resource ID of the Event Hub.
- Name string
- Specifies the name of the Data Collection Rule.
- eventHub StringId 
- The resource ID of the Event Hub.
- name String
- Specifies the name of the Data Collection Rule.
- eventHub stringId 
- The resource ID of the Event Hub.
- name string
- Specifies the name of the Data Collection Rule.
- event_hub_ strid 
- The resource ID of the Event Hub.
- name str
- Specifies the name of the Data Collection Rule.
- eventHub StringId 
- 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.
- WorkspaceResource stringId 
- The ID of a Log Analytic Workspace resource.
- Name string
- Specifies the name of the Data Collection Rule.
- WorkspaceResource stringId 
- The ID of a Log Analytic Workspace resource.
- name String
- Specifies the name of the Data Collection Rule.
- workspaceResource StringId 
- The ID of a Log Analytic Workspace resource.
- name string
- Specifies the name of the Data Collection Rule.
- workspaceResource stringId 
- The ID of a Log Analytic Workspace resource.
- name str
- Specifies the name of the Data Collection Rule.
- workspace_resource_ strid 
- The ID of a Log Analytic Workspace resource.
- name String
- Specifies the name of the Data Collection Rule.
- workspaceResource StringId 
- The ID of a Log Analytic Workspace resource.
GetDataCollectionRuleDestinationMonitorAccount      
- MonitorAccount stringId 
- The resource ID of the Monitor Account.
- Name string
- Specifies the name of the Data Collection Rule.
- MonitorAccount stringId 
- The resource ID of the Monitor Account.
- Name string
- Specifies the name of the Data Collection Rule.
- monitorAccount StringId 
- The resource ID of the Monitor Account.
- name String
- Specifies the name of the Data Collection Rule.
- monitorAccount stringId 
- The resource ID of the Monitor Account.
- name string
- Specifies the name of the Data Collection Rule.
- monitor_account_ strid 
- The resource ID of the Monitor Account.
- name str
- Specifies the name of the Data Collection Rule.
- monitorAccount StringId 
- 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.
- StorageAccount stringId 
- The resource ID of the Storage Account.
- ContainerName string
- The Storage Container name.
- Name string
- Specifies the name of the Data Collection Rule.
- StorageAccount stringId 
- The resource ID of the Storage Account.
- containerName String
- The Storage Container name.
- name String
- Specifies the name of the Data Collection Rule.
- storageAccount StringId 
- The resource ID of the Storage Account.
- containerName string
- The Storage Container name.
- name string
- Specifies the name of the Data Collection Rule.
- storageAccount stringId 
- 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_ strid 
- The resource ID of the Storage Account.
- containerName String
- The Storage Container name.
- name String
- Specifies the name of the Data Collection Rule.
- storageAccount StringId 
- The resource ID of the Storage Account.
GetDataCollectionRuleDestinationStorageBlobDirect       
- ContainerName string
- The Storage Container name.
- Name string
- Specifies the name of the Data Collection Rule.
- StorageAccount stringId 
- The resource ID of the Storage Account.
- ContainerName string
- The Storage Container name.
- Name string
- Specifies the name of the Data Collection Rule.
- StorageAccount stringId 
- The resource ID of the Storage Account.
- containerName String
- The Storage Container name.
- name String
- Specifies the name of the Data Collection Rule.
- storageAccount StringId 
- The resource ID of the Storage Account.
- containerName string
- The Storage Container name.
- name string
- Specifies the name of the Data Collection Rule.
- storageAccount stringId 
- 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_ strid 
- The resource ID of the Storage Account.
- containerName String
- The Storage Container name.
- name String
- Specifies the name of the Data Collection Rule.
- storageAccount StringId 
- The resource ID of the Storage Account.
GetDataCollectionRuleDestinationStorageTableDirect       
- Name string
- Specifies the name of the Data Collection Rule.
- StorageAccount stringId 
- The resource ID of the Storage Account.
- TableName string
- The Storage Table name.
- Name string
- Specifies the name of the Data Collection Rule.
- StorageAccount stringId 
- The resource ID of the Storage Account.
- TableName string
- The Storage Table name.
- name String
- Specifies the name of the Data Collection Rule.
- storageAccount StringId 
- The resource ID of the Storage Account.
- tableName String
- The Storage Table name.
- name string
- Specifies the name of the Data Collection Rule.
- storageAccount stringId 
- 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_ strid 
- The resource ID of the Storage Account.
- table_name str
- The Storage Table name.
- name String
- Specifies the name of the Data Collection Rule.
- storageAccount StringId 
- 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 SystemAssignedandUserAssigned.
- 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 SystemAssignedandUserAssigned.
- 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 SystemAssignedandUserAssigned.
- 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 SystemAssignedandUserAssigned.
- 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 SystemAssignedandUserAssigned.
- 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 SystemAssignedandUserAssigned.
GetDataCollectionRuleStreamDeclaration     
- Columns
List<GetData Collection Rule Stream Declaration Column> 
- One or more columnblocks as defined above.
- StreamName string
- The name of the custom stream. This name should be unique across all stream_declarationblocks.
- Columns
[]GetData Collection Rule Stream Declaration Column 
- One or more columnblocks as defined above.
- StreamName string
- The name of the custom stream. This name should be unique across all stream_declarationblocks.
- columns
List<GetData Collection Rule Stream Declaration Column> 
- One or more columnblocks as defined above.
- streamName String
- The name of the custom stream. This name should be unique across all stream_declarationblocks.
- columns
GetData Collection Rule Stream Declaration Column[] 
- One or more columnblocks as defined above.
- streamName string
- The name of the custom stream. This name should be unique across all stream_declarationblocks.
- columns
Sequence[GetData Collection Rule Stream Declaration Column] 
- One or more columnblocks as defined above.
- stream_name str
- The name of the custom stream. This name should be unique across all stream_declarationblocks.
- columns List<Property Map>
- One or more columnblocks as defined above.
- streamName String
- The name of the custom stream. This name should be unique across all stream_declarationblocks.
GetDataCollectionRuleStreamDeclarationColumn      
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.