@cuemby/equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
50 lines • 1.81 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.getECXL2SellerprofilesOutput = exports.getECXL2Sellerprofiles = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to get details of available Equinix Fabric layer 2 seller profiles. It is
* possible to apply filtering criteria for returned list of profiles.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as equinix from "@pulumi/equinix";
*
* const aws = pulumi.output(equinix.GetECXL2Sellerprofiles({
* metroCodes: [
* "SV",
* "DC",
* ],
* organizationGlobalName: "AWS",
* speedBands: [
* "1GB",
* "500MB",
* ],
* }));
* ```
*/
function getECXL2Sellerprofiles(args, opts) {
args = args || {};
if (!opts) {
opts = {};
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
return pulumi.runtime.invoke("equinix:index/getECXL2Sellerprofiles:GetECXL2Sellerprofiles", {
"metroCodes": args.metroCodes,
"nameRegex": args.nameRegex,
"organizationGlobalName": args.organizationGlobalName,
"organizationName": args.organizationName,
"speedBands": args.speedBands,
}, opts);
}
exports.getECXL2Sellerprofiles = getECXL2Sellerprofiles;
function getECXL2SellerprofilesOutput(args, opts) {
return pulumi.output(args).apply(a => getECXL2Sellerprofiles(a, opts));
}
exports.getECXL2SellerprofilesOutput = getECXL2SellerprofilesOutput;
//# sourceMappingURL=getECXL2Sellerprofiles.js.map