@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
38 lines • 1.92 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.getFlexibleIpOutput = exports.getFlexibleIp = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Gets information about a Flexible IP.
*/
/** @deprecated scaleway.index/getflexibleip.getFlexibleIp has been deprecated in favor of scaleway.elasticmetal/getip.getIp */
function getFlexibleIp(args, opts) {
pulumi.log.warn("getFlexibleIp is deprecated: scaleway.index/getflexibleip.getFlexibleIp has been deprecated in favor of scaleway.elasticmetal/getip.getIp");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getFlexibleIp:getFlexibleIp", {
"flexibleIpId": args.flexibleIpId,
"ipAddress": args.ipAddress,
"projectId": args.projectId,
}, opts);
}
exports.getFlexibleIp = getFlexibleIp;
/**
* Gets information about a Flexible IP.
*/
/** @deprecated scaleway.index/getflexibleip.getFlexibleIp has been deprecated in favor of scaleway.elasticmetal/getip.getIp */
function getFlexibleIpOutput(args, opts) {
pulumi.log.warn("getFlexibleIp is deprecated: scaleway.index/getflexibleip.getFlexibleIp has been deprecated in favor of scaleway.elasticmetal/getip.getIp");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getFlexibleIp:getFlexibleIp", {
"flexibleIpId": args.flexibleIpId,
"ipAddress": args.ipAddress,
"projectId": args.projectId,
}, opts);
}
exports.getFlexibleIpOutput = getFlexibleIpOutput;
//# sourceMappingURL=getFlexibleIp.js.map