1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. getGitopsAppProjectMapping
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

harness.platform.getGitopsAppProjectMapping

Explore with Pulumi AI

harness logo
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:platform/getGitopsAppProjectMapping:getGitopsAppProjectMapping
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.
    ArgoProjectName string
    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.
    ArgoProjectName string
    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.
    argoProjectName String
    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.
    argoProjectName string
    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.
    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_name str
    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.
    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.
    argoProjectName String
    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.

    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.
    ArgoProjectName string
    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.
    ArgoProjectName string
    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.
    argoProjectName String
    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.
    argoProjectName string
    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_name str
    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.
    argoProjectName String
    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 harness Terraform Provider.
    harness logo
    Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi