@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
32 lines • 1.12 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.getIpOutput = exports.getIp = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Gets information about an instance IP.
*/
function getIp(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:instance/getIp:getIp", {
"address": args.address,
"id": args.id,
}, opts);
}
exports.getIp = getIp;
/**
* Gets information about an instance IP.
*/
function getIpOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:instance/getIp:getIp", {
"address": args.address,
"id": args.id,
}, opts);
}
exports.getIpOutput = getIpOutput;
//# sourceMappingURL=getIp.js.map