@cuemby/equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
39 lines • 1.43 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.getMetalProjectSSHKeyOutput = exports.getMetalProjectSSHKey = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this datasource to retrieve attributes of a Project SSH Key API resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as equinix from "@pulumi/equinix";
*
* const myKey = equinix.GetMetalProjectSSHKey({
* search: "username@hostname",
* projectId: local.project_id,
* });
* ```
*/
function getMetalProjectSSHKey(args, opts) {
if (!opts) {
opts = {};
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
return pulumi.runtime.invoke("equinix:index/getMetalProjectSSHKey:GetMetalProjectSSHKey", {
"id": args.id,
"projectId": args.projectId,
"search": args.search,
}, opts);
}
exports.getMetalProjectSSHKey = getMetalProjectSSHKey;
function getMetalProjectSSHKeyOutput(args, opts) {
return pulumi.output(args).apply(a => getMetalProjectSSHKey(a, opts));
}
exports.getMetalProjectSSHKeyOutput = getMetalProjectSSHKeyOutput;
//# sourceMappingURL=getMetalProjectSSHKey.js.map