@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
129 lines (128 loc) • 3.4 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Data source for retrieving a GPG public key in the server's configuration.
*
* ## Example Usage
*
* ```typescript
* 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",
* });
* ```
*/
export declare function getGitopsGnupg(args: GetGitopsGnupgArgs, opts?: pulumi.InvokeOptions): Promise<GetGitopsGnupgResult>;
/**
* A collection of arguments for invoking getGitopsGnupg.
*/
export interface GetGitopsGnupgArgs {
/**
* Account Identifier for the GnuPG Key.
*/
accountId: string;
/**
* Agent identifier for the GnuPG Key.
*/
agentId: string;
/**
* Identifier for the GnuPG Key.
*/
identifier?: string;
/**
* Organization Identifier for the GnuPG Key.
*/
orgId?: string;
/**
* Project Identifier for the GnuPG Key.
*/
projectId?: string;
/**
* GnuPGPublicKey is a representation of a GnuPG public key
*/
requests?: inputs.platform.GetGitopsGnupgRequest[];
}
/**
* A collection of values returned by getGitopsGnupg.
*/
export interface GetGitopsGnupgResult {
/**
* Account Identifier for the GnuPG Key.
*/
readonly accountId: string;
/**
* Agent identifier for the GnuPG Key.
*/
readonly agentId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Identifier for the GnuPG Key.
*/
readonly identifier?: string;
/**
* Organization Identifier for the GnuPG Key.
*/
readonly orgId?: string;
/**
* Project Identifier for the GnuPG Key.
*/
readonly projectId?: string;
/**
* GnuPGPublicKey is a representation of a GnuPG public key
*/
readonly requests?: outputs.platform.GetGitopsGnupgRequest[];
}
/**
* Data source for retrieving a GPG public key in the server's configuration.
*
* ## Example Usage
*
* ```typescript
* 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",
* });
* ```
*/
export declare function getGitopsGnupgOutput(args: GetGitopsGnupgOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGitopsGnupgResult>;
/**
* A collection of arguments for invoking getGitopsGnupg.
*/
export interface GetGitopsGnupgOutputArgs {
/**
* Account Identifier for the GnuPG Key.
*/
accountId: pulumi.Input<string>;
/**
* Agent identifier for the GnuPG Key.
*/
agentId: pulumi.Input<string>;
/**
* Identifier for the GnuPG Key.
*/
identifier?: pulumi.Input<string>;
/**
* Organization Identifier for the GnuPG Key.
*/
orgId?: pulumi.Input<string>;
/**
* Project Identifier for the GnuPG Key.
*/
projectId?: pulumi.Input<string>;
/**
* GnuPGPublicKey is a representation of a GnuPG public key
*/
requests?: pulumi.Input<pulumi.Input<inputs.platform.GetGitopsGnupgRequestArgs>[]>;
}