Harness v0.5.7 published on Saturday, Mar 8, 2025 by Pulumi
harness.platform.getGitopsRepoCert
Explore with Pulumi AI
Data source for retrieving a GitOps Repository Certificate. It fetches all the certificates that are added to the provided agent.
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.GetGitopsRepoCertArgs;
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 test = PlatformFunctions.getGitopsRepoCert(GetGitopsRepoCertArgs.builder()
            .identifier("identifier")
            .accountId("account_id")
            .projectId("project_id")
            .orgId("org_id")
            .agentId("agent_id")
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: harness:platform:getGitopsRepoCert
      arguments:
        identifier: identifier
        accountId: account_id
        projectId: project_id
        orgId: org_id
        agentId: agent_id
Using getGitopsRepoCert
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 getGitopsRepoCert(args: GetGitopsRepoCertArgs, opts?: InvokeOptions): Promise<GetGitopsRepoCertResult>
function getGitopsRepoCertOutput(args: GetGitopsRepoCertOutputArgs, opts?: InvokeOptions): Output<GetGitopsRepoCertResult>def get_gitops_repo_cert(account_id: Optional[str] = None,
                         agent_id: Optional[str] = None,
                         org_id: Optional[str] = None,
                         project_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetGitopsRepoCertResult
def get_gitops_repo_cert_output(account_id: Optional[pulumi.Input[str]] = None,
                         agent_id: Optional[pulumi.Input[str]] = None,
                         org_id: Optional[pulumi.Input[str]] = None,
                         project_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetGitopsRepoCertResult]func GetGitopsRepoCert(ctx *Context, args *GetGitopsRepoCertArgs, opts ...InvokeOption) (*GetGitopsRepoCertResult, error)
func GetGitopsRepoCertOutput(ctx *Context, args *GetGitopsRepoCertOutputArgs, opts ...InvokeOption) GetGitopsRepoCertResultOutput> Note: This function is named GetGitopsRepoCert in the Go SDK.
public static class GetGitopsRepoCert 
{
    public static Task<GetGitopsRepoCertResult> InvokeAsync(GetGitopsRepoCertArgs args, InvokeOptions? opts = null)
    public static Output<GetGitopsRepoCertResult> Invoke(GetGitopsRepoCertInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGitopsRepoCertResult> getGitopsRepoCert(GetGitopsRepoCertArgs args, InvokeOptions options)
public static Output<GetGitopsRepoCertResult> getGitopsRepoCert(GetGitopsRepoCertArgs args, InvokeOptions options)
fn::invoke:
  function: harness:platform/getGitopsRepoCert:getGitopsRepoCert
  arguments:
    # arguments dictionaryThe following arguments are supported:
- agent_id str
- Agent identifier of the GitOps repository certificate.
- account_id str
- Account identifier of the GitOps repository certificate.
- org_id str
- Organization identifier of the GitOps repository certificate.
- project_id str
- Project identifier of the GitOps repository certificate.
getGitopsRepoCert Result
The following output properties are available:
- AccountId string
- Account identifier of the GitOps repository certificate.
- AgentId string
- Agent identifier of the GitOps repository certificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgId string
- Organization identifier of the GitOps repository certificate.
- ProjectId string
- Project identifier of the GitOps repository certificate.
- AccountId string
- Account identifier of the GitOps repository certificate.
- AgentId string
- Agent identifier of the GitOps repository certificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgId string
- Organization identifier of the GitOps repository certificate.
- ProjectId string
- Project identifier of the GitOps repository certificate.
- accountId String
- Account identifier of the GitOps repository certificate.
- agentId String
- Agent identifier of the GitOps repository certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- orgId String
- Organization identifier of the GitOps repository certificate.
- projectId String
- Project identifier of the GitOps repository certificate.
- accountId string
- Account identifier of the GitOps repository certificate.
- agentId string
- Agent identifier of the GitOps repository certificate.
- id string
- The provider-assigned unique ID for this managed resource.
- orgId string
- Organization identifier of the GitOps repository certificate.
- projectId string
- Project identifier of the GitOps repository certificate.
- account_id str
- Account identifier of the GitOps repository certificate.
- agent_id str
- Agent identifier of the GitOps repository certificate.
- id str
- The provider-assigned unique ID for this managed resource.
- org_id str
- Organization identifier of the GitOps repository certificate.
- project_id str
- Project identifier of the GitOps repository certificate.
- accountId String
- Account identifier of the GitOps repository certificate.
- agentId String
- Agent identifier of the GitOps repository certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- orgId String
- Organization identifier of the GitOps repository certificate.
- projectId String
- Project identifier of the GitOps repository certificate.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the harnessTerraform Provider.
