UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

55 lines (54 loc) 1.58 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for retrieving a Harness environment List. */ export declare function getEnvironmentList(args?: GetEnvironmentListArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentListResult>; /** * A collection of arguments for invoking getEnvironmentList. */ export interface GetEnvironmentListArgs { /** * Unique identifier of the organization. */ orgId?: string; /** * Unique identifier of the project. */ projectId?: string; } /** * A collection of values returned by getEnvironmentList. */ export interface GetEnvironmentListResult { readonly environments: outputs.platform.GetEnvironmentListEnvironment[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * Unique identifier of the project. */ readonly projectId?: string; } /** * Data source for retrieving a Harness environment List. */ export declare function getEnvironmentListOutput(args?: GetEnvironmentListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnvironmentListResult>; /** * A collection of arguments for invoking getEnvironmentList. */ export interface GetEnvironmentListOutputArgs { /** * Unique identifier of the organization. */ orgId?: pulumi.Input<string>; /** * Unique identifier of the project. */ projectId?: pulumi.Input<string>; }