UNPKG

@equinix-labs/pulumi-equinix

Version:

A Pulumi package for creating and managing equinix cloud resources.

66 lines 2.72 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.getStreamAttachmentOutput = exports.getStreamAttachment = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Fabric V4 API compatible data resource that allow user to fetch Equinix Fabric Stream Asset Attachment by IDs * * Additional Documentation: * * Getting Started: https://docs.equinix.com/en-us/Content/KnowledgeCenter/Fabric/GettingStarted/Integrating-with-Fabric-V4-APIs/IntegrateWithSink.htm * * API: https://developer.equinix.com/catalog/fabricv4#tag/Streams * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as equinix from "@equinix-labs/pulumi-equinix"; * * const byIds = equinix.fabric.getStreamAttachment({ * asset: "<asset_group>", * assetId: "<id_of_the_asset_being_attached>", * streamId: "<id_of_the_stream_asset_is_being_attached_to>", * }); * ``` */ function getStreamAttachment(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("equinix:fabric/getStreamAttachment:getStreamAttachment", { "asset": args.asset, "assetId": args.assetId, "streamId": args.streamId, }, opts); } exports.getStreamAttachment = getStreamAttachment; /** * Fabric V4 API compatible data resource that allow user to fetch Equinix Fabric Stream Asset Attachment by IDs * * Additional Documentation: * * Getting Started: https://docs.equinix.com/en-us/Content/KnowledgeCenter/Fabric/GettingStarted/Integrating-with-Fabric-V4-APIs/IntegrateWithSink.htm * * API: https://developer.equinix.com/catalog/fabricv4#tag/Streams * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as equinix from "@equinix-labs/pulumi-equinix"; * * const byIds = equinix.fabric.getStreamAttachment({ * asset: "<asset_group>", * assetId: "<id_of_the_asset_being_attached>", * streamId: "<id_of_the_stream_asset_is_being_attached_to>", * }); * ``` */ function getStreamAttachmentOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("equinix:fabric/getStreamAttachment:getStreamAttachment", { "asset": args.asset, "assetId": args.assetId, "streamId": args.streamId, }, opts); } exports.getStreamAttachmentOutput = getStreamAttachmentOutput; //# sourceMappingURL=getStreamAttachment.js.map