@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
46 lines • 2.48 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.getLbIpsOutput = exports.getLbIps = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Gets information about multiple Load Balancer IP addresses.
*
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).
*/
/** @deprecated scaleway.index/getlbips.getLbIps has been deprecated in favor of scaleway.loadbalancers/getips.getIps */
function getLbIps(args, opts) {
pulumi.log.warn("getLbIps is deprecated: scaleway.index/getlbips.getLbIps has been deprecated in favor of scaleway.loadbalancers/getips.getIps");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getLbIps:getLbIps", {
"ipCidrRange": args.ipCidrRange,
"ipType": args.ipType,
"projectId": args.projectId,
"tags": args.tags,
"zone": args.zone,
}, opts);
}
exports.getLbIps = getLbIps;
/**
* Gets information about multiple Load Balancer IP addresses.
*
* For more information, see the [main documentation](https://www.scaleway.com/en/docs/load-balancer/how-to/create-manage-flex-ips/) or [API documentation](https://www.scaleway.com/en/developers/api/load-balancer/zoned-api/#path-ip-addresses-list-ip-addresses).
*/
/** @deprecated scaleway.index/getlbips.getLbIps has been deprecated in favor of scaleway.loadbalancers/getips.getIps */
function getLbIpsOutput(args, opts) {
pulumi.log.warn("getLbIps is deprecated: scaleway.index/getlbips.getLbIps has been deprecated in favor of scaleway.loadbalancers/getips.getIps");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getLbIps:getLbIps", {
"ipCidrRange": args.ipCidrRange,
"ipType": args.ipType,
"projectId": args.projectId,
"tags": args.tags,
"zone": args.zone,
}, opts);
}
exports.getLbIpsOutput = getLbIpsOutput;
//# sourceMappingURL=getLbIps.js.map