1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getStreamAudioTrack
Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi

cloudflare.getStreamAudioTrack

Start a Neo task
Explain and create a cloudflare.getStreamAudioTrack resource
cloudflare logo
Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleStreamAudioTrack = cloudflare.getStreamAudioTrack({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        identifier: "ea95132c15732412d22c1476fa83f27a",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_stream_audio_track = cloudflare.get_stream_audio_track(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        identifier="ea95132c15732412d22c1476fa83f27a")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.LookupStreamAudioTrack(ctx, &cloudflare.LookupStreamAudioTrackArgs{
    			AccountId:  "023e105f4ecef8ad9ca31a8372d0c353",
    			Identifier: "ea95132c15732412d22c1476fa83f27a",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleStreamAudioTrack = Cloudflare.GetStreamAudioTrack.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            Identifier = "ea95132c15732412d22c1476fa83f27a",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetStreamAudioTrackArgs;
    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 exampleStreamAudioTrack = CloudflareFunctions.getStreamAudioTrack(GetStreamAudioTrackArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .identifier("ea95132c15732412d22c1476fa83f27a")
                .build());
    
        }
    }
    
    variables:
      exampleStreamAudioTrack:
        fn::invoke:
          function: cloudflare:getStreamAudioTrack
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            identifier: ea95132c15732412d22c1476fa83f27a
    

    Using getStreamAudioTrack

    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 getStreamAudioTrack(args: GetStreamAudioTrackArgs, opts?: InvokeOptions): Promise<GetStreamAudioTrackResult>
    function getStreamAudioTrackOutput(args: GetStreamAudioTrackOutputArgs, opts?: InvokeOptions): Output<GetStreamAudioTrackResult>
    def get_stream_audio_track(account_id: Optional[str] = None,
                               identifier: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetStreamAudioTrackResult
    def get_stream_audio_track_output(account_id: Optional[pulumi.Input[str]] = None,
                               identifier: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetStreamAudioTrackResult]
    func LookupStreamAudioTrack(ctx *Context, args *LookupStreamAudioTrackArgs, opts ...InvokeOption) (*LookupStreamAudioTrackResult, error)
    func LookupStreamAudioTrackOutput(ctx *Context, args *LookupStreamAudioTrackOutputArgs, opts ...InvokeOption) LookupStreamAudioTrackResultOutput

    > Note: This function is named LookupStreamAudioTrack in the Go SDK.

    public static class GetStreamAudioTrack 
    {
        public static Task<GetStreamAudioTrackResult> InvokeAsync(GetStreamAudioTrackArgs args, InvokeOptions? opts = null)
        public static Output<GetStreamAudioTrackResult> Invoke(GetStreamAudioTrackInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStreamAudioTrackResult> getStreamAudioTrack(GetStreamAudioTrackArgs args, InvokeOptions options)
    public static Output<GetStreamAudioTrackResult> getStreamAudioTrack(GetStreamAudioTrackArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getStreamAudioTrack:getStreamAudioTrack
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    The account identifier tag.
    Identifier string
    A Cloudflare-generated unique identifier for a media item.
    AccountId string
    The account identifier tag.
    Identifier string
    A Cloudflare-generated unique identifier for a media item.
    accountId String
    The account identifier tag.
    identifier String
    A Cloudflare-generated unique identifier for a media item.
    accountId string
    The account identifier tag.
    identifier string
    A Cloudflare-generated unique identifier for a media item.
    account_id str
    The account identifier tag.
    identifier str
    A Cloudflare-generated unique identifier for a media item.
    accountId String
    The account identifier tag.
    identifier String
    A Cloudflare-generated unique identifier for a media item.

    getStreamAudioTrack Result

    The following output properties are available:

    AccountId string
    The account identifier tag.
    Default bool
    Denotes whether the audio track will be played by default in a player.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    A Cloudflare-generated unique identifier for a media item.
    Label string
    A string to uniquely identify the track amongst other audio track labels for the specified video.
    Status string
    Specifies the processing status of the video. Available values: "queued", "ready", "error".
    Uid string
    A Cloudflare-generated unique identifier for a media item.
    AccountId string
    The account identifier tag.
    Default bool
    Denotes whether the audio track will be played by default in a player.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    A Cloudflare-generated unique identifier for a media item.
    Label string
    A string to uniquely identify the track amongst other audio track labels for the specified video.
    Status string
    Specifies the processing status of the video. Available values: "queued", "ready", "error".
    Uid string
    A Cloudflare-generated unique identifier for a media item.
    accountId String
    The account identifier tag.
    default_ Boolean
    Denotes whether the audio track will be played by default in a player.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    A Cloudflare-generated unique identifier for a media item.
    label String
    A string to uniquely identify the track amongst other audio track labels for the specified video.
    status String
    Specifies the processing status of the video. Available values: "queued", "ready", "error".
    uid String
    A Cloudflare-generated unique identifier for a media item.
    accountId string
    The account identifier tag.
    default boolean
    Denotes whether the audio track will be played by default in a player.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    A Cloudflare-generated unique identifier for a media item.
    label string
    A string to uniquely identify the track amongst other audio track labels for the specified video.
    status string
    Specifies the processing status of the video. Available values: "queued", "ready", "error".
    uid string
    A Cloudflare-generated unique identifier for a media item.
    account_id str
    The account identifier tag.
    default bool
    Denotes whether the audio track will be played by default in a player.
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    A Cloudflare-generated unique identifier for a media item.
    label str
    A string to uniquely identify the track amongst other audio track labels for the specified video.
    status str
    Specifies the processing status of the video. Available values: "queued", "ready", "error".
    uid str
    A Cloudflare-generated unique identifier for a media item.
    accountId String
    The account identifier tag.
    default Boolean
    Denotes whether the audio track will be played by default in a player.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    A Cloudflare-generated unique identifier for a media item.
    label String
    A string to uniquely identify the track amongst other audio track labels for the specified video.
    status String
    Specifies the processing status of the video. Available values: "queued", "ready", "error".
    uid String
    A Cloudflare-generated unique identifier for a media item.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate