Equinix v0.27.1 published on Wednesday, Oct 29, 2025 by Equinix
equinix.fabric.getStreamAttachment
Start a Neo task
Explain and create an equinix.fabric.getStreamAttachment resource
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
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@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>",
});
import pulumi
import pulumi_equinix as equinix
by_ids = equinix.fabric.get_stream_attachment(asset="<asset_group>",
asset_id="<id_of_the_asset_being_attached>",
stream_id="<id_of_the_stream_asset_is_being_attached_to>")
package main
import (
"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fabric.LookupStreamAttachment(ctx, &fabric.LookupStreamAttachmentArgs{
Asset: "<asset_group>",
AssetId: "<id_of_the_asset_being_attached>",
StreamId: "<id_of_the_stream_asset_is_being_attached_to>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() =>
{
var byIds = Equinix.Fabric.GetStreamAttachment.Invoke(new()
{
Asset = "<asset_group>",
AssetId = "<id_of_the_asset_being_attached>",
StreamId = "<id_of_the_stream_asset_is_being_attached_to>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.fabric.FabricFunctions;
import com.pulumi.equinix.fabric.inputs.GetStreamAttachmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var byIds = FabricFunctions.getStreamAttachment(GetStreamAttachmentArgs.builder()
.asset("<asset_group>")
.assetId("<id_of_the_asset_being_attached>")
.streamId("<id_of_the_stream_asset_is_being_attached_to>")
.build());
}
}
variables:
byIds:
fn::invoke:
function: equinix:fabric:getStreamAttachment
arguments:
asset: <asset_group>
assetId: <id_of_the_asset_being_attached>
streamId: <id_of_the_stream_asset_is_being_attached_to>
Using getStreamAttachment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStreamAttachment(args: GetStreamAttachmentArgs, opts?: InvokeOptions): Promise<GetStreamAttachmentResult>
function getStreamAttachmentOutput(args: GetStreamAttachmentOutputArgs, opts?: InvokeOptions): Output<GetStreamAttachmentResult>def get_stream_attachment(asset: Optional[str] = None,
asset_id: Optional[str] = None,
stream_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStreamAttachmentResult
def get_stream_attachment_output(asset: Optional[pulumi.Input[str]] = None,
asset_id: Optional[pulumi.Input[str]] = None,
stream_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStreamAttachmentResult]func LookupStreamAttachment(ctx *Context, args *LookupStreamAttachmentArgs, opts ...InvokeOption) (*LookupStreamAttachmentResult, error)
func LookupStreamAttachmentOutput(ctx *Context, args *LookupStreamAttachmentOutputArgs, opts ...InvokeOption) LookupStreamAttachmentResultOutput> Note: This function is named LookupStreamAttachment in the Go SDK.
public static class GetStreamAttachment
{
public static Task<GetStreamAttachmentResult> InvokeAsync(GetStreamAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetStreamAttachmentResult> Invoke(GetStreamAttachmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStreamAttachmentResult> getStreamAttachment(GetStreamAttachmentArgs args, InvokeOptions options)
public static Output<GetStreamAttachmentResult> getStreamAttachment(GetStreamAttachmentArgs args, InvokeOptions options)
fn::invoke:
function: equinix:fabric/getStreamAttachment:getStreamAttachment
arguments:
# arguments dictionaryThe following arguments are supported:
getStreamAttachment Result
The following output properties are available:
- Asset string
- Equinix defined asset category. Matches the product name the asset is a part of
- Asset
Id string - Equinix defined UUID of the asset being attached to the stream
- Attachment
Status string - Value representing status for the stream attachment
- Href string
- Equinix auto generated URI to the stream attachment in Equinix Portal
- Id string
- The unique identifier of the resource
- Metrics
Enabled bool - Boolean value indicating enablement of metrics for this asset stream attachment
- Stream
Id string - The uuid of the stream this data source should retrieve
- Type string
- Equinix defined type for the asset stream attachment
- Uuid string
- Equinix-assigned unique id for the stream attachment
- Asset string
- Equinix defined asset category. Matches the product name the asset is a part of
- Asset
Id string - Equinix defined UUID of the asset being attached to the stream
- Attachment
Status string - Value representing status for the stream attachment
- Href string
- Equinix auto generated URI to the stream attachment in Equinix Portal
- Id string
- The unique identifier of the resource
- Metrics
Enabled bool - Boolean value indicating enablement of metrics for this asset stream attachment
- Stream
Id string - The uuid of the stream this data source should retrieve
- Type string
- Equinix defined type for the asset stream attachment
- Uuid string
- Equinix-assigned unique id for the stream attachment
- asset String
- Equinix defined asset category. Matches the product name the asset is a part of
- asset
Id String - Equinix defined UUID of the asset being attached to the stream
- attachment
Status String - Value representing status for the stream attachment
- href String
- Equinix auto generated URI to the stream attachment in Equinix Portal
- id String
- The unique identifier of the resource
- metrics
Enabled Boolean - Boolean value indicating enablement of metrics for this asset stream attachment
- stream
Id String - The uuid of the stream this data source should retrieve
- type String
- Equinix defined type for the asset stream attachment
- uuid String
- Equinix-assigned unique id for the stream attachment
- asset string
- Equinix defined asset category. Matches the product name the asset is a part of
- asset
Id string - Equinix defined UUID of the asset being attached to the stream
- attachment
Status string - Value representing status for the stream attachment
- href string
- Equinix auto generated URI to the stream attachment in Equinix Portal
- id string
- The unique identifier of the resource
- metrics
Enabled boolean - Boolean value indicating enablement of metrics for this asset stream attachment
- stream
Id string - The uuid of the stream this data source should retrieve
- type string
- Equinix defined type for the asset stream attachment
- uuid string
- Equinix-assigned unique id for the stream attachment
- asset str
- Equinix defined asset category. Matches the product name the asset is a part of
- asset_
id str - Equinix defined UUID of the asset being attached to the stream
- attachment_
status str - Value representing status for the stream attachment
- href str
- Equinix auto generated URI to the stream attachment in Equinix Portal
- id str
- The unique identifier of the resource
- metrics_
enabled bool - Boolean value indicating enablement of metrics for this asset stream attachment
- stream_
id str - The uuid of the stream this data source should retrieve
- type str
- Equinix defined type for the asset stream attachment
- uuid str
- Equinix-assigned unique id for the stream attachment
- asset String
- Equinix defined asset category. Matches the product name the asset is a part of
- asset
Id String - Equinix defined UUID of the asset being attached to the stream
- attachment
Status String - Value representing status for the stream attachment
- href String
- Equinix auto generated URI to the stream attachment in Equinix Portal
- id String
- The unique identifier of the resource
- metrics
Enabled Boolean - Boolean value indicating enablement of metrics for this asset stream attachment
- stream
Id String - The uuid of the stream this data source should retrieve
- type String
- Equinix defined type for the asset stream attachment
- uuid String
- Equinix-assigned unique id for the stream attachment
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinixTerraform Provider.
