import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog Observability Pipeline resource. Observability Pipelines allows you to collect and process logs within your own infrastructure, and then route them to downstream integrations. * * Datadog recommends using the `-parallelism=1` option to apply this resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const test = new datadog.ObservabilityPipeline("test", { * name: "test pipeline", * config: { * destinations: [{ * datadogLogs: [{}], * id: "destination-1", * inputs: ["processor-group-1"], * }], * sources: [{ * id: "source-1", * datadogAgents: [{ * tls: { * crtFile: "/etc/certs/client.crt", * keyFile: "/etc/certs/client.key", * caFile: "/etc/certs/ca.crt", * }, * }], * }], * processorGroups: [{ * id: "processor-group-1", * enabled: true, * include: "service:my-service", * inputs: ["source-1"], * displayName: "processor group", * processors: [ * { * id: "parser-1", * enabled: true, * include: "service:my-service", * displayName: "json parser", * parseJson: { * field: "message", * }, * }, * { * id: "filter-1", * enabled: true, * include: "service:my-service", * displayName: "filter", * filter: {}, * }, * ], * }], * }, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/observabilityPipeline:ObservabilityPipeline example_pipeline 8beabbc4-1f4d-11f0-942b-da7ad0900001 * ``` */ export declare class ObservabilityPipeline extends pulumi.CustomResource { /** * Get an existing ObservabilityPipeline resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ObservabilityPipelineState, opts?: pulumi.CustomResourceOptions): ObservabilityPipeline; /** * Returns true if the given object is an instance of ObservabilityPipeline. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ObservabilityPipeline; /** * Configuration for the pipeline. */ readonly config: pulumi.Output; /** * The pipeline name. */ readonly name: pulumi.Output; /** * Create a ObservabilityPipeline resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ObservabilityPipelineArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ObservabilityPipeline resources. */ export interface ObservabilityPipelineState { /** * Configuration for the pipeline. */ config?: pulumi.Input; /** * The pipeline name. */ name?: pulumi.Input; } /** * The set of arguments for constructing a ObservabilityPipeline resource. */ export interface ObservabilityPipelineArgs { /** * Configuration for the pipeline. */ config: pulumi.Input; /** * The pipeline name. */ name: pulumi.Input; }