@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
38 lines • 1.93 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.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.
*/
/** @deprecated scaleway.index/getiamsshkey.getIamSshKey has been deprecated in favor of scaleway.iam/getsshkey.getSshKey */
function getIamSshKey(args, opts) {
pulumi.log.warn("getIamSshKey is deprecated: scaleway.index/getiamsshkey.getIamSshKey has been deprecated in favor of scaleway.iam/getsshkey.getSshKey");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getIamSshKey:getIamSshKey", {
"name": args.name,
"projectId": args.projectId,
"sshKeyId": args.sshKeyId,
}, opts);
}
exports.getIamSshKey = getIamSshKey;
/**
* Use this data source to get SSH key information based on its ID or name.
*/
/** @deprecated scaleway.index/getiamsshkey.getIamSshKey has been deprecated in favor of scaleway.iam/getsshkey.getSshKey */
function getIamSshKeyOutput(args, opts) {
pulumi.log.warn("getIamSshKey is deprecated: scaleway.index/getiamsshkey.getIamSshKey has been deprecated in favor of scaleway.iam/getsshkey.getSshKey");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getIamSshKey:getIamSshKey", {
"name": args.name,
"projectId": args.projectId,
"sshKeyId": args.sshKeyId,
}, opts);
}
exports.getIamSshKeyOutput = getIamSshKeyOutput;
//# sourceMappingURL=getIamSshKey.js.map