UNPKG

@cuemby/equinix

Version:

A Pulumi package for creating and managing equinix cloud resources.

47 lines 1.99 kB
"use strict"; // *** 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.getNetworkDevicePlatformOutput = exports.getNetworkDevicePlatform = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get Equinix Network Edge device platform configuration details * for a given device type. For further details, check supported * [Network Edge Vendors and Devices](https://docs.equinix.com/en-us/Content/Interconnection/NE/user-guide/NE-vendors-devices.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as equinix from "@pulumi/equinix"; * * // Retrieve platform configuration of a large flavor for a CSR100V device type * // Platform has to support IPBASE software package * const csrLarge = pulumi.output(equinix.GetNetworkDevicePlatform({ * deviceType: "CSR1000V", * flavor: "large", * packages: ["IPBASE"], * })); * ``` */ function getNetworkDevicePlatform(args, opts) { if (!opts) { opts = {}; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); return pulumi.runtime.invoke("equinix:index/getNetworkDevicePlatform:GetNetworkDevicePlatform", { "coreCount": args.coreCount, "deviceType": args.deviceType, "flavor": args.flavor, "licenseOptions": args.licenseOptions, "managementTypes": args.managementTypes, "packages": args.packages, }, opts); } exports.getNetworkDevicePlatform = getNetworkDevicePlatform; function getNetworkDevicePlatformOutput(args, opts) { return pulumi.output(args).apply(a => getNetworkDevicePlatform(a, opts)); } exports.getNetworkDevicePlatformOutput = getNetworkDevicePlatformOutput; //# sourceMappingURL=getNetworkDevicePlatform.js.map