We recommend using Azure Native.
Azure Classic v6.2.0 published on Friday, Sep 27, 2024 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)
// 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.
- Resource
Group 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.
- Resource
Group 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.
- resource
Group 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.
- resource
Group 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.
- resource
Group StringName - Specifies the name of the resource group the Data Collection Rule is located in.
getDataCollectionRule Result
The following output properties are available:
- Data
Collection stringEndpoint Id - The resource ID of the Data Collection Endpoint that this rule can be used with.
- Data
Flows List<GetData Collection Rule Data Flow> - One or more
data_flow
blocks as defined below. - Data
Sources List<GetData Collection Rule Data Source> - 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<Get
Data Collection Rule Destination> - Specifies a list of destination names. A
azure_monitor_metrics
data source only allows for stream of kindMicrosoft-InsightsMetrics
. - Id string
- The provider-assigned unique ID for this managed resource.
- Identities
List<Get
Data Collection Rule Identity> - An
identity
block as defined below. - Immutable
Id string - Kind string
- The kind of the Data Collection Rule. Possible values are
Linux
,Windows
,andAgentDirectToStore
. A rule of kindLinux
does not allow forwindows_event_log
data sources. And a rule of kindWindows
does not allow forsyslog
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.
- Resource
Group stringName - Stream
Declarations List<GetData Collection Rule Stream Declaration> - A
stream_declaration
block as defined below. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Data Collection Rule.
- Data
Collection stringEndpoint Id - The resource ID of the Data Collection Endpoint that this rule can be used with.
- Data
Flows []GetData Collection Rule Data Flow - One or more
data_flow
blocks as defined below. - Data
Sources []GetData Collection Rule Data Source - 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
[]Get
Data Collection Rule Destination - Specifies a list of destination names. A
azure_monitor_metrics
data source only allows for stream of kindMicrosoft-InsightsMetrics
. - Id string
- The provider-assigned unique ID for this managed resource.
- Identities
[]Get
Data Collection Rule Identity - An
identity
block as defined below. - Immutable
Id string - Kind string
- The kind of the Data Collection Rule. Possible values are
Linux
,Windows
,andAgentDirectToStore
. A rule of kindLinux
does not allow forwindows_event_log
data sources. And a rule of kindWindows
does not allow forsyslog
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.
- Resource
Group stringName - Stream
Declarations []GetData Collection Rule Stream Declaration - A
stream_declaration
block as defined below. - map[string]string
- A mapping of tags which should be assigned to the Data Collection Rule.
- data
Collection StringEndpoint Id - The resource ID of the Data Collection Endpoint that this rule can be used with.
- data
Flows List<GetData Collection Rule Data Flow> - One or more
data_flow
blocks as defined below. - data
Sources List<GetData Collection Rule Data Source> - 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<Get
Data Collection Rule Destination> - Specifies a list of destination names. A
azure_monitor_metrics
data source only allows for stream of kindMicrosoft-InsightsMetrics
. - id String
- The provider-assigned unique ID for this managed resource.
- identities
List<Get
Data Collection Rule Identity> - An
identity
block as defined below. - immutable
Id String - kind String
- The kind of the Data Collection Rule. Possible values are
Linux
,Windows
,andAgentDirectToStore
. A rule of kindLinux
does not allow forwindows_event_log
data sources. And a rule of kindWindows
does not allow forsyslog
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.
- resource
Group StringName - stream
Declarations List<GetData Collection Rule Stream Declaration> - A
stream_declaration
block as defined below. - Map<String,String>
- A mapping of tags which should be assigned to the Data Collection Rule.
- data
Collection stringEndpoint Id - The resource ID of the Data Collection Endpoint that this rule can be used with.
- data
Flows GetData Collection Rule Data Flow[] - One or more
data_flow
blocks as defined below. - data
Sources GetData Collection Rule Data Source[] - 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
Get
Data Collection Rule Destination[] - Specifies a list of destination names. A
azure_monitor_metrics
data source only allows for stream of kindMicrosoft-InsightsMetrics
. - id string
- The provider-assigned unique ID for this managed resource.
- identities
Get
Data Collection Rule Identity[] - An
identity
block as defined below. - immutable
Id string - kind string
- The kind of the Data Collection Rule. Possible values are
Linux
,Windows
,andAgentDirectToStore
. A rule of kindLinux
does not allow forwindows_event_log
data sources. And a rule of kindWindows
does not allow forsyslog
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.
- resource
Group stringName - stream
Declarations GetData Collection Rule Stream Declaration[] - A
stream_declaration
block 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_flow
blocks as defined below. - data_
sources Sequence[GetData Collection Rule Data Source] - 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[Get
Data Collection Rule Destination] - Specifies a list of destination names. A
azure_monitor_metrics
data source only allows for stream of kindMicrosoft-InsightsMetrics
. - id str
- The provider-assigned unique ID for this managed resource.
- identities
Sequence[Get
Data Collection Rule Identity] - An
identity
block as defined below. - immutable_
id str - kind str
- The kind of the Data Collection Rule. Possible values are
Linux
,Windows
,andAgentDirectToStore
. A rule of kindLinux
does not allow forwindows_event_log
data sources. And a rule of kindWindows
does not allow forsyslog
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_ strname - stream_
declarations Sequence[GetData Collection Rule Stream Declaration] - A
stream_declaration
block as defined below. - Mapping[str, str]
- A mapping of tags which should be assigned to the Data Collection Rule.
- data
Collection StringEndpoint Id - The resource ID of the Data Collection Endpoint that this rule can be used with.
- data
Flows List<Property Map> - One or more
data_flow
blocks as defined below. - data
Sources 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 kindMicrosoft-InsightsMetrics
. - id String
- The provider-assigned unique ID for this managed resource.
- identities List<Property Map>
- An
identity
block as defined below. - immutable
Id String - kind String
- The kind of the Data Collection Rule. Possible values are
Linux
,Windows
,andAgentDirectToStore
. A rule of kindLinux
does not allow forwindows_event_log
data sources. And a rule of kindWindows
does not allow forsyslog
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.
- resource
Group StringName - stream
Declarations List<Property Map> - A
stream_declaration
block as defined below. - Map<String>
- A mapping of tags which should be assigned to the Data Collection Rule.
Supporting Types
GetDataCollectionRuleDataFlow
- Built
In stringTransform - 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 kindMicrosoft-InsightsMetrics
. - Output
Stream 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.
- Transform
Kql string - The KQL query to transform stream data.
- Built
In stringTransform - 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 kindMicrosoft-InsightsMetrics
. - Output
Stream 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.
- Transform
Kql string - The KQL query to transform stream data.
- built
In StringTransform - 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 kindMicrosoft-InsightsMetrics
. - output
Stream 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.
- transform
Kql String - The KQL query to transform stream data.
- built
In stringTransform - 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 kindMicrosoft-InsightsMetrics
. - output
Stream 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.
- transform
Kql 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_metrics
data 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.
- built
In StringTransform - 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 kindMicrosoft-InsightsMetrics
. - output
Stream 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.
- transform
Kql String - The KQL query to transform stream data.
GetDataCollectionRuleDataSource
- Data
Imports List<GetData Collection Rule Data Source Data Import> - A
data_import
block as defined above. - Extensions
List<Get
Data Collection Rule Data Source Extension> - One or more
extension
blocks as defined below. - Iis
Logs List<GetData Collection Rule Data Source Iis Log> - One or more
iis_log
blocks as defined below. - Performance
Counters List<GetData Collection Rule Data Source Performance Counter> - One or more
performance_counter
blocks as defined below. - Prometheus
Forwarders List<GetData Collection Rule Data Source Prometheus Forwarder> - One or more
prometheus_forwarder
blocks as defined below. - Syslogs
List<Get
Data Collection Rule Data Source Syslog> - One or more
syslog
blocks as defined below. - Windows
Event List<GetLogs Data Collection Rule Data Source Windows Event Log> - One or more
windows_event_log
blocks as defined below. - Windows
Firewall List<GetLogs Data Collection Rule Data Source Windows Firewall Log> - One or more
windows_firewall_log
blocks as defined below. - Log
Files List<GetData Collection Rule Data Source Log File> - One or more
log_file
blocks as defined below. - Platform
Telemetries List<GetData Collection Rule Data Source Platform Telemetry> - One or more
platform_telemetry
blocks as defined below.
- Data
Imports []GetData Collection Rule Data Source Data Import - A
data_import
block as defined above. - Extensions
[]Get
Data Collection Rule Data Source Extension - One or more
extension
blocks as defined below. - Iis
Logs []GetData Collection Rule Data Source Iis Log - One or more
iis_log
blocks as defined below. - Performance
Counters []GetData Collection Rule Data Source Performance Counter - One or more
performance_counter
blocks as defined below. - Prometheus
Forwarders []GetData Collection Rule Data Source Prometheus Forwarder - One or more
prometheus_forwarder
blocks as defined below. - Syslogs
[]Get
Data Collection Rule Data Source Syslog - One or more
syslog
blocks as defined below. - Windows
Event []GetLogs Data Collection Rule Data Source Windows Event Log - One or more
windows_event_log
blocks as defined below. - Windows
Firewall []GetLogs Data Collection Rule Data Source Windows Firewall Log - One or more
windows_firewall_log
blocks as defined below. - Log
Files []GetData Collection Rule Data Source Log File - One or more
log_file
blocks as defined below. - Platform
Telemetries []GetData Collection Rule Data Source Platform Telemetry - One or more
platform_telemetry
blocks as defined below.
- data
Imports List<GetData Collection Rule Data Source Data Import> - A
data_import
block as defined above. - extensions
List<Get
Data Collection Rule Data Source Extension> - One or more
extension
blocks as defined below. - iis
Logs List<GetData Collection Rule Data Source Iis Log> - One or more
iis_log
blocks as defined below. - performance
Counters List<GetData Collection Rule Data Source Performance Counter> - One or more
performance_counter
blocks as defined below. - prometheus
Forwarders List<GetData Collection Rule Data Source Prometheus Forwarder> - One or more
prometheus_forwarder
blocks as defined below. - syslogs
List<Get
Data Collection Rule Data Source Syslog> - One or more
syslog
blocks as defined below. - windows
Event List<GetLogs Data Collection Rule Data Source Windows Event Log> - One or more
windows_event_log
blocks as defined below. - windows
Firewall List<GetLogs Data Collection Rule Data Source Windows Firewall Log> - One or more
windows_firewall_log
blocks as defined below. - log
Files List<GetData Collection Rule Data Source Log File> - One or more
log_file
blocks as defined below. - platform
Telemetries List<GetData Collection Rule Data Source Platform Telemetry> - One or more
platform_telemetry
blocks as defined below.
- data
Imports GetData Collection Rule Data Source Data Import[] - A
data_import
block as defined above. - extensions
Get
Data Collection Rule Data Source Extension[] - One or more
extension
blocks as defined below. - iis
Logs GetData Collection Rule Data Source Iis Log[] - One or more
iis_log
blocks as defined below. - performance
Counters GetData Collection Rule Data Source Performance Counter[] - One or more
performance_counter
blocks as defined below. - prometheus
Forwarders GetData Collection Rule Data Source Prometheus Forwarder[] - One or more
prometheus_forwarder
blocks as defined below. - syslogs
Get
Data Collection Rule Data Source Syslog[] - One or more
syslog
blocks as defined below. - windows
Event GetLogs Data Collection Rule Data Source Windows Event Log[] - One or more
windows_event_log
blocks as defined below. - windows
Firewall GetLogs Data Collection Rule Data Source Windows Firewall Log[] - One or more
windows_firewall_log
blocks as defined below. - log
Files GetData Collection Rule Data Source Log File[] - One or more
log_file
blocks as defined below. - platform
Telemetries GetData Collection Rule Data Source Platform Telemetry[] - One or more
platform_telemetry
blocks as defined below.
- data_
imports Sequence[GetData Collection Rule Data Source Data Import] - A
data_import
block as defined above. - extensions
Sequence[Get
Data Collection Rule Data Source Extension] - One or more
extension
blocks as defined below. - iis_
logs Sequence[GetData Collection Rule Data Source Iis Log] - One or more
iis_log
blocks as defined below. - performance_
counters Sequence[GetData Collection Rule Data Source Performance Counter] - One or more
performance_counter
blocks as defined below. - prometheus_
forwarders Sequence[GetData Collection Rule Data Source Prometheus Forwarder] - One or more
prometheus_forwarder
blocks as defined below. - syslogs
Sequence[Get
Data Collection Rule Data Source Syslog] - One or more
syslog
blocks as defined below. - windows_
event_ Sequence[Getlogs Data Collection Rule Data Source Windows Event Log] - One or more
windows_event_log
blocks as defined below. - windows_
firewall_ Sequence[Getlogs Data Collection Rule Data Source Windows Firewall Log] - One or more
windows_firewall_log
blocks as defined below. - log_
files Sequence[GetData Collection Rule Data Source Log File] - One or more
log_file
blocks as defined below. - platform_
telemetries Sequence[GetData Collection Rule Data Source Platform Telemetry] - One or more
platform_telemetry
blocks as defined below.
- data
Imports List<Property Map> - A
data_import
block as defined above. - extensions List<Property Map>
- One or more
extension
blocks as defined below. - iis
Logs List<Property Map> - One or more
iis_log
blocks as defined below. - performance
Counters List<Property Map> - One or more
performance_counter
blocks as defined below. - prometheus
Forwarders List<Property Map> - One or more
prometheus_forwarder
blocks as defined below. - syslogs List<Property Map>
- One or more
syslog
blocks as defined below. - windows
Event List<Property Map>Logs - One or more
windows_event_log
blocks as defined below. - windows
Firewall List<Property Map>Logs - One or more
windows_firewall_log
blocks as defined below. - log
Files List<Property Map> - One or more
log_file
blocks as defined below. - platform
Telemetries List<Property Map> - One or more
platform_telemetry
blocks as defined below.
GetDataCollectionRuleDataSourceDataImport
- Event
Hub List<GetData Sources Data Collection Rule Data Source Data Import Event Hub Data Source> - An
event_hub_data_source
block as defined below.
- Event
Hub []GetData Sources Data Collection Rule Data Source Data Import Event Hub Data Source - An
event_hub_data_source
block as defined below.
- event
Hub List<GetData Sources Data Collection Rule Data Source Data Import Event Hub Data Source> - An
event_hub_data_source
block as defined below.
- event
Hub GetData Sources Data Collection Rule Data Source Data Import Event Hub Data Source[] - An
event_hub_data_source
block as defined below.
- event_
hub_ Sequence[Getdata_ sources Data Collection Rule Data Source Data Import Event Hub Data Source] - An
event_hub_data_source
block as defined below.
- event
Hub List<Property Map>Data Sources - An
event_hub_data_source
block as defined below.
GetDataCollectionRuleDataSourceDataImportEventHubDataSource
- Consumer
Group 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 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 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 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.
- consumer
Group 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
- Extension
Json string - A JSON String which specifies the extension setting.
- Extension
Name string - The name of the VM extension.
- Input
Data 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.
- Extension
Json string - A JSON String which specifies the extension setting.
- Extension
Name string - The name of the VM extension.
- Input
Data []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.
- extension
Json String - A JSON String which specifies the extension setting.
- extension
Name String - The name of the VM extension.
- input
Data 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.
- extension
Json string - A JSON String which specifies the extension setting.
- extension
Name string - The name of the VM extension.
- input
Data 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.
- extension
Json String - A JSON String which specifies the extension setting.
- extension
Name String - The name of the VM extension.
- input
Data 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
- Log
Directories 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.
- Log
Directories []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 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.
- log
Directories 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.
- log
Directories 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
- File
Patterns 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<Get
Data Collection Rule Data Source Log File Setting> - 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.
- File
Patterns []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
[]Get
Data Collection Rule Data Source Log File Setting - 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 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<Get
Data Collection Rule Data Source Log File Setting> - 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.
- file
Patterns 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
Get
Data Collection Rule Data Source Log File Setting[] - 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[Get
Data Collection Rule Data Source Log File Setting] - 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.
- file
Patterns 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<Get
Data Collection Rule Data Source Log File Setting Text> - A
text
block as defined below.
- Texts
[]Get
Data Collection Rule Data Source Log File Setting Text - A
text
block as defined below.
- texts
List<Get
Data Collection Rule Data Source Log File Setting Text> - A
text
block as defined below.
- texts
Get
Data Collection Rule Data Source Log File Setting Text[] - A
text
block as defined below.
- texts
Sequence[Get
Data Collection Rule Data Source Log File Setting Text] - A
text
block as defined below.
- texts List<Property Map>
- A
text
block as defined below.
GetDataCollectionRuleDataSourceLogFileSettingText
- Record
Start 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 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 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 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
.
- record
Start 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
- Counter
Specifiers 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.
- Sampling
Frequency intIn Seconds - The number of seconds between consecutive counter measurements (samples). The value should be integer between
1
and1800
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.
- Counter
Specifiers []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.
- Sampling
Frequency intIn Seconds - The number of seconds between consecutive counter measurements (samples). The value should be integer between
1
and1800
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 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.
- sampling
Frequency IntegerIn Seconds - The number of seconds between consecutive counter measurements (samples). The value should be integer between
1
and1800
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.
- counter
Specifiers 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.
- sampling
Frequency numberIn Seconds - The number of seconds between consecutive counter measurements (samples). The value should be integer between
1
and1800
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 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
1
and1800
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.
- counter
Specifiers 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.
- sampling
Frequency NumberIn Seconds - The number of seconds between consecutive counter measurements (samples). The value should be integer between
1
and1800
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
GetDataCollectionRuleDataSourcePrometheusForwarder
- Label
Include List<GetFilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter> - 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.
- Label
Include []GetFilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter - 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 List<GetFilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter> - 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.
- label
Include GetFilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter[] - 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_ Sequence[Getfilters Data Collection Rule Data Source Prometheus Forwarder Label Include Filter] - 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.
- label
Include List<Property Map>Filters - 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
GetDataCollectionRuleDataSourceSyslog
- Facility
Names 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*
. - Log
Levels 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.
- Facility
Names []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*
. - Log
Levels []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 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*
. - log
Levels 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.
- facility
Names 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*
. - log
Levels 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.
- facility
Names 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*
. - log
Levels 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.
- XPath
Queries 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.
- XPath
Queries []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.
- x
Path 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.
- x
Path 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.
- x
Path List<String>Queries - Specifies a list of Windows Event Log queries in XPath expression.
GetDataCollectionRuleDataSourceWindowsFirewallLog
GetDataCollectionRuleDestination
- Azure
Monitor List<GetMetrics Data Collection Rule Destination Azure Monitor Metric> - A
azure_monitor_metrics
block as defined above. - Log
Analytics List<GetData Collection Rule Destination Log Analytic> - One or more
log_analytics
blocks as defined below. - Monitor
Accounts List<GetData Collection Rule Destination Monitor Account> - One or more
monitor_account
blocks as defined below. - Storage
Blob List<GetDirects Data Collection Rule Destination Storage Blob Direct> - One or more
storage_blob_direct
blocks as defined below. - Storage
Blobs List<GetData Collection Rule Destination Storage Blob> - One or more
storage_blob
blocks as defined below. - Storage
Table List<GetDirects Data Collection Rule Destination Storage Table Direct> - One or more
storage_table_direct
blocks as defined below. - Event
Hub GetData Collection Rule Destination Event Hub - One or more
event_hub
blocks as defined below. - Event
Hub GetDirect Data Collection Rule Destination Event Hub Direct - One or more
event_hub_direct
blocks as defined below.
- Azure
Monitor []GetMetrics Data Collection Rule Destination Azure Monitor Metric - A
azure_monitor_metrics
block as defined above. - Log
Analytics []GetData Collection Rule Destination Log Analytic - One or more
log_analytics
blocks as defined below. - Monitor
Accounts []GetData Collection Rule Destination Monitor Account - One or more
monitor_account
blocks as defined below. - Storage
Blob []GetDirects Data Collection Rule Destination Storage Blob Direct - One or more
storage_blob_direct
blocks as defined below. - Storage
Blobs []GetData Collection Rule Destination Storage Blob - One or more
storage_blob
blocks as defined below. - Storage
Table []GetDirects Data Collection Rule Destination Storage Table Direct - One or more
storage_table_direct
blocks as defined below. - Event
Hub GetData Collection Rule Destination Event Hub - One or more
event_hub
blocks as defined below. - Event
Hub GetDirect Data Collection Rule Destination Event Hub Direct - One or more
event_hub_direct
blocks as defined below.
- azure
Monitor List<GetMetrics Data Collection Rule Destination Azure Monitor Metric> - A
azure_monitor_metrics
block as defined above. - log
Analytics List<GetData Collection Rule Destination Log Analytic> - One or more
log_analytics
blocks as defined below. - monitor
Accounts List<GetData Collection Rule Destination Monitor Account> - One or more
monitor_account
blocks as defined below. - storage
Blob List<GetDirects Data Collection Rule Destination Storage Blob Direct> - One or more
storage_blob_direct
blocks as defined below. - storage
Blobs List<GetData Collection Rule Destination Storage Blob> - One or more
storage_blob
blocks as defined below. - storage
Table List<GetDirects Data Collection Rule Destination Storage Table Direct> - One or more
storage_table_direct
blocks as defined below. - event
Hub GetData Collection Rule Destination Event Hub - One or more
event_hub
blocks as defined below. - event
Hub GetDirect Data Collection Rule Destination Event Hub Direct - One or more
event_hub_direct
blocks as defined below.
- azure
Monitor GetMetrics Data Collection Rule Destination Azure Monitor Metric[] - A
azure_monitor_metrics
block as defined above. - log
Analytics GetData Collection Rule Destination Log Analytic[] - One or more
log_analytics
blocks as defined below. - monitor
Accounts GetData Collection Rule Destination Monitor Account[] - One or more
monitor_account
blocks as defined below. - storage
Blob GetDirects Data Collection Rule Destination Storage Blob Direct[] - One or more
storage_blob_direct
blocks as defined below. - storage
Blobs GetData Collection Rule Destination Storage Blob[] - One or more
storage_blob
blocks as defined below. - storage
Table GetDirects Data Collection Rule Destination Storage Table Direct[] - One or more
storage_table_direct
blocks as defined below. - event
Hub GetData Collection Rule Destination Event Hub - One or more
event_hub
blocks as defined below. - event
Hub GetDirect Data Collection Rule Destination Event Hub Direct - One or more
event_hub_direct
blocks as defined below.
- azure_
monitor_ Sequence[Getmetrics Data Collection Rule Destination Azure Monitor Metric] - A
azure_monitor_metrics
block as defined above. - log_
analytics Sequence[GetData Collection Rule Destination Log Analytic] - One or more
log_analytics
blocks as defined below. - monitor_
accounts Sequence[GetData Collection Rule Destination Monitor Account] - One or more
monitor_account
blocks as defined below. - storage_
blob_ Sequence[Getdirects Data Collection Rule Destination Storage Blob Direct] - One or more
storage_blob_direct
blocks as defined below. - storage_
blobs Sequence[GetData Collection Rule Destination Storage Blob] - One or more
storage_blob
blocks as defined below. - storage_
table_ Sequence[Getdirects Data Collection Rule Destination Storage Table Direct] - One or more
storage_table_direct
blocks as defined below. - event_
hub GetData Collection Rule Destination Event Hub - One or more
event_hub
blocks as defined below. - event_
hub_ Getdirect Data Collection Rule Destination Event Hub Direct - One or more
event_hub_direct
blocks as defined below.
- azure
Monitor List<Property Map>Metrics - A
azure_monitor_metrics
block as defined above. - log
Analytics List<Property Map> - One or more
log_analytics
blocks as defined below. - monitor
Accounts List<Property Map> - One or more
monitor_account
blocks as defined below. - storage
Blob List<Property Map>Directs - One or more
storage_blob_direct
blocks as defined below. - storage
Blobs List<Property Map> - One or more
storage_blob
blocks as defined below. - storage
Table List<Property Map>Directs - One or more
storage_table_direct
blocks as defined below. - event
Hub Property Map - One or more
event_hub
blocks as defined below. - event
Hub Property MapDirect - 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
- Event
Hub stringId - The resource ID of the Event Hub.
- Name string
- Specifies the name of the Data Collection Rule.
- Event
Hub stringId - The resource ID of the Event Hub.
- Name string
- Specifies the name of the Data Collection Rule.
- event
Hub StringId - The resource ID of the Event Hub.
- name String
- Specifies the name of the Data Collection Rule.
- event
Hub 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.
- event
Hub StringId - The resource ID of the Event Hub.
- name String
- Specifies the name of the Data Collection Rule.
GetDataCollectionRuleDestinationEventHubDirect
- Event
Hub stringId - The resource ID of the Event Hub.
- Name string
- Specifies the name of the Data Collection Rule.
- Event
Hub stringId - The resource ID of the Event Hub.
- Name string
- Specifies the name of the Data Collection Rule.
- event
Hub StringId - The resource ID of the Event Hub.
- name String
- Specifies the name of the Data Collection Rule.
- event
Hub 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.
- event
Hub 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.
- Workspace
Resource stringId - The ID of a Log Analytic Workspace resource.
- Name string
- Specifies the name of the Data Collection Rule.
- Workspace
Resource stringId - The ID of a Log Analytic Workspace resource.
- name String
- Specifies the name of the Data Collection Rule.
- workspace
Resource StringId - The ID of a Log Analytic Workspace resource.
- name string
- Specifies the name of the Data Collection Rule.
- workspace
Resource 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.
- workspace
Resource StringId - The ID of a Log Analytic Workspace resource.
GetDataCollectionRuleDestinationMonitorAccount
- Monitor
Account stringId - The resource ID of the Monitor Account.
- Name string
- Specifies the name of the Data Collection Rule.
- Monitor
Account stringId - The resource ID of the Monitor Account.
- Name string
- Specifies the name of the Data Collection Rule.
- monitor
Account StringId - The resource ID of the Monitor Account.
- name String
- Specifies the name of the Data Collection Rule.
- monitor
Account 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.
- monitor
Account StringId - The resource ID of the Monitor Account.
- name String
- Specifies the name of the Data Collection Rule.
GetDataCollectionRuleDestinationStorageBlob
- Container
Name string - The Storage Container name.
- Name string
- Specifies the name of the Data Collection Rule.
- Storage
Account stringId - The resource ID of the Storage Account.
- Container
Name string - The Storage Container name.
- Name string
- Specifies the name of the Data Collection Rule.
- Storage
Account stringId - The resource ID of the Storage Account.
- container
Name String - The Storage Container name.
- name String
- Specifies the name of the Data Collection Rule.
- storage
Account StringId - The resource ID of the Storage Account.
- container
Name string - The Storage Container name.
- name string
- Specifies the name of the Data Collection Rule.
- storage
Account 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.
- container
Name String - The Storage Container name.
- name String
- Specifies the name of the Data Collection Rule.
- storage
Account StringId - The resource ID of the Storage Account.
GetDataCollectionRuleDestinationStorageBlobDirect
- Container
Name string - The Storage Container name.
- Name string
- Specifies the name of the Data Collection Rule.
- Storage
Account stringId - The resource ID of the Storage Account.
- Container
Name string - The Storage Container name.
- Name string
- Specifies the name of the Data Collection Rule.
- Storage
Account stringId - The resource ID of the Storage Account.
- container
Name String - The Storage Container name.
- name String
- Specifies the name of the Data Collection Rule.
- storage
Account StringId - The resource ID of the Storage Account.
- container
Name string - The Storage Container name.
- name string
- Specifies the name of the Data Collection Rule.
- storage
Account 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.
- container
Name String - The Storage Container name.
- name String
- Specifies the name of the Data Collection Rule.
- storage
Account StringId - The resource ID of the Storage Account.
GetDataCollectionRuleDestinationStorageTableDirect
- Name string
- Specifies the name of the Data Collection Rule.
- Storage
Account stringId - The resource ID of the Storage Account.
- Table
Name string - The Storage Table name.
- Name string
- Specifies the name of the Data Collection Rule.
- Storage
Account stringId - The resource ID of the Storage Account.
- Table
Name string - The Storage Table name.
- name String
- Specifies the name of the Data Collection Rule.
- storage
Account StringId - The resource ID of the Storage Account.
- table
Name String - The Storage Table name.
- name string
- Specifies the name of the Data Collection Rule.
- storage
Account stringId - The resource ID of the Storage Account.
- table
Name 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.
- storage
Account StringId - The resource ID of the Storage Account.
- table
Name String - The Storage Table name.
GetDataCollectionRuleIdentity
- Identity
Ids 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.
- Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id 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
andUserAssigned
.
- Identity
Ids []string - 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 string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id 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
andUserAssigned
.
- identity
Ids 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.
- principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id 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
andUserAssigned
.
- identity
Ids string[] - 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 string - The Principal ID associated with this Managed Service Identity.
- tenant
Id 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
andUserAssigned
.
- 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
andUserAssigned
.
- identity
Ids 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.
- principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id 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
andUserAssigned
.
GetDataCollectionRuleStreamDeclaration
- Columns
List<Get
Data Collection Rule Stream Declaration Column> - One or more
column
blocks as defined above. - Stream
Name string - The name of the custom stream. This name should be unique across all
stream_declaration
blocks.
- Columns
[]Get
Data Collection Rule Stream Declaration Column - One or more
column
blocks as defined above. - Stream
Name string - The name of the custom stream. This name should be unique across all
stream_declaration
blocks.
- columns
List<Get
Data Collection Rule Stream Declaration Column> - One or more
column
blocks as defined above. - stream
Name String - The name of the custom stream. This name should be unique across all
stream_declaration
blocks.
- columns
Get
Data Collection Rule Stream Declaration Column[] - One or more
column
blocks as defined above. - stream
Name string - The name of the custom stream. This name should be unique across all
stream_declaration
blocks.
- columns
Sequence[Get
Data Collection Rule Stream Declaration Column] - 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. - stream
Name String - The name of the custom stream. This name should be unique across all
stream_declaration
blocks.
GetDataCollectionRuleStreamDeclarationColumn
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.