@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
36 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.getServerOutput = exports.getServer = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Gets information about an instance server.
*/
function getServer(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:instance/getServer:getServer", {
"name": args.name,
"projectId": args.projectId,
"serverId": args.serverId,
"zone": args.zone,
}, opts);
}
exports.getServer = getServer;
/**
* Gets information about an instance server.
*/
function getServerOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:instance/getServer:getServer", {
"name": args.name,
"projectId": args.projectId,
"serverId": args.serverId,
"zone": args.zone,
}, opts);
}
exports.getServerOutput = getServerOutput;
//# sourceMappingURL=getServer.js.map