import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing Harness GitOps Application Project Mappings. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = new harness.platform.GitopsAppProjectMapping("example", { * accountId: "account_id", * orgId: "organization_id", * projectId: "project_id", * agentId: "agent_id", * argoProjectName: "argoProjectName", * autoCreateServiceEnv: true, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Import a GitOps agent app project mapping * * ```sh * $ pulumi import harness:platform/gitopsAppProjectMapping:GitopsAppProjectMapping example /// * ``` */ export declare class GitopsAppProjectMapping extends pulumi.CustomResource { /** * Get an existing GitopsAppProjectMapping 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?: GitopsAppProjectMappingState, opts?: pulumi.CustomResourceOptions): GitopsAppProjectMapping; /** * Returns true if the given object is an instance of GitopsAppProjectMapping. 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 GitopsAppProjectMapping; /** * Account identifier of the GitOps agent's Application Project. * * @deprecated This field is deprecated and will be removed in a future release. */ readonly accountId: pulumi.Output; /** * Agent identifier for which the ArgoCD and Harness project mapping is to be created. */ readonly agentId: pulumi.Output; /** * ArgoCD Project name which is to be mapped to the Harness project. */ readonly argoProjectName: pulumi.Output; /** * Enable automated creation of service, environment and cluster-env link. Defaults to false. */ readonly autoCreateServiceEnv: pulumi.Output; /** * Identifier of the GitOps Application Project. */ readonly identifier: pulumi.Output; /** * Organization identifier of the GitOps agent's Application Project. */ readonly orgId: pulumi.Output; /** * Project identifier of the GitOps agent's Application Project. */ readonly projectId: pulumi.Output; /** * Create a GitopsAppProjectMapping 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: GitopsAppProjectMappingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GitopsAppProjectMapping resources. */ export interface GitopsAppProjectMappingState { /** * Account identifier of the GitOps agent's Application Project. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: pulumi.Input; /** * Agent identifier for which the ArgoCD and Harness project mapping is to be created. */ agentId?: pulumi.Input; /** * ArgoCD Project name which is to be mapped to the Harness project. */ argoProjectName?: pulumi.Input; /** * Enable automated creation of service, environment and cluster-env link. Defaults to false. */ autoCreateServiceEnv?: pulumi.Input; /** * Identifier of the GitOps Application Project. */ identifier?: pulumi.Input; /** * Organization identifier of the GitOps agent's Application Project. */ orgId?: pulumi.Input; /** * Project identifier of the GitOps agent's Application Project. */ projectId?: pulumi.Input; } /** * The set of arguments for constructing a GitopsAppProjectMapping resource. */ export interface GitopsAppProjectMappingArgs { /** * Account identifier of the GitOps agent's Application Project. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: pulumi.Input; /** * Agent identifier for which the ArgoCD and Harness project mapping is to be created. */ agentId: pulumi.Input; /** * ArgoCD Project name which is to be mapped to the Harness project. */ argoProjectName: pulumi.Input; /** * Enable automated creation of service, environment and cluster-env link. Defaults to false. */ autoCreateServiceEnv?: pulumi.Input; /** * Organization identifier of the GitOps agent's Application Project. */ orgId: pulumi.Input; /** * Project identifier of the GitOps agent's Application Project. */ projectId: pulumi.Input; } //# sourceMappingURL=gitopsAppProjectMapping.d.ts.map