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

harness.platform.getGitopsRepoCert

Explore with Pulumi AI

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

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

    The following arguments are supported:

    AccountId string
    Account identifier of the GitOps repository certificate.
    AgentId string
    Agent identifier of the GitOps repository certificate.
    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.
    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.
    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.
    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.
    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.
    orgId String
    Organization identifier of the GitOps repository certificate.
    projectId String
    Project identifier of the GitOps repository certificate.

    getGitopsRepoCert Result

    The following output properties are available:

    AccountId string
    Account identifier of the GitOps repository certificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    AgentId string
    Agent identifier of the GitOps repository certificate.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    AgentId string
    Agent identifier of the GitOps repository certificate.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    agentId String
    Agent identifier of the GitOps repository certificate.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    agentId string
    Agent identifier of the GitOps repository certificate.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    agent_id str
    Agent 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.
    accountId String
    Account identifier of the GitOps repository certificate.
    id String
    The provider-assigned unique ID for this managed resource.
    agentId String
    Agent identifier of the GitOps repository certificate.
    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 harness Terraform Provider.
    harness logo
    Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi