@equinix-labs/pulumi-equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
42 lines • 2.1 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.getReservedIpBlockOutput = exports.getReservedIpBlock = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Use this data source to find IP address blocks in Equinix Metal. You can use IP address or a block ID for lookup.
*
* > For backward compatibility, this data source can be also used for precreated (management) IP blocks.
*
* See the [Virtual Routing and Forwarding documentation](https://deploy.equinix.com/developers/docs/metal/layer2-networking/vrf/) for product details and API reference material.
*/
function getReservedIpBlock(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("equinix:metal/getReservedIpBlock:getReservedIpBlock", {
"id": args.id,
"ipAddress": args.ipAddress,
"projectId": args.projectId,
}, opts);
}
exports.getReservedIpBlock = getReservedIpBlock;
/**
* Use this data source to find IP address blocks in Equinix Metal. You can use IP address or a block ID for lookup.
*
* > For backward compatibility, this data source can be also used for precreated (management) IP blocks.
*
* See the [Virtual Routing and Forwarding documentation](https://deploy.equinix.com/developers/docs/metal/layer2-networking/vrf/) for product details and API reference material.
*/
function getReservedIpBlockOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("equinix:metal/getReservedIpBlock:getReservedIpBlock", {
"id": args.id,
"ipAddress": args.ipAddress,
"projectId": args.projectId,
}, opts);
}
exports.getReservedIpBlockOutput = getReservedIpBlockOutput;
//# sourceMappingURL=getReservedIpBlock.js.map