UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

34 lines 1.32 kB
"use strict"; // *** 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.getSshCredentialOutput = exports.getSshCredential = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Data source for retrieving an SSH credential. */ function getSshCredential(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("harness:index/getSshCredential:getSshCredential", { "id": args.id, "name": args.name, "usageScopes": args.usageScopes, }, opts); } exports.getSshCredential = getSshCredential; /** * Data source for retrieving an SSH credential. */ function getSshCredentialOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("harness:index/getSshCredential:getSshCredential", { "id": args.id, "name": args.name, "usageScopes": args.usageScopes, }, opts); } exports.getSshCredentialOutput = getSshCredentialOutput; //# sourceMappingURL=getSshCredential.js.map