UNPKG

@cuemby/equinix

Version:

A Pulumi package for creating and managing equinix cloud resources.

41 lines 1.56 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.getECXL2SellerprofileOutput = exports.getECXL2Sellerprofile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get details of Equinix Fabric layer 2 seller profile with a given name * and / or organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as equinix from "@pulumi/equinix"; * * const aws = equinix.GetECXL2Sellerprofile({ * name: "AWS Direct Connect", * }); * export const id = aws.then(aws => aws.id); * ``` */ function getECXL2Sellerprofile(args, opts) { args = args || {}; if (!opts) { opts = {}; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); return pulumi.runtime.invoke("equinix:index/getECXL2Sellerprofile:GetECXL2Sellerprofile", { "name": args.name, "organizationGlobalName": args.organizationGlobalName, "organizationName": args.organizationName, }, opts); } exports.getECXL2Sellerprofile = getECXL2Sellerprofile; function getECXL2SellerprofileOutput(args, opts) { return pulumi.output(args).apply(a => getECXL2Sellerprofile(a, opts)); } exports.getECXL2SellerprofileOutput = getECXL2SellerprofileOutput; //# sourceMappingURL=getECXL2Sellerprofile.js.map