LogsIntegrationPipeline
Provides a Datadog Logs Pipeline API resource to manage the integrations.
Integration pipelines are the pipelines that are automatically installed for your organization when sending the logs with specific sources. You don’t need to maintain or update these types of pipelines. Keeping them as resources, however, allows you to manage the order of your pipelines by referencing them in your datadog.LogsPipelineOrder resource. If you don’t need the pipeline_order
feature, this resource declaration can be omitted.
Example Usage
using Pulumi;
using Datadog = Pulumi.Datadog;
class MyStack : Stack
{
public MyStack()
{
var python = new Datadog.LogsIntegrationPipeline("python", new Datadog.LogsIntegrationPipelineArgs
{
IsEnabled = true,
});
}
}
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v2/go/datadog"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datadog.NewLogsIntegrationPipeline(ctx, "python", &datadog.LogsIntegrationPipelineArgs{
IsEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_datadog as datadog
python = datadog.LogsIntegrationPipeline("python", is_enabled=True)
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const python = new datadog.LogsIntegrationPipeline("python", {
isEnabled: true,
});
Create a LogsIntegrationPipeline Resource
new LogsIntegrationPipeline(name: string, args?: LogsIntegrationPipelineArgs, opts?: CustomResourceOptions);
def LogsIntegrationPipeline(resource_name: str, opts: Optional[ResourceOptions] = None, is_enabled: Optional[bool] = None)
func NewLogsIntegrationPipeline(ctx *Context, name string, args *LogsIntegrationPipelineArgs, opts ...ResourceOption) (*LogsIntegrationPipeline, error)
public LogsIntegrationPipeline(string name, LogsIntegrationPipelineArgs? args = null, CustomResourceOptions? opts = null)
- name string
- The unique name of the resource.
- args LogsIntegrationPipelineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LogsIntegrationPipelineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogsIntegrationPipelineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
LogsIntegrationPipeline Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The LogsIntegrationPipeline resource accepts the following input properties:
- Is
Enabled bool Boolean value to enable your pipeline.
- Is
Enabled bool Boolean value to enable your pipeline.
- is
Enabled boolean Boolean value to enable your pipeline.
- is_
enabled bool Boolean value to enable your pipeline.
Outputs
All input properties are implicitly available as output properties. Additionally, the LogsIntegrationPipeline resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
Look up an Existing LogsIntegrationPipeline Resource
Get an existing LogsIntegrationPipeline resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LogsIntegrationPipelineState, opts?: CustomResourceOptions): LogsIntegrationPipeline
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, is_enabled: Optional[bool] = None) -> LogsIntegrationPipeline
func GetLogsIntegrationPipeline(ctx *Context, name string, id IDInput, state *LogsIntegrationPipelineState, opts ...ResourceOption) (*LogsIntegrationPipeline, error)
public static LogsIntegrationPipeline Get(string name, Input<string> id, LogsIntegrationPipelineState? state, CustomResourceOptions? opts = null)
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Is
Enabled bool Boolean value to enable your pipeline.
- Is
Enabled bool Boolean value to enable your pipeline.
- is
Enabled boolean Boolean value to enable your pipeline.
- is_
enabled bool Boolean value to enable your pipeline.
Import
$ pulumi import datadog:index/logsIntegrationPipeline:LogsIntegrationPipeline name> <pipelineID>`
Package Details
- Repository
- https://github.com/pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.