@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
56 lines • 1.78 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.getGitopsAgentOutput = exports.getGitopsAgent = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Datasource for fetching a Harness Gitops Agents.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getGitopsAgent({
* accountId: "account_id",
* identifier: "identifier",
* orgId: "org_id",
* projectId: "project_id",
* });
* ```
*/
function getGitopsAgent(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("harness:platform/getGitopsAgent:getGitopsAgent", {
"accountId": args.accountId,
"identifier": args.identifier,
"orgId": args.orgId,
"projectId": args.projectId,
}, opts);
}
exports.getGitopsAgent = getGitopsAgent;
/**
* Datasource for fetching a Harness Gitops Agents.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getGitopsAgent({
* accountId: "account_id",
* identifier: "identifier",
* orgId: "org_id",
* projectId: "project_id",
* });
* ```
*/
function getGitopsAgentOutput(args, opts) {
return pulumi.output(args).apply((a) => getGitopsAgent(a, opts));
}
exports.getGitopsAgentOutput = getGitopsAgentOutput;
//# sourceMappingURL=getGitopsAgent.js.map