import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog Tag Pipeline Ruleset resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const example = new datadog.TagPipelineRuleset("example", { * name: "Complete Tag Pipeline Example", * enabled: true, * rules: [ * { * name: "standardize-environment", * enabled: true, * mapping: [{ * destinationKey: "env", * ifTagExists: "replace", * sourceKeys: [ * "environment", * "stage", * "tier", * ], * }], * }, * { * name: "assign-team-tags", * enabled: true, * query: [{ * query: "service:web* OR service:frontend*", * caseInsensitivity: true, * ifTagExists: "append", * addition: [{ * key: "team", * value: "frontend", * }], * }], * }, * { * name: "enrich-service-metadata", * enabled: true, * referenceTable: [{ * tableName: "service_catalog", * caseInsensitivity: true, * ifTagExists: "append", * sourceKeys: ["service"], * fieldPairs: [ * { * inputColumn: "owner_team", * outputKey: "owner", * }, * { * inputColumn: "business_unit", * outputKey: "business_unit", * }, * ], * }], * }, * ], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/tagPipelineRuleset:TagPipelineRuleset example "your-ruleset-id-here" * ``` */ export declare class TagPipelineRuleset extends pulumi.CustomResource { /** * Get an existing TagPipelineRuleset 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?: TagPipelineRulesetState, opts?: pulumi.CustomResourceOptions): TagPipelineRuleset; /** * Returns true if the given object is an instance of TagPipelineRuleset. 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 TagPipelineRuleset; /** * Whether the ruleset is enabled. */ readonly enabled: pulumi.Output; /** * The name of the ruleset. */ readonly name: pulumi.Output; /** * The position of the ruleset in the pipeline. */ readonly position: pulumi.Output; /** * The rules in the ruleset. */ readonly rules: pulumi.Output; /** * The version of the ruleset. */ readonly version: pulumi.Output; /** * Create a TagPipelineRuleset 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: TagPipelineRulesetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TagPipelineRuleset resources. */ export interface TagPipelineRulesetState { /** * Whether the ruleset is enabled. */ enabled?: pulumi.Input; /** * The name of the ruleset. */ name?: pulumi.Input; /** * The position of the ruleset in the pipeline. */ position?: pulumi.Input; /** * The rules in the ruleset. */ rules?: pulumi.Input[]>; /** * The version of the ruleset. */ version?: pulumi.Input; } /** * The set of arguments for constructing a TagPipelineRuleset resource. */ export interface TagPipelineRulesetArgs { /** * Whether the ruleset is enabled. */ enabled?: pulumi.Input; /** * The name of the ruleset. */ name: pulumi.Input; /** * The rules in the ruleset. */ rules?: pulumi.Input[]>; }