UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

107 lines (106 loc) 2.65 kB
import * as pulumi from "@pulumi/pulumi"; /** * Data source for retrieving a Harness environment group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getEnvironmentGroup({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ export declare function getEnvironmentGroup(args: GetEnvironmentGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentGroupResult>; /** * A collection of arguments for invoking getEnvironmentGroup. */ export interface GetEnvironmentGroupArgs { /** * Color of the environment group. */ color?: string; /** * identifier of the environment group. */ identifier: string; /** * org_id of the environment group. */ orgId?: string; /** * project_id of the environment group. */ projectId?: string; } /** * A collection of values returned by getEnvironmentGroup. */ export interface GetEnvironmentGroupResult { /** * Color of the environment group. */ readonly color: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * identifier of the environment group. */ readonly identifier: string; /** * org_id of the environment group. */ readonly orgId?: string; /** * project_id of the environment group. */ readonly projectId?: string; /** * Input Set YAML */ readonly yaml: string; } /** * Data source for retrieving a Harness environment group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getEnvironmentGroup({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ export declare function getEnvironmentGroupOutput(args: GetEnvironmentGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnvironmentGroupResult>; /** * A collection of arguments for invoking getEnvironmentGroup. */ export interface GetEnvironmentGroupOutputArgs { /** * Color of the environment group. */ color?: pulumi.Input<string>; /** * identifier of the environment group. */ identifier: pulumi.Input<string>; /** * org_id of the environment group. */ orgId?: pulumi.Input<string>; /** * project_id of the environment group. */ projectId?: pulumi.Input<string>; }