Harness v0.9.0 published on Wednesday, Oct 22, 2025 by Pulumi
harness.platform.getGitopsAppProjectMapping
Start a Neo task
Explain and create a harness.platform.getGitopsAppProjectMapping resource
Resource for managing the Harness GitOps Application Project Mappings.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
example:
fn::invoke:
function: harness:platform:getGitopsAppProjectMapping
arguments:
accountId: account_id
orgId: organization_id
projectId: project_id
agentId: agent_id
argoProjName: argo_proj_name
Using getGitopsAppProjectMapping
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGitopsAppProjectMapping(args: GetGitopsAppProjectMappingArgs, opts?: InvokeOptions): Promise<GetGitopsAppProjectMappingResult>
function getGitopsAppProjectMappingOutput(args: GetGitopsAppProjectMappingOutputArgs, opts?: InvokeOptions): Output<GetGitopsAppProjectMappingResult>def get_gitops_app_project_mapping(account_id: Optional[str] = None,
agent_id: Optional[str] = None,
argo_project_name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGitopsAppProjectMappingResult
def get_gitops_app_project_mapping_output(account_id: Optional[pulumi.Input[str]] = None,
agent_id: Optional[pulumi.Input[str]] = None,
argo_project_name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGitopsAppProjectMappingResult]func LookupGitopsAppProjectMapping(ctx *Context, args *LookupGitopsAppProjectMappingArgs, opts ...InvokeOption) (*LookupGitopsAppProjectMappingResult, error)
func LookupGitopsAppProjectMappingOutput(ctx *Context, args *LookupGitopsAppProjectMappingOutputArgs, opts ...InvokeOption) LookupGitopsAppProjectMappingResultOutput> Note: This function is named LookupGitopsAppProjectMapping in the Go SDK.
public static class GetGitopsAppProjectMapping
{
public static Task<GetGitopsAppProjectMappingResult> InvokeAsync(GetGitopsAppProjectMappingArgs args, InvokeOptions? opts = null)
public static Output<GetGitopsAppProjectMappingResult> Invoke(GetGitopsAppProjectMappingInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGitopsAppProjectMappingResult> getGitopsAppProjectMapping(GetGitopsAppProjectMappingArgs args, InvokeOptions options)
public static Output<GetGitopsAppProjectMappingResult> getGitopsAppProjectMapping(GetGitopsAppProjectMappingArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getGitopsAppProjectMapping:getGitopsAppProjectMapping
arguments:
# arguments dictionaryThe following arguments are supported:
- Agent
Id string - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- Argo
Project stringName - ArgoCD Project name which is to be mapped to the Harness project.
- Org
Id string - Organization identifier of the GitOps agent's Application Project.
- Project
Id string - Project identifier of the GitOps agent's Application Project.
- Account
Id string - Account identifier of the GitOps agent's Application Project.
- Agent
Id string - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- Argo
Project stringName - ArgoCD Project name which is to be mapped to the Harness project.
- Org
Id string - Organization identifier of the GitOps agent's Application Project.
- Project
Id string - Project identifier of the GitOps agent's Application Project.
- Account
Id string - Account identifier of the GitOps agent's Application Project.
- agent
Id String - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argo
Project StringName - ArgoCD Project name which is to be mapped to the Harness project.
- org
Id String - Organization identifier of the GitOps agent's Application Project.
- project
Id String - Project identifier of the GitOps agent's Application Project.
- account
Id String - Account identifier of the GitOps agent's Application Project.
- agent
Id string - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argo
Project stringName - ArgoCD Project name which is to be mapped to the Harness project.
- org
Id string - Organization identifier of the GitOps agent's Application Project.
- project
Id string - Project identifier of the GitOps agent's Application Project.
- account
Id string - Account identifier of the GitOps agent's Application Project.
- agent_
id str - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argo_
project_ strname - ArgoCD Project name which is to be mapped to the Harness project.
- org_
id str - Organization identifier of the GitOps agent's Application Project.
- project_
id str - Project identifier of the GitOps agent's Application Project.
- account_
id str - Account identifier of the GitOps agent's Application Project.
- agent
Id String - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argo
Project StringName - ArgoCD Project name which is to be mapped to the Harness project.
- org
Id String - Organization identifier of the GitOps agent's Application Project.
- project
Id String - Project identifier of the GitOps agent's Application Project.
- account
Id String - Account identifier of the GitOps agent's Application Project.
getGitopsAppProjectMapping Result
The following output properties are available:
- Account
Id string - Account identifier of the GitOps agent's Application Project.
- Agent
Id string - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- Argo
Project stringName - ArgoCD Project name which is to be mapped to the Harness project.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the GitOps Application Project.
- Org
Id string - Organization identifier of the GitOps agent's Application Project.
- Project
Id string - Project identifier of the GitOps agent's Application Project.
- Account
Id string - Account identifier of the GitOps agent's Application Project.
- Agent
Id string - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- Argo
Project stringName - ArgoCD Project name which is to be mapped to the Harness project.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the GitOps Application Project.
- Org
Id string - Organization identifier of the GitOps agent's Application Project.
- Project
Id string - Project identifier of the GitOps agent's Application Project.
- account
Id String - Account identifier of the GitOps agent's Application Project.
- agent
Id String - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argo
Project StringName - ArgoCD Project name which is to be mapped to the Harness project.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the GitOps Application Project.
- org
Id String - Organization identifier of the GitOps agent's Application Project.
- project
Id String - Project identifier of the GitOps agent's Application Project.
- account
Id string - Account identifier of the GitOps agent's Application Project.
- agent
Id string - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argo
Project stringName - ArgoCD Project name which is to be mapped to the Harness project.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Identifier of the GitOps Application Project.
- org
Id string - Organization identifier of the GitOps agent's Application Project.
- project
Id string - Project identifier of the GitOps agent's Application Project.
- account_
id str - Account identifier of the GitOps agent's Application Project.
- agent_
id str - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argo_
project_ strname - ArgoCD Project name which is to be mapped to the Harness project.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Identifier of the GitOps Application Project.
- org_
id str - Organization identifier of the GitOps agent's Application Project.
- project_
id str - Project identifier of the GitOps agent's Application Project.
- account
Id String - Account identifier of the GitOps agent's Application Project.
- agent
Id String - Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argo
Project StringName - ArgoCD Project name which is to be mapped to the Harness project.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the GitOps Application Project.
- org
Id String - Organization identifier of the GitOps agent's Application Project.
- project
Id String - Project identifier of the GitOps agent's Application Project.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
