1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. getGitopsGnupg
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.platform.getGitopsGnupg

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Data source for retrieving a GPG public key in the server’s configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Harness.Platform.GetGitopsGnupg.Invoke(new()
        {
            AccountId = "account_id",
            AgentId = "agent_id",
            Identifier = "identifier",
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-harness/sdk/go/harness/platform"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := platform.GetGitopsGnupg(ctx, &platform.GetGitopsGnupgArgs{
    			AccountId:  "account_id",
    			AgentId:    "agent_id",
    			Identifier: pulumi.StringRef("identifier"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.GetGitopsGnupgArgs;
    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.getGitopsGnupg(GetGitopsGnupgArgs.builder()
                .accountId("account_id")
                .agentId("agent_id")
                .identifier("identifier")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_harness as harness
    
    example = harness.platform.get_gitops_gnupg(account_id="account_id",
        agent_id="agent_id",
        identifier="identifier")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const example = harness.platform.getGitopsGnupg({
        accountId: "account_id",
        agentId: "agent_id",
        identifier: "identifier",
    });
    
    variables:
      example:
        fn::invoke:
          Function: harness:platform:getGitopsGnupg
          Arguments:
            accountId: account_id
            agentId: agent_id
            identifier: identifier
    

    Using getGitopsGnupg

    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 getGitopsGnupg(args: GetGitopsGnupgArgs, opts?: InvokeOptions): Promise<GetGitopsGnupgResult>
    function getGitopsGnupgOutput(args: GetGitopsGnupgOutputArgs, opts?: InvokeOptions): Output<GetGitopsGnupgResult>
    def get_gitops_gnupg(account_id: Optional[str] = None,
                         agent_id: Optional[str] = None,
                         identifier: Optional[str] = None,
                         org_id: Optional[str] = None,
                         project_id: Optional[str] = None,
                         requests: Optional[Sequence[GetGitopsGnupgRequest]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetGitopsGnupgResult
    def get_gitops_gnupg_output(account_id: Optional[pulumi.Input[str]] = None,
                         agent_id: Optional[pulumi.Input[str]] = None,
                         identifier: Optional[pulumi.Input[str]] = None,
                         org_id: Optional[pulumi.Input[str]] = None,
                         project_id: Optional[pulumi.Input[str]] = None,
                         requests: Optional[pulumi.Input[Sequence[pulumi.Input[GetGitopsGnupgRequestArgs]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetGitopsGnupgResult]
    func GetGitopsGnupg(ctx *Context, args *GetGitopsGnupgArgs, opts ...InvokeOption) (*GetGitopsGnupgResult, error)
    func GetGitopsGnupgOutput(ctx *Context, args *GetGitopsGnupgOutputArgs, opts ...InvokeOption) GetGitopsGnupgResultOutput

    > Note: This function is named GetGitopsGnupg in the Go SDK.

    public static class GetGitopsGnupg 
    {
        public static Task<GetGitopsGnupgResult> InvokeAsync(GetGitopsGnupgArgs args, InvokeOptions? opts = null)
        public static Output<GetGitopsGnupgResult> Invoke(GetGitopsGnupgInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGitopsGnupgResult> getGitopsGnupg(GetGitopsGnupgArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:platform/getGitopsGnupg:getGitopsGnupg
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    Account Identifier for the GnuPG Key.
    AgentId string
    Agent identifier for the GnuPG Key.
    Identifier string
    Identifier for the GnuPG Key.
    OrgId string
    Organization Identifier for the GnuPG Key.
    ProjectId string
    Project Identifier for the GnuPG Key.
    Requests List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GetGitopsGnupgRequest>
    GnuPGPublicKey is a representation of a GnuPG public key
    AccountId string
    Account Identifier for the GnuPG Key.
    AgentId string
    Agent identifier for the GnuPG Key.
    Identifier string
    Identifier for the GnuPG Key.
    OrgId string
    Organization Identifier for the GnuPG Key.
    ProjectId string
    Project Identifier for the GnuPG Key.
    Requests []GetGitopsGnupgRequest
    GnuPGPublicKey is a representation of a GnuPG public key
    accountId String
    Account Identifier for the GnuPG Key.
    agentId String
    Agent identifier for the GnuPG Key.
    identifier String
    Identifier for the GnuPG Key.
    orgId String
    Organization Identifier for the GnuPG Key.
    projectId String
    Project Identifier for the GnuPG Key.
    requests List<GetGitopsGnupgRequest>
    GnuPGPublicKey is a representation of a GnuPG public key
    accountId string
    Account Identifier for the GnuPG Key.
    agentId string
    Agent identifier for the GnuPG Key.
    identifier string
    Identifier for the GnuPG Key.
    orgId string
    Organization Identifier for the GnuPG Key.
    projectId string
    Project Identifier for the GnuPG Key.
    requests GetGitopsGnupgRequest[]
    GnuPGPublicKey is a representation of a GnuPG public key
    account_id str
    Account Identifier for the GnuPG Key.
    agent_id str
    Agent identifier for the GnuPG Key.
    identifier str
    Identifier for the GnuPG Key.
    org_id str
    Organization Identifier for the GnuPG Key.
    project_id str
    Project Identifier for the GnuPG Key.
    requests Sequence[GetGitopsGnupgRequest]
    GnuPGPublicKey is a representation of a GnuPG public key
    accountId String
    Account Identifier for the GnuPG Key.
    agentId String
    Agent identifier for the GnuPG Key.
    identifier String
    Identifier for the GnuPG Key.
    orgId String
    Organization Identifier for the GnuPG Key.
    projectId String
    Project Identifier for the GnuPG Key.
    requests List<Property Map>
    GnuPGPublicKey is a representation of a GnuPG public key

    getGitopsGnupg Result

    The following output properties are available:

    AccountId string
    Account Identifier for the GnuPG Key.
    AgentId string
    Agent identifier for the GnuPG Key.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Identifier for the GnuPG Key.
    OrgId string
    Organization Identifier for the GnuPG Key.
    ProjectId string
    Project Identifier for the GnuPG Key.
    Requests List<Lbrlabs.PulumiPackage.Harness.Platform.Outputs.GetGitopsGnupgRequest>
    GnuPGPublicKey is a representation of a GnuPG public key
    AccountId string
    Account Identifier for the GnuPG Key.
    AgentId string
    Agent identifier for the GnuPG Key.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Identifier for the GnuPG Key.
    OrgId string
    Organization Identifier for the GnuPG Key.
    ProjectId string
    Project Identifier for the GnuPG Key.
    Requests []GetGitopsGnupgRequest
    GnuPGPublicKey is a representation of a GnuPG public key
    accountId String
    Account Identifier for the GnuPG Key.
    agentId String
    Agent identifier for the GnuPG Key.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Identifier for the GnuPG Key.
    orgId String
    Organization Identifier for the GnuPG Key.
    projectId String
    Project Identifier for the GnuPG Key.
    requests List<GetGitopsGnupgRequest>
    GnuPGPublicKey is a representation of a GnuPG public key
    accountId string
    Account Identifier for the GnuPG Key.
    agentId string
    Agent identifier for the GnuPG Key.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Identifier for the GnuPG Key.
    orgId string
    Organization Identifier for the GnuPG Key.
    projectId string
    Project Identifier for the GnuPG Key.
    requests GetGitopsGnupgRequest[]
    GnuPGPublicKey is a representation of a GnuPG public key
    account_id str
    Account Identifier for the GnuPG Key.
    agent_id str
    Agent identifier for the GnuPG Key.
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Identifier for the GnuPG Key.
    org_id str
    Organization Identifier for the GnuPG Key.
    project_id str
    Project Identifier for the GnuPG Key.
    requests Sequence[GetGitopsGnupgRequest]
    GnuPGPublicKey is a representation of a GnuPG public key
    accountId String
    Account Identifier for the GnuPG Key.
    agentId String
    Agent identifier for the GnuPG Key.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Identifier for the GnuPG Key.
    orgId String
    Organization Identifier for the GnuPG Key.
    projectId String
    Project Identifier for the GnuPG Key.
    requests List<Property Map>
    GnuPGPublicKey is a representation of a GnuPG public key

    Supporting Types

    GetGitopsGnupgRequest

    Publickeys List<Lbrlabs.PulumiPackage.Harness.Platform.Inputs.GetGitopsGnupgRequestPublickey>
    Public key details.
    Upsert bool
    Indicates if the GnuPG Key should be inserted if not present or updated if present.
    Publickeys []GetGitopsGnupgRequestPublickey
    Public key details.
    Upsert bool
    Indicates if the GnuPG Key should be inserted if not present or updated if present.
    publickeys List<GetGitopsGnupgRequestPublickey>
    Public key details.
    upsert Boolean
    Indicates if the GnuPG Key should be inserted if not present or updated if present.
    publickeys GetGitopsGnupgRequestPublickey[]
    Public key details.
    upsert boolean
    Indicates if the GnuPG Key should be inserted if not present or updated if present.
    publickeys Sequence[GetGitopsGnupgRequestPublickey]
    Public key details.
    upsert bool
    Indicates if the GnuPG Key should be inserted if not present or updated if present.
    publickeys List<Property Map>
    Public key details.
    upsert Boolean
    Indicates if the GnuPG Key should be inserted if not present or updated if present.

    GetGitopsGnupgRequestPublickey

    Fingerprint string
    KeyData string
    KeyId string
    Owner string
    SubType string
    Trust string
    Fingerprint string
    KeyData string
    KeyId string
    Owner string
    SubType string
    Trust string
    fingerprint String
    keyData String
    keyId String
    owner String
    subType String
    trust String
    fingerprint string
    keyData string
    keyId string
    owner string
    subType string
    trust string
    fingerprint String
    keyData String
    keyId String
    owner String
    subType String
    trust String

    Package Details

    Repository
    harness lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs