Harness v0.5.7 published on Saturday, Mar 8, 2025 by Pulumi
harness.platform.getGitopsAppProjectMapping
Explore with Pulumi AI
Resource for managing the Harness GitOps Application Project Mappings.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetGitopsAppProjectMappingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = PlatformFunctions.getGitopsAppProjectMapping(GetGitopsAppProjectMappingArgs.builder()
            .accountId("account_id")
            .orgId("organization_id")
            .projectId("project_id")
            .agentId("agent_id")
            .argoProjName("argo_proj_name")
            .build());
    }
}
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:
- AgentId string
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- ArgoProject stringName 
- ArgoCD Project name which is to be mapped to the Harness project.
- OrgId string
- Organization identifier of the GitOps agent's Application Project.
- ProjectId string
- Project identifier of the GitOps agent's Application Project.
- AccountId string
- Account identifier of the GitOps agent's Application Project.
- AgentId string
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- ArgoProject stringName 
- ArgoCD Project name which is to be mapped to the Harness project.
- OrgId string
- Organization identifier of the GitOps agent's Application Project.
- ProjectId string
- Project identifier of the GitOps agent's Application Project.
- AccountId string
- Account identifier of the GitOps agent's Application Project.
- agentId String
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argoProject StringName 
- ArgoCD Project name which is to be mapped to the Harness project.
- orgId String
- Organization identifier of the GitOps agent's Application Project.
- projectId String
- Project identifier of the GitOps agent's Application Project.
- accountId String
- Account identifier of the GitOps agent's Application Project.
- agentId string
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argoProject stringName 
- ArgoCD Project name which is to be mapped to the Harness project.
- orgId string
- Organization identifier of the GitOps agent's Application Project.
- projectId string
- Project identifier of the GitOps agent's Application Project.
- accountId 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.
- agentId String
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argoProject StringName 
- ArgoCD Project name which is to be mapped to the Harness project.
- orgId String
- Organization identifier of the GitOps agent's Application Project.
- projectId String
- Project identifier of the GitOps agent's Application Project.
- accountId String
- Account identifier of the GitOps agent's Application Project.
getGitopsAppProjectMapping Result
The following output properties are available:
- AccountId string
- Account identifier of the GitOps agent's Application Project.
- AgentId string
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- ArgoProject 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.
- OrgId string
- Organization identifier of the GitOps agent's Application Project.
- ProjectId string
- Project identifier of the GitOps agent's Application Project.
- AccountId string
- Account identifier of the GitOps agent's Application Project.
- AgentId string
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- ArgoProject 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.
- OrgId string
- Organization identifier of the GitOps agent's Application Project.
- ProjectId string
- Project identifier of the GitOps agent's Application Project.
- accountId String
- Account identifier of the GitOps agent's Application Project.
- agentId String
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argoProject 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.
- orgId String
- Organization identifier of the GitOps agent's Application Project.
- projectId String
- Project identifier of the GitOps agent's Application Project.
- accountId string
- Account identifier of the GitOps agent's Application Project.
- agentId string
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argoProject 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.
- orgId string
- Organization identifier of the GitOps agent's Application Project.
- projectId 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.
- accountId String
- Account identifier of the GitOps agent's Application Project.
- agentId String
- Agent identifier for which the ArgoCD and Harness project mapping is to be created.
- argoProject 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.
- orgId String
- Organization identifier of the GitOps agent's Application Project.
- projectId 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.
