@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
44 lines • 2.17 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.getInstanceImageOutput = exports.getInstanceImage = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Gets information about an instance image.
*/
/** @deprecated scaleway.index/getinstanceimage.getInstanceImage has been deprecated in favor of scaleway.instance/getimage.getImage */
function getInstanceImage(args, opts) {
pulumi.log.warn("getInstanceImage is deprecated: scaleway.index/getinstanceimage.getInstanceImage has been deprecated in favor of scaleway.instance/getimage.getImage");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getInstanceImage:getInstanceImage", {
"architecture": args.architecture,
"imageId": args.imageId,
"latest": args.latest,
"name": args.name,
"projectId": args.projectId,
"zone": args.zone,
}, opts);
}
exports.getInstanceImage = getInstanceImage;
/**
* Gets information about an instance image.
*/
/** @deprecated scaleway.index/getinstanceimage.getInstanceImage has been deprecated in favor of scaleway.instance/getimage.getImage */
function getInstanceImageOutput(args, opts) {
pulumi.log.warn("getInstanceImage is deprecated: scaleway.index/getinstanceimage.getInstanceImage has been deprecated in favor of scaleway.instance/getimage.getImage");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getInstanceImage:getInstanceImage", {
"architecture": args.architecture,
"imageId": args.imageId,
"latest": args.latest,
"name": args.name,
"projectId": args.projectId,
"zone": args.zone,
}, opts);
}
exports.getInstanceImageOutput = getInstanceImageOutput;
//# sourceMappingURL=getInstanceImage.js.map