@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
34 lines • 1.32 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.getSshKeyOutput = exports.getSshKey = 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.
*/
function getSshKey(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:iam/getSshKey:getSshKey", {
"name": args.name,
"projectId": args.projectId,
"sshKeyId": args.sshKeyId,
}, opts);
}
exports.getSshKey = getSshKey;
/**
* Use this data source to get SSH key information based on its ID or name.
*/
function getSshKeyOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:iam/getSshKey:getSshKey", {
"name": args.name,
"projectId": args.projectId,
"sshKeyId": args.sshKeyId,
}, opts);
}
exports.getSshKeyOutput = getSshKeyOutput;
//# sourceMappingURL=getSshKey.js.map