@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
61 lines • 1.96 kB
JavaScript
;
// *** 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.getGitopsRepoCredOutput = exports.getGitopsRepoCred = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Data source for retrieving a GitOps RepoCred.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const test = harness.platform.getGitopsRepoCred({
* accountId: "account_id",
* agentId: "agent_id",
* identifier: "identifier",
* orgId: "org_id",
* projectId: "project_id",
* });
* ```
*/
function getGitopsRepoCred(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("harness:platform/getGitopsRepoCred:getGitopsRepoCred", {
"accountId": args.accountId,
"agentId": args.agentId,
"creds": args.creds,
"identifier": args.identifier,
"orgId": args.orgId,
"projectId": args.projectId,
"upsert": args.upsert,
}, opts);
}
exports.getGitopsRepoCred = getGitopsRepoCred;
/**
* Data source for retrieving a GitOps RepoCred.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const test = harness.platform.getGitopsRepoCred({
* accountId: "account_id",
* agentId: "agent_id",
* identifier: "identifier",
* orgId: "org_id",
* projectId: "project_id",
* });
* ```
*/
function getGitopsRepoCredOutput(args, opts) {
return pulumi.output(args).apply((a) => getGitopsRepoCred(a, opts));
}
exports.getGitopsRepoCredOutput = getGitopsRepoCredOutput;
//# sourceMappingURL=getGitopsRepoCred.js.map