@cuemby/equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
38 lines • 1.35 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.getMetalVRFOutput = exports.getMetalVRF = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to retrieve a VRF resource.
*
* > VRF features are not generally available. The interfaces related to VRF resources may change ahead of general availability.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as equinix from "@pulumi/equinix";
*
* const exampleVrf = pulumi.output(equinix.GetMetalVRF({
* vrfId: "48630899-9ff2-4ce6-a93f-50ff4ebcdf6e",
* }));
* ```
*/
function getMetalVRF(args, opts) {
if (!opts) {
opts = {};
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
return pulumi.runtime.invoke("equinix:index/getMetalVRF:GetMetalVRF", {
"vrfId": args.vrfId,
}, opts);
}
exports.getMetalVRF = getMetalVRF;
function getMetalVRFOutput(args, opts) {
return pulumi.output(args).apply(a => getMetalVRF(a, opts));
}
exports.getMetalVRFOutput = getMetalVRFOutput;
//# sourceMappingURL=getMetalVRF.js.map