UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

49 lines 1.6 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.getIamSshKeyOutput = exports.getIamSshKey = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get SSH key information based on its ID or name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getIamSshKey({ * sshKeyId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getIamSshKey(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getIamSshKey:getIamSshKey", { "name": args.name, "sshKeyId": args.sshKeyId, }, opts); } exports.getIamSshKey = getIamSshKey; /** * Use this data source to get SSH key information based on its ID or name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myKey = scaleway.getIamSshKey({ * sshKeyId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ function getIamSshKeyOutput(args, opts) { return pulumi.output(args).apply((a) => getIamSshKey(a, opts)); } exports.getIamSshKeyOutput = getIamSshKeyOutput; //# sourceMappingURL=getIamSshKey.js.map