UNPKG

@lbrlabs/pulumi-harness

Version:

A Pulumi package for creating and managing Harness resources.

59 lines 2.02 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.getGitopsAgentDeployYamlOutput = exports.getGitopsAgentDeployYaml = 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.getGitopsAgentDeployYaml({ * accountId: "account_id", * identifier: "identifier", * namespace: "namespace", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ function getGitopsAgentDeployYaml(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("harness:platform/getGitopsAgentDeployYaml:getGitopsAgentDeployYaml", { "accountId": args.accountId, "identifier": args.identifier, "namespace": args.namespace, "orgId": args.orgId, "projectId": args.projectId, }, opts); } exports.getGitopsAgentDeployYaml = getGitopsAgentDeployYaml; /** * 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.getGitopsAgentDeployYaml({ * accountId: "account_id", * identifier: "identifier", * namespace: "namespace", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ function getGitopsAgentDeployYamlOutput(args, opts) { return pulumi.output(args).apply((a) => getGitopsAgentDeployYaml(a, opts)); } exports.getGitopsAgentDeployYamlOutput = getGitopsAgentDeployYamlOutput; //# sourceMappingURL=getGitopsAgentDeployYaml.js.map