Class LogsCustomPipeline
Provides a Datadog Logs Pipeline API resource, which is used to create and manage Datadog logs custom pipelines.
Important Notes
Each datadog..LogsCustomPipeline resource defines a complete pipeline. The order of the pipelines is maintained in
a different resource datadog_logs_pipeline_order.
When creating a new pipeline, you need to explicitly add this pipeline to the datadog..LogsPipelineOrder
resource to track the pipeline. Similarly, when a pipeline needs to be destroyed, remove its references from the
datadog..LogsPipelineOrder resource.
Inherited Members
Namespace: Pulumi.Datadog
Assembly: Pulumi.Datadog.dll
Syntax
public class LogsCustomPipeline : CustomResource
Constructors
View SourceLogsCustomPipeline(String, LogsCustomPipelineArgs, CustomResourceOptions)
Create a LogsCustomPipeline resource with the given unique name, arguments, and options.
Declaration
public LogsCustomPipeline(string name, LogsCustomPipelineArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| LogsCustomPipelineArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceFilters
Defines the nested pipeline filter. Only logs that match the filter criteria are processed by this pipeline.
Declaration
public Output<ImmutableArray<LogsCustomPipelineFilter>> Filters { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<LogsCustomPipelineFilter>> |
IsEnabled
If the processor is enabled or not.
Declaration
public Output<bool?> IsEnabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Name
Name of the processor
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Processors
Processors. Nested pipeline can't take any other nested pipeline as its processor.
Declaration
public Output<ImmutableArray<LogsCustomPipelineProcessor>> Processors { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<LogsCustomPipelineProcessor>> |
Methods
View SourceGet(String, Input<String>, LogsCustomPipelineState, CustomResourceOptions)
Get an existing LogsCustomPipeline resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static LogsCustomPipeline Get(string name, Input<string> id, LogsCustomPipelineState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| LogsCustomPipelineState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| LogsCustomPipeline |