UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

115 lines (114 loc) 3.38 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getGitopsAppProject({ * agentId: "agent_id", * queryName: "query_name", * }); * ``` */ export declare function getGitopsAppProject(args: GetGitopsAppProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetGitopsAppProjectResult>; /** * A collection of arguments for invoking getGitopsAppProject. */ export interface GetGitopsAppProjectArgs { /** * Account identifier of the GitOps Agent where argo project resides. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: string; /** * Agent identifier of the agent where argo project resides(include scope prefix) */ agentId: string; /** * Org identifier of the GitOps Agent where argo project resides. */ orgId?: string; /** * Project identifier of the Gitops Agent where argo project resides. */ projectId?: string; /** * Identifier for the GitOps Argo project. */ queryName?: string; } /** * A collection of values returned by getGitopsAppProject. */ export interface GetGitopsAppProjectResult { /** * Account identifier of the GitOps Agent where argo project resides. * * @deprecated This field is deprecated and will be removed in a future release. */ readonly accountId: string; /** * Agent identifier of the agent where argo project resides(include scope prefix) */ readonly agentId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Org identifier of the GitOps Agent where argo project resides. */ readonly orgId?: string; /** * Project identifier of the Gitops Agent where argo project resides. */ readonly projectId?: string; /** * Identifier for the GitOps Argo project. */ readonly queryName: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getGitopsAppProject({ * agentId: "agent_id", * queryName: "query_name", * }); * ``` */ export declare function getGitopsAppProjectOutput(args: GetGitopsAppProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGitopsAppProjectResult>; /** * A collection of arguments for invoking getGitopsAppProject. */ export interface GetGitopsAppProjectOutputArgs { /** * Account identifier of the GitOps Agent where argo project resides. * * @deprecated This field is deprecated and will be removed in a future release. */ accountId?: pulumi.Input<string>; /** * Agent identifier of the agent where argo project resides(include scope prefix) */ agentId: pulumi.Input<string>; /** * Org identifier of the GitOps Agent where argo project resides. */ orgId?: pulumi.Input<string>; /** * Project identifier of the Gitops Agent where argo project resides. */ projectId?: pulumi.Input<string>; /** * Identifier for the GitOps Argo project. */ queryName?: pulumi.Input<string>; }