@equinix-labs/pulumi-equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
64 lines • 2.64 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.getDeviceSoftwareOutput = exports.getDeviceSoftware = 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 "@equinix-labs/pulumi-equinix";
*
* const csrLatest1609 = equinix.networkedge.getDeviceSoftware({
* deviceType: "CSR1000V",
* mostRecent: true,
* packages: ["IPBASE"],
* versionRegex: "^16.09.+",
* });
* ```
*/
function getDeviceSoftware(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("equinix:networkedge/getDeviceSoftware:getDeviceSoftware", {
"deviceType": args.deviceType,
"mostRecent": args.mostRecent,
"packages": args.packages,
"stable": args.stable,
"versionRegex": args.versionRegex,
}, opts);
}
exports.getDeviceSoftware = getDeviceSoftware;
/**
* 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 "@equinix-labs/pulumi-equinix";
*
* const csrLatest1609 = equinix.networkedge.getDeviceSoftware({
* deviceType: "CSR1000V",
* mostRecent: true,
* packages: ["IPBASE"],
* versionRegex: "^16.09.+",
* });
* ```
*/
function getDeviceSoftwareOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("equinix:networkedge/getDeviceSoftware:getDeviceSoftware", {
"deviceType": args.deviceType,
"mostRecent": args.mostRecent,
"packages": args.packages,
"stable": args.stable,
"versionRegex": args.versionRegex,
}, opts);
}
exports.getDeviceSoftwareOutput = getDeviceSoftwareOutput;
//# sourceMappingURL=getDeviceSoftware.js.map