Harness v0.4.4 published on Tuesday, Nov 12, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getGitopsAppProjectMapping:getGitopsAppProjectMapping
arguments:
# arguments dictionary
The following arguments are supported:
- 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 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 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.
- 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.
- org
Id String - Organization identifier of the GitOps agent's Application Project.
- project
Id String - Project 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
harness
Terraform Provider.