import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source for retrieving a Harness trigger. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const exampleByName = harness.getTrigger({ * appId: "app_id", * name: "name", * }); * const exampleById = harness.getTrigger({ * id: "trigger_id", * }); * ``` */ export declare function getTrigger(args?: GetTriggerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTrigger. */ export interface GetTriggerArgs { /** * The id of the application. */ appId?: string; /** * The trigger description. */ description?: string; /** * Unique identifier of the trigger. */ id?: string; /** * The name of the trigger. */ name?: string; } /** * A collection of values returned by getTrigger. */ export interface GetTriggerResult { /** * The id of the application. */ readonly appId?: string; /** * The condition that will execute the Trigger: On new artifact, On pipeline completion, On Cron schedule, On webhook, On New Manifest. */ readonly conditions: outputs.GetTriggerCondition[]; /** * The trigger description. */ readonly description?: string; /** * Unique identifier of the trigger. */ readonly id?: string; /** * The name of the trigger. */ readonly name?: string; } /** * Data source for retrieving a Harness trigger. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const exampleByName = harness.getTrigger({ * appId: "app_id", * name: "name", * }); * const exampleById = harness.getTrigger({ * id: "trigger_id", * }); * ``` */ export declare function getTriggerOutput(args?: GetTriggerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTrigger. */ export interface GetTriggerOutputArgs { /** * The id of the application. */ appId?: pulumi.Input; /** * The trigger description. */ description?: pulumi.Input; /** * Unique identifier of the trigger. */ id?: pulumi.Input; /** * The name of the trigger. */ name?: pulumi.Input; } //# sourceMappingURL=getTrigger.d.ts.map