UNPKG

@lbrlabs/pulumi-harness

Version:

A Pulumi package for creating and managing Harness resources.

56 lines 1.84 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getGitopsGnupgOutput = exports.getGitopsGnupg = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * 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", * }); * ``` */ function getGitopsGnupg(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("harness:platform/getGitopsGnupg:getGitopsGnupg", { "accountId": args.accountId, "agentId": args.agentId, "identifier": args.identifier, "orgId": args.orgId, "projectId": args.projectId, "requests": args.requests, }, opts); } exports.getGitopsGnupg = getGitopsGnupg; /** * 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", * }); * ``` */ function getGitopsGnupgOutput(args, opts) { return pulumi.output(args).apply((a) => getGitopsGnupg(a, opts)); } exports.getGitopsGnupgOutput = getGitopsGnupgOutput; //# sourceMappingURL=getGitopsGnupg.js.map