UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

108 lines (107 loc) 2.59 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for retrieving a Harness Variable. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getVariables({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ export declare function getVariables(args: GetVariablesArgs, opts?: pulumi.InvokeOptions): Promise<GetVariablesResult>; /** * A collection of arguments for invoking getVariables. */ export interface GetVariablesArgs { /** * Unique identifier of the resource */ identifier: string; /** * Organization Identifier for the Entity */ orgId?: string; /** * Project Identifier for the Entity */ projectId?: string; } /** * A collection of values returned by getVariables. */ export interface GetVariablesResult { /** * Description of the entity */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource */ readonly identifier: string; /** * Name of the Variable */ readonly name: string; /** * Organization Identifier for the Entity */ readonly orgId?: string; /** * Project Identifier for the Entity */ readonly projectId?: string; /** * List of Spce Fields. */ readonly specs: outputs.platform.GetVariablesSpec[]; /** * Type of Variable */ readonly type: string; } /** * Data source for retrieving a Harness Variable. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getVariables({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ export declare function getVariablesOutput(args: GetVariablesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVariablesResult>; /** * A collection of arguments for invoking getVariables. */ export interface GetVariablesOutputArgs { /** * Unique identifier of the resource */ identifier: pulumi.Input<string>; /** * Organization Identifier for the Entity */ orgId?: pulumi.Input<string>; /** * Project Identifier for the Entity */ projectId?: pulumi.Input<string>; }