UNPKG

@cuemby/equinix

Version:

A Pulumi package for creating and managing equinix cloud resources.

47 lines 1.95 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.getNetworkDeviceSoftwareOutput = exports.getNetworkDeviceSoftware = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get Equinix Network Edge device software 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 details for CSR1000V device software with latest path of 16.09 version * // that supports IPBASE package * const csrLatest1609 = pulumi.output(equinix.GetNetworkDeviceSoftware({ * deviceType: "CSR1000V", * mostRecent: true, * packages: ["IPBASE"], * versionRegex: "^16.09.+", * })); * ``` */ function getNetworkDeviceSoftware(args, opts) { if (!opts) { opts = {}; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); return pulumi.runtime.invoke("equinix:index/getNetworkDeviceSoftware:GetNetworkDeviceSoftware", { "deviceType": args.deviceType, "mostRecent": args.mostRecent, "packages": args.packages, "stable": args.stable, "versionRegex": args.versionRegex, }, opts); } exports.getNetworkDeviceSoftware = getNetworkDeviceSoftware; function getNetworkDeviceSoftwareOutput(args, opts) { return pulumi.output(args).apply(a => getNetworkDeviceSoftware(a, opts)); } exports.getNetworkDeviceSoftwareOutput = getNetworkDeviceSoftwareOutput; //# sourceMappingURL=getNetworkDeviceSoftware.js.map