import * as pulumi from "@pulumi/pulumi"; /** * Data source for retrieving a Harness trigger. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getTriggers({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * targetId: "pipeline_id", * }); * ``` */ export declare function getTriggers(args: GetTriggersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTriggers. */ export interface GetTriggersArgs { /** * Unique identifier of the resource. */ identifier?: string; /** * ignore error default false */ ignoreError?: boolean; /** * Name of the resource. */ name?: string; /** * Unique identifier of the organization. */ orgId: string; /** * Unique identifier of the project. */ projectId: string; /** * Identifier of the target pipeline */ targetId: string; } /** * A collection of values returned by getTriggers. */ export interface GetTriggersResult { /** * Description of the resource. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource. */ readonly identifier?: string; /** * ignore error default false */ readonly ignoreError?: boolean; /** * Name of the resource. */ readonly name?: string; /** * Unique identifier of the organization. */ readonly orgId: string; /** * Unique identifier of the project. */ readonly projectId: string; /** * Tags to associate with the resource. */ readonly tags: string[]; /** * Identifier of the target pipeline */ readonly targetId: string; /** * trigger yaml */ readonly yaml: string; } /** * Data source for retrieving a Harness trigger. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getTriggers({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * targetId: "pipeline_id", * }); * ``` */ export declare function getTriggersOutput(args: GetTriggersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTriggers. */ export interface GetTriggersOutputArgs { /** * Unique identifier of the resource. */ identifier?: pulumi.Input; /** * ignore error default false */ ignoreError?: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId: pulumi.Input; /** * Unique identifier of the project. */ projectId: pulumi.Input; /** * Identifier of the target pipeline */ targetId: pulumi.Input; } //# sourceMappingURL=getTriggers.d.ts.map