@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
30 lines • 1.26 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCurrentAccountOutput = exports.getCurrentAccount = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Data source for retrieving information about the current Harness account
*/
function getCurrentAccount(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("harness:platform/getCurrentAccount:getCurrentAccount", {
"id": args.id,
}, opts);
}
exports.getCurrentAccount = getCurrentAccount;
/**
* Data source for retrieving information about the current Harness account
*/
function getCurrentAccountOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("harness:platform/getCurrentAccount:getCurrentAccount", {
"id": args.id,
}, opts);
}
exports.getCurrentAccountOutput = getCurrentAccountOutput;
//# sourceMappingURL=getCurrentAccount.js.map