1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. Track
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi

azure-native.media.Track

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi

    An Asset Track resource. Azure REST API version: 2023-01-01. Prior API version in Azure Native 1.x: 2021-11-01.

    Example Usage

    Creates a Track

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var track = new AzureNative.Media.Track("track", new()
        {
            AccountName = "contosomedia",
            AssetName = "ClimbingMountRainer",
            ResourceGroupName = "contosorg",
            Track = new AzureNative.Media.Inputs.TextTrackArgs
            {
                DisplayName = "A new track",
                FileName = "text3.ttml",
                OdataType = "#Microsoft.Media.TextTrack",
                PlayerVisibility = AzureNative.Media.Visibility.Visible,
            },
            TrackName = "text3",
        });
    
    });
    
    package main
    
    import (
    	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := media.NewTrack(ctx, "track", &media.TrackArgs{
    			AccountName:       pulumi.String("contosomedia"),
    			AssetName:         pulumi.String("ClimbingMountRainer"),
    			ResourceGroupName: pulumi.String("contosorg"),
    			Track: &media.TextTrackArgs{
    				DisplayName:      pulumi.String("A new track"),
    				FileName:         pulumi.String("text3.ttml"),
    				OdataType:        pulumi.String("#Microsoft.Media.TextTrack"),
    				PlayerVisibility: pulumi.String(media.VisibilityVisible),
    			},
    			TrackName: pulumi.String("text3"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.media.Track;
    import com.pulumi.azurenative.media.TrackArgs;
    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) {
            var track = new Track("track", TrackArgs.builder()
                .accountName("contosomedia")
                .assetName("ClimbingMountRainer")
                .resourceGroupName("contosorg")
                .track(AudioTrackArgs.builder()
                    .displayName("A new track")
                    .fileName("text3.ttml")
                    .odataType("#Microsoft.Media.TextTrack")
                    .playerVisibility("Visible")
                    .build())
                .trackName("text3")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    track = azure_native.media.Track("track",
        account_name="contosomedia",
        asset_name="ClimbingMountRainer",
        resource_group_name="contosorg",
        track={
            "display_name": "A new track",
            "file_name": "text3.ttml",
            "odata_type": "#Microsoft.Media.TextTrack",
            "player_visibility": azure_native.media.Visibility.VISIBLE,
        },
        track_name="text3")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const track = new azure_native.media.Track("track", {
        accountName: "contosomedia",
        assetName: "ClimbingMountRainer",
        resourceGroupName: "contosorg",
        track: {
            displayName: "A new track",
            fileName: "text3.ttml",
            odataType: "#Microsoft.Media.TextTrack",
            playerVisibility: azure_native.media.Visibility.Visible,
        },
        trackName: "text3",
    });
    
    resources:
      track:
        type: azure-native:media:Track
        properties:
          accountName: contosomedia
          assetName: ClimbingMountRainer
          resourceGroupName: contosorg
          track:
            displayName: A new track
            fileName: text3.ttml
            odataType: '#Microsoft.Media.TextTrack'
            playerVisibility: Visible
          trackName: text3
    

    Create Track Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Track(name: string, args: TrackArgs, opts?: CustomResourceOptions);
    @overload
    def Track(resource_name: str,
              args: TrackArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Track(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              account_name: Optional[str] = None,
              asset_name: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              track: Optional[Union[AudioTrackArgs, TextTrackArgs, VideoTrackArgs]] = None,
              track_name: Optional[str] = None)
    func NewTrack(ctx *Context, name string, args TrackArgs, opts ...ResourceOption) (*Track, error)
    public Track(string name, TrackArgs args, CustomResourceOptions? opts = null)
    public Track(String name, TrackArgs args)
    public Track(String name, TrackArgs args, CustomResourceOptions options)
    
    type: azure-native:media:Track
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TrackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TrackArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TrackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TrackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TrackArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var trackResource = new AzureNative.Media.Track("trackResource", new()
    {
        AccountName = "string",
        AssetName = "string",
        ResourceGroupName = "string",
        Track = new AzureNative.Media.Inputs.AudioTrackArgs
        {
            OdataType = "#Microsoft.Media.AudioTrack",
            DashSettings = new AzureNative.Media.Inputs.DashSettingsArgs
            {
                Role = "string",
            },
            DisplayName = "string",
            FileName = "string",
            HlsSettings = new AzureNative.Media.Inputs.HlsSettingsArgs
            {
                Characteristics = "string",
                Default = false,
                Forced = false,
            },
            LanguageCode = "string",
            Mpeg4TrackId = 0,
        },
        TrackName = "string",
    });
    
    example, err := media.NewTrack(ctx, "trackResource", &media.TrackArgs{
    	AccountName:       pulumi.String("string"),
    	AssetName:         pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	Track: &media.AudioTrackArgs{
    		OdataType: pulumi.String("#Microsoft.Media.AudioTrack"),
    		DashSettings: &media.DashSettingsArgs{
    			Role: pulumi.String("string"),
    		},
    		DisplayName: pulumi.String("string"),
    		FileName:    pulumi.String("string"),
    		HlsSettings: &media.HlsSettingsArgs{
    			Characteristics: pulumi.String("string"),
    			Default:         pulumi.Bool(false),
    			Forced:          pulumi.Bool(false),
    		},
    		LanguageCode: pulumi.String("string"),
    		Mpeg4TrackId: pulumi.Int(0),
    	},
    	TrackName: pulumi.String("string"),
    })
    
    var trackResource = new Track("trackResource", TrackArgs.builder()
        .accountName("string")
        .assetName("string")
        .resourceGroupName("string")
        .track(AudioTrackArgs.builder()
            .odataType("#Microsoft.Media.AudioTrack")
            .dashSettings(DashSettingsArgs.builder()
                .role("string")
                .build())
            .displayName("string")
            .fileName("string")
            .hlsSettings(HlsSettingsArgs.builder()
                .characteristics("string")
                .default_(false)
                .forced(false)
                .build())
            .languageCode("string")
            .mpeg4TrackId(0)
            .build())
        .trackName("string")
        .build());
    
    track_resource = azure_native.media.Track("trackResource",
        account_name="string",
        asset_name="string",
        resource_group_name="string",
        track={
            "odata_type": "#Microsoft.Media.AudioTrack",
            "dash_settings": {
                "role": "string",
            },
            "display_name": "string",
            "file_name": "string",
            "hls_settings": {
                "characteristics": "string",
                "default": False,
                "forced": False,
            },
            "language_code": "string",
            "mpeg4_track_id": 0,
        },
        track_name="string")
    
    const trackResource = new azure_native.media.Track("trackResource", {
        accountName: "string",
        assetName: "string",
        resourceGroupName: "string",
        track: {
            odataType: "#Microsoft.Media.AudioTrack",
            dashSettings: {
                role: "string",
            },
            displayName: "string",
            fileName: "string",
            hlsSettings: {
                characteristics: "string",
                "default": false,
                forced: false,
            },
            languageCode: "string",
            mpeg4TrackId: 0,
        },
        trackName: "string",
    });
    
    type: azure-native:media:Track
    properties:
        accountName: string
        assetName: string
        resourceGroupName: string
        track:
            dashSettings:
                role: string
            displayName: string
            fileName: string
            hlsSettings:
                characteristics: string
                default: false
                forced: false
            languageCode: string
            mpeg4TrackId: 0
            odataType: '#Microsoft.Media.AudioTrack'
        trackName: string
    

    Track Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Track resource accepts the following input properties:

    AccountName string
    The Media Services account name.
    AssetName string
    The Asset name.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    Track Pulumi.AzureNative.Media.Inputs.AudioTrack | Pulumi.AzureNative.Media.Inputs.TextTrack | Pulumi.AzureNative.Media.Inputs.VideoTrack
    Detailed information about a track in the asset.
    TrackName string
    The Asset Track name.
    AccountName string
    The Media Services account name.
    AssetName string
    The Asset name.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    Track AudioTrackArgs | TextTrackArgs | VideoTrackArgs
    Detailed information about a track in the asset.
    TrackName string
    The Asset Track name.
    accountName String
    The Media Services account name.
    assetName String
    The Asset name.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    track AudioTrack | TextTrack | VideoTrack
    Detailed information about a track in the asset.
    trackName String
    The Asset Track name.
    accountName string
    The Media Services account name.
    assetName string
    The Asset name.
    resourceGroupName string
    The name of the resource group within the Azure subscription.
    track AudioTrack | TextTrack | VideoTrack
    Detailed information about a track in the asset.
    trackName string
    The Asset Track name.
    account_name str
    The Media Services account name.
    asset_name str
    The Asset name.
    resource_group_name str
    The name of the resource group within the Azure subscription.
    track AudioTrackArgs | TextTrackArgs | VideoTrackArgs
    Detailed information about a track in the asset.
    track_name str
    The Asset Track name.
    accountName String
    The Media Services account name.
    assetName String
    The Asset name.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    track Property Map | Property Map | Property Map
    Detailed information about a track in the asset.
    trackName String
    The Asset Track name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Track resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the asset track.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the asset track.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the asset track.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Provisioning state of the asset track.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Provisioning state of the asset track.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the asset track.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    AudioTrack, AudioTrackArgs

    DashSettings Pulumi.AzureNative.Media.Inputs.DashSettings
    The DASH specific setting for the audio track.
    DisplayName string
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    FileName string
    The file name to the source file. This file is located in the storage container of the asset.
    HlsSettings Pulumi.AzureNative.Media.Inputs.HlsSettings
    The HLS specific setting for the audio track.
    LanguageCode string
    The RFC5646 language code for the audio track.
    Mpeg4TrackId int
    The MPEG-4 audio track ID for the audio track.
    DashSettings DashSettings
    The DASH specific setting for the audio track.
    DisplayName string
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    FileName string
    The file name to the source file. This file is located in the storage container of the asset.
    HlsSettings HlsSettings
    The HLS specific setting for the audio track.
    LanguageCode string
    The RFC5646 language code for the audio track.
    Mpeg4TrackId int
    The MPEG-4 audio track ID for the audio track.
    dashSettings DashSettings
    The DASH specific setting for the audio track.
    displayName String
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName String
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings HlsSettings
    The HLS specific setting for the audio track.
    languageCode String
    The RFC5646 language code for the audio track.
    mpeg4TrackId Integer
    The MPEG-4 audio track ID for the audio track.
    dashSettings DashSettings
    The DASH specific setting for the audio track.
    displayName string
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName string
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings HlsSettings
    The HLS specific setting for the audio track.
    languageCode string
    The RFC5646 language code for the audio track.
    mpeg4TrackId number
    The MPEG-4 audio track ID for the audio track.
    dash_settings DashSettings
    The DASH specific setting for the audio track.
    display_name str
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    file_name str
    The file name to the source file. This file is located in the storage container of the asset.
    hls_settings HlsSettings
    The HLS specific setting for the audio track.
    language_code str
    The RFC5646 language code for the audio track.
    mpeg4_track_id int
    The MPEG-4 audio track ID for the audio track.
    dashSettings Property Map
    The DASH specific setting for the audio track.
    displayName String
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName String
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings Property Map
    The HLS specific setting for the audio track.
    languageCode String
    The RFC5646 language code for the audio track.
    mpeg4TrackId Number
    The MPEG-4 audio track ID for the audio track.

    AudioTrackResponse, AudioTrackResponseArgs

    BitRate int
    The stream bit rate for the audio track.
    DashSettings Pulumi.AzureNative.Media.Inputs.DashSettingsResponse
    The DASH specific setting for the audio track.
    DisplayName string
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    FileName string
    The file name to the source file. This file is located in the storage container of the asset.
    HlsSettings Pulumi.AzureNative.Media.Inputs.HlsSettingsResponse
    The HLS specific setting for the audio track.
    LanguageCode string
    The RFC5646 language code for the audio track.
    Mpeg4TrackId int
    The MPEG-4 audio track ID for the audio track.
    BitRate int
    The stream bit rate for the audio track.
    DashSettings DashSettingsResponse
    The DASH specific setting for the audio track.
    DisplayName string
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    FileName string
    The file name to the source file. This file is located in the storage container of the asset.
    HlsSettings HlsSettingsResponse
    The HLS specific setting for the audio track.
    LanguageCode string
    The RFC5646 language code for the audio track.
    Mpeg4TrackId int
    The MPEG-4 audio track ID for the audio track.
    bitRate Integer
    The stream bit rate for the audio track.
    dashSettings DashSettingsResponse
    The DASH specific setting for the audio track.
    displayName String
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName String
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings HlsSettingsResponse
    The HLS specific setting for the audio track.
    languageCode String
    The RFC5646 language code for the audio track.
    mpeg4TrackId Integer
    The MPEG-4 audio track ID for the audio track.
    bitRate number
    The stream bit rate for the audio track.
    dashSettings DashSettingsResponse
    The DASH specific setting for the audio track.
    displayName string
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName string
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings HlsSettingsResponse
    The HLS specific setting for the audio track.
    languageCode string
    The RFC5646 language code for the audio track.
    mpeg4TrackId number
    The MPEG-4 audio track ID for the audio track.
    bit_rate int
    The stream bit rate for the audio track.
    dash_settings DashSettingsResponse
    The DASH specific setting for the audio track.
    display_name str
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    file_name str
    The file name to the source file. This file is located in the storage container of the asset.
    hls_settings HlsSettingsResponse
    The HLS specific setting for the audio track.
    language_code str
    The RFC5646 language code for the audio track.
    mpeg4_track_id int
    The MPEG-4 audio track ID for the audio track.
    bitRate Number
    The stream bit rate for the audio track.
    dashSettings Property Map
    The DASH specific setting for the audio track.
    displayName String
    The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName String
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings Property Map
    The HLS specific setting for the audio track.
    languageCode String
    The RFC5646 language code for the audio track.
    mpeg4TrackId Number
    The MPEG-4 audio track ID for the audio track.

    DashSettings, DashSettingsArgs

    Role string
    The role for the DASH setting.
    Role string
    The role for the DASH setting.
    role String
    The role for the DASH setting.
    role string
    The role for the DASH setting.
    role str
    The role for the DASH setting.
    role String
    The role for the DASH setting.

    DashSettingsResponse, DashSettingsResponseArgs

    Role string
    The role for the DASH setting.
    Role string
    The role for the DASH setting.
    role String
    The role for the DASH setting.
    role string
    The role for the DASH setting.
    role str
    The role for the DASH setting.
    role String
    The role for the DASH setting.

    HlsSettings, HlsSettingsArgs

    Characteristics string
    The characteristics for the HLS setting.
    Default bool
    The default for the HLS setting.
    Forced bool
    The forced for the HLS setting.
    Characteristics string
    The characteristics for the HLS setting.
    Default bool
    The default for the HLS setting.
    Forced bool
    The forced for the HLS setting.
    characteristics String
    The characteristics for the HLS setting.
    default_ Boolean
    The default for the HLS setting.
    forced Boolean
    The forced for the HLS setting.
    characteristics string
    The characteristics for the HLS setting.
    default boolean
    The default for the HLS setting.
    forced boolean
    The forced for the HLS setting.
    characteristics str
    The characteristics for the HLS setting.
    default bool
    The default for the HLS setting.
    forced bool
    The forced for the HLS setting.
    characteristics String
    The characteristics for the HLS setting.
    default Boolean
    The default for the HLS setting.
    forced Boolean
    The forced for the HLS setting.

    HlsSettingsResponse, HlsSettingsResponseArgs

    Characteristics string
    The characteristics for the HLS setting.
    Default bool
    The default for the HLS setting.
    Forced bool
    The forced for the HLS setting.
    Characteristics string
    The characteristics for the HLS setting.
    Default bool
    The default for the HLS setting.
    Forced bool
    The forced for the HLS setting.
    characteristics String
    The characteristics for the HLS setting.
    default_ Boolean
    The default for the HLS setting.
    forced Boolean
    The forced for the HLS setting.
    characteristics string
    The characteristics for the HLS setting.
    default boolean
    The default for the HLS setting.
    forced boolean
    The forced for the HLS setting.
    characteristics str
    The characteristics for the HLS setting.
    default bool
    The default for the HLS setting.
    forced bool
    The forced for the HLS setting.
    characteristics String
    The characteristics for the HLS setting.
    default Boolean
    The default for the HLS setting.
    forced Boolean
    The forced for the HLS setting.

    TextTrack, TextTrackArgs

    DisplayName string
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    FileName string
    The file name to the source file. This file is located in the storage container of the asset.
    HlsSettings Pulumi.AzureNative.Media.Inputs.HlsSettings
    The HLS specific setting for the text track.
    PlayerVisibility string | Pulumi.AzureNative.Media.Visibility
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    DisplayName string
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    FileName string
    The file name to the source file. This file is located in the storage container of the asset.
    HlsSettings HlsSettings
    The HLS specific setting for the text track.
    PlayerVisibility string | Visibility
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    displayName String
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName String
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings HlsSettings
    The HLS specific setting for the text track.
    playerVisibility String | Visibility
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    displayName string
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName string
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings HlsSettings
    The HLS specific setting for the text track.
    playerVisibility string | Visibility
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    display_name str
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    file_name str
    The file name to the source file. This file is located in the storage container of the asset.
    hls_settings HlsSettings
    The HLS specific setting for the text track.
    player_visibility str | Visibility
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    displayName String
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName String
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings Property Map
    The HLS specific setting for the text track.
    playerVisibility String | "Hidden" | "Visible"
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".

    TextTrackResponse, TextTrackResponseArgs

    LanguageCode string
    The RFC5646 language code for the text track.
    DisplayName string
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    FileName string
    The file name to the source file. This file is located in the storage container of the asset.
    HlsSettings Pulumi.AzureNative.Media.Inputs.HlsSettingsResponse
    The HLS specific setting for the text track.
    PlayerVisibility string
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    LanguageCode string
    The RFC5646 language code for the text track.
    DisplayName string
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    FileName string
    The file name to the source file. This file is located in the storage container of the asset.
    HlsSettings HlsSettingsResponse
    The HLS specific setting for the text track.
    PlayerVisibility string
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    languageCode String
    The RFC5646 language code for the text track.
    displayName String
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName String
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings HlsSettingsResponse
    The HLS specific setting for the text track.
    playerVisibility String
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    languageCode string
    The RFC5646 language code for the text track.
    displayName string
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName string
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings HlsSettingsResponse
    The HLS specific setting for the text track.
    playerVisibility string
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    language_code str
    The RFC5646 language code for the text track.
    display_name str
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    file_name str
    The file name to the source file. This file is located in the storage container of the asset.
    hls_settings HlsSettingsResponse
    The HLS specific setting for the text track.
    player_visibility str
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".
    languageCode String
    The RFC5646 language code for the text track.
    displayName String
    The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.
    fileName String
    The file name to the source file. This file is located in the storage container of the asset.
    hlsSettings Property Map
    The HLS specific setting for the text track.
    playerVisibility String
    When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible".

    VideoTrack, VideoTrackArgs

    VideoTrackResponse, VideoTrackResponseArgs

    Visibility, VisibilityArgs

    Hidden
    HiddenThe track is hidden to video player.
    Visible
    VisibleThe track is visible to video player.
    VisibilityHidden
    HiddenThe track is hidden to video player.
    VisibilityVisible
    VisibleThe track is visible to video player.
    Hidden
    HiddenThe track is hidden to video player.
    Visible
    VisibleThe track is visible to video player.
    Hidden
    HiddenThe track is hidden to video player.
    Visible
    VisibleThe track is visible to video player.
    HIDDEN
    HiddenThe track is hidden to video player.
    VISIBLE
    VisibleThe track is visible to video player.
    "Hidden"
    HiddenThe track is hidden to video player.
    "Visible"
    VisibleThe track is visible to video player.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:media:Track text3 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks/{trackName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.76.0 published on Friday, Dec 6, 2024 by Pulumi