import * as pulumi from "@pulumi/pulumi"; /** * Resource for creating IDP environments. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = new harness.platform.IdpEnvironment("test", { * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * name: "test", * owner: "group:account/_account_all_users", * blueprintIdentifier: "blueprint_identifier", * blueprintVersion: "v1.0.0", * targetState: "running", * basedOn: "org_id.project_id/environment_identifier", * overrides: `config: {} * entities: {} * `, * inputs: "ttl: 1h30m\n", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Import environment * * ```sh * $ pulumi import harness:platform/idpEnvironment:IdpEnvironment example // * ``` */ export declare class IdpEnvironment extends pulumi.CustomResource { /** * Get an existing IdpEnvironment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: IdpEnvironmentState, opts?: pulumi.CustomResourceOptions): IdpEnvironment; /** * Returns true if the given object is an instance of IdpEnvironment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is IdpEnvironment; /** * Based on environment reference. This should be passed as \n\n.\n\n/\n\n */ readonly basedOn: pulumi.Output; /** * Blueprint to base the environment on */ readonly blueprintIdentifier: pulumi.Output; /** * Version of the blueprint to base the environment on */ readonly blueprintVersion: pulumi.Output; /** * Unique identifier of the resource. */ readonly identifier: pulumi.Output; /** * Additional inputs for controlling the environment in YAML format */ readonly inputs: pulumi.Output; /** * Name of the resource. */ readonly name: pulumi.Output; /** * Unique identifier of the organization. */ readonly orgId: pulumi.Output; /** * Overrides for environment blueprint inputs in YAML format */ readonly overrides: pulumi.Output; /** * Owner of the environment */ readonly owner: pulumi.Output; /** * Unique identifier of the project. */ readonly projectId: pulumi.Output; /** * target state of the environment. If different from the current, a pipeline will be triggered to update the environment */ readonly targetState: pulumi.Output; /** * Create a IdpEnvironment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: IdpEnvironmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IdpEnvironment resources. */ export interface IdpEnvironmentState { /** * Based on environment reference. This should be passed as \n\n.\n\n/\n\n */ basedOn?: pulumi.Input; /** * Blueprint to base the environment on */ blueprintIdentifier?: pulumi.Input; /** * Version of the blueprint to base the environment on */ blueprintVersion?: pulumi.Input; /** * Unique identifier of the resource. */ identifier?: pulumi.Input; /** * Additional inputs for controlling the environment in YAML format */ inputs?: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId?: pulumi.Input; /** * Overrides for environment blueprint inputs in YAML format */ overrides?: pulumi.Input; /** * Owner of the environment */ owner?: pulumi.Input; /** * Unique identifier of the project. */ projectId?: pulumi.Input; /** * target state of the environment. If different from the current, a pipeline will be triggered to update the environment */ targetState?: pulumi.Input; } /** * The set of arguments for constructing a IdpEnvironment resource. */ export interface IdpEnvironmentArgs { /** * Based on environment reference. This should be passed as \n\n.\n\n/\n\n */ basedOn?: pulumi.Input; /** * Blueprint to base the environment on */ blueprintIdentifier: pulumi.Input; /** * Version of the blueprint to base the environment on */ blueprintVersion: pulumi.Input; /** * Unique identifier of the resource. */ identifier: pulumi.Input; /** * Additional inputs for controlling the environment in YAML format */ inputs?: pulumi.Input; /** * Name of the resource. */ name?: pulumi.Input; /** * Unique identifier of the organization. */ orgId: pulumi.Input; /** * Overrides for environment blueprint inputs in YAML format */ overrides: pulumi.Input; /** * Owner of the environment */ owner: pulumi.Input; /** * Unique identifier of the project. */ projectId: pulumi.Input; /** * target state of the environment. If different from the current, a pipeline will be triggered to update the environment */ targetState?: pulumi.Input; } //# sourceMappingURL=idpEnvironment.d.ts.map