import * as pulumi from "@pulumi/pulumi"; /** * Look up a Harness FME (Split) environment by name within the workspace for a Harness organization and project. The provider resolves the workspace ID from `orgId` and `projectId` on each read. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Look up a Split environment by name within the FME workspace for a Harness org and project. * const production = harness.fme.getEnvironment({ * orgId: "organization_id", * projectId: "project_id", * name: "Production", * }); * ``` */ export declare function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEnvironment. */ export interface GetEnvironmentArgs { /** * Name of the Split environment in the workspace (e.g. `Production`). */ name: string; /** * Harness organization identifier. */ orgId: string; /** * Harness project identifier. */ projectId: string; } /** * A collection of values returned by getEnvironment. */ export interface GetEnvironmentResult { /** * The Split environment ID (same as `id`). */ readonly environmentId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name of the Split environment in the workspace (e.g. `Production`). */ readonly name: string; /** * Harness organization identifier. */ readonly orgId: string; /** * Whether this is a production environment in Split. */ readonly production: boolean; /** * Harness project identifier. */ readonly projectId: string; } /** * Look up a Harness FME (Split) environment by name within the workspace for a Harness organization and project. The provider resolves the workspace ID from `orgId` and `projectId` on each read. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Look up a Split environment by name within the FME workspace for a Harness org and project. * const production = harness.fme.getEnvironment({ * orgId: "organization_id", * projectId: "project_id", * name: "Production", * }); * ``` */ export declare function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEnvironment. */ export interface GetEnvironmentOutputArgs { /** * Name of the Split environment in the workspace (e.g. `Production`). */ name: pulumi.Input; /** * Harness organization identifier. */ orgId: pulumi.Input; /** * Harness project identifier. */ projectId: pulumi.Input; } //# sourceMappingURL=getEnvironment.d.ts.map