@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
34 lines • 1.25 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 a Flexible IP.
*/
function getIp(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:elasticmetal/getIp:getIp", {
"flexibleIpId": args.flexibleIpId,
"ipAddress": args.ipAddress,
"projectId": args.projectId,
}, opts);
}
exports.getIp = getIp;
/**
* Gets information about a Flexible IP.
*/
function getIpOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:elasticmetal/getIp:getIp", {
"flexibleIpId": args.flexibleIpId,
"ipAddress": args.ipAddress,
"projectId": args.projectId,
}, opts);
}
exports.getIpOutput = getIpOutput;
//# sourceMappingURL=getIp.js.map