azure-native.media.Track
Explore with Pulumi AI
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)
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={
"odataType": "#Microsoft.Media.AudioTrack",
"dashSettings": {
"role": "string",
},
"displayName": "string",
"fileName": "string",
"hlsSettings": {
"characteristics": "string",
"default": False,
"forced": False,
},
"languageCode": "string",
"mpeg4TrackId": 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
The Track resource accepts the following input properties:
- Account
Name string - The Media Services account name.
- Asset
Name string - The Asset name.
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Track
Pulumi.
Azure | Pulumi.Native. Media. Inputs. Audio Track Azure | Pulumi.Native. Media. Inputs. Text Track Azure Native. Media. Inputs. Video Track - Detailed information about a track in the asset.
- Track
Name string - The Asset Track name.
- Account
Name string - The Media Services account name.
- Asset
Name string - The Asset name.
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Track
Audio
Track | TextArgs Track | VideoArgs Track Args - Detailed information about a track in the asset.
- Track
Name string - The Asset Track name.
- account
Name String - The Media Services account name.
- asset
Name String - The Asset name.
- resource
Group StringName - The name of the resource group within the Azure subscription.
- track
Audio
Track | TextTrack | VideoTrack - Detailed information about a track in the asset.
- track
Name String - The Asset Track name.
- account
Name string - The Media Services account name.
- asset
Name string - The Asset name.
- resource
Group stringName - The name of the resource group within the Azure subscription.
- track
Audio
Track | TextTrack | VideoTrack - Detailed information about a track in the asset.
- track
Name string - The Asset Track name.
- account_
name str - The Media Services account name.
- asset_
name str - The Asset name.
- resource_
group_ strname - The name of the resource group within the Azure subscription.
- track
Audio
Track | TextArgs Track | VideoArgs Track Args - Detailed information about a track in the asset.
- track_
name str - The Asset Track name.
- account
Name String - The Media Services account name.
- asset
Name String - The Asset name.
- resource
Group StringName - 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.
- track
Name 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
- Provisioning
State 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
- Provisioning
State 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
- provisioning
State 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
- provisioning
State 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
- provisioning
State 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
- Dash
Settings Pulumi.Azure Native. Media. Inputs. Dash Settings - The DASH specific setting for the audio track.
- Display
Name string - 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 string - The file name to the source file. This file is located in the storage container of the asset.
- Hls
Settings Pulumi.Azure Native. Media. Inputs. Hls Settings - The HLS specific setting for the audio track.
- Language
Code string - The RFC5646 language code for the audio track.
- Mpeg4Track
Id int - The MPEG-4 audio track ID for the audio track.
- Dash
Settings DashSettings - The DASH specific setting for the audio track.
- Display
Name string - 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 string - 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 string - The RFC5646 language code for the audio track.
- Mpeg4Track
Id int - The MPEG-4 audio track ID for the audio track.
- dash
Settings DashSettings - The DASH specific setting for the audio track.
- display
Name String - 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 String - 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 String - The RFC5646 language code for the audio track.
- mpeg4Track
Id Integer - The MPEG-4 audio track ID for the audio track.
- dash
Settings DashSettings - The DASH specific setting for the audio track.
- display
Name string - 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 string - 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 string - The RFC5646 language code for the audio track.
- mpeg4Track
Id 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_ intid - The MPEG-4 audio track ID for the audio track.
- dash
Settings Property Map - The DASH specific setting for the audio track.
- display
Name String - 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 String - The file name to the source file. This file is located in the storage container of the asset.
- hls
Settings Property Map - The HLS specific setting for the audio track.
- language
Code String - The RFC5646 language code for the audio track.
- mpeg4Track
Id Number - The MPEG-4 audio track ID for the audio track.
AudioTrackResponse, AudioTrackResponseArgs
- Bit
Rate int - The stream bit rate for the audio track.
- Dash
Settings Pulumi.Azure Native. Media. Inputs. Dash Settings Response - The DASH specific setting for the audio track.
- Display
Name string - 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 string - The file name to the source file. This file is located in the storage container of the asset.
- Hls
Settings Pulumi.Azure Native. Media. Inputs. Hls Settings Response - The HLS specific setting for the audio track.
- Language
Code string - The RFC5646 language code for the audio track.
- Mpeg4Track
Id int - The MPEG-4 audio track ID for the audio track.
- Bit
Rate int - The stream bit rate for the audio track.
- Dash
Settings DashSettings Response - The DASH specific setting for the audio track.
- Display
Name string - 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 string - The file name to the source file. This file is located in the storage container of the asset.
- Hls
Settings HlsSettings Response - The HLS specific setting for the audio track.
- Language
Code string - The RFC5646 language code for the audio track.
- Mpeg4Track
Id int - The MPEG-4 audio track ID for the audio track.
- bit
Rate Integer - The stream bit rate for the audio track.
- dash
Settings DashSettings Response - The DASH specific setting for the audio track.
- display
Name String - 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 String - The file name to the source file. This file is located in the storage container of the asset.
- hls
Settings HlsSettings Response - The HLS specific setting for the audio track.
- language
Code String - The RFC5646 language code for the audio track.
- mpeg4Track
Id Integer - The MPEG-4 audio track ID for the audio track.
- bit
Rate number - The stream bit rate for the audio track.
- dash
Settings DashSettings Response - The DASH specific setting for the audio track.
- display
Name string - 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 string - The file name to the source file. This file is located in the storage container of the asset.
- hls
Settings HlsSettings Response - The HLS specific setting for the audio track.
- language
Code string - The RFC5646 language code for the audio track.
- mpeg4Track
Id number - The MPEG-4 audio track ID for the audio track.
- bit_
rate int - The stream bit rate for the audio track.
- dash_
settings DashSettings Response - 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 Response - The HLS specific setting for the audio track.
- language_
code str - The RFC5646 language code for the audio track.
- mpeg4_
track_ intid - The MPEG-4 audio track ID for the audio track.
- bit
Rate Number - The stream bit rate for the audio track.
- dash
Settings Property Map - The DASH specific setting for the audio track.
- display
Name String - 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 String - The file name to the source file. This file is located in the storage container of the asset.
- hls
Settings Property Map - The HLS specific setting for the audio track.
- language
Code String - The RFC5646 language code for the audio track.
- mpeg4Track
Id 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
- Display
Name string - 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 string - The file name to the source file. This file is located in the storage container of the asset.
- Hls
Settings Pulumi.Azure Native. Media. Inputs. Hls Settings - The HLS specific setting for the text track.
- Player
Visibility string | Pulumi.Azure Native. 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".
- Display
Name string - 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 string - 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 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 String - 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 String - 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 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 string - 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 string - 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 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".
- display
Name String - 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 String - The file name to the source file. This file is located in the storage container of the asset.
- hls
Settings Property Map - The HLS specific setting for the text track.
- player
Visibility 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
- Language
Code string - The RFC5646 language code for the text track.
- Display
Name string - 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 string - The file name to the source file. This file is located in the storage container of the asset.
- Hls
Settings Pulumi.Azure Native. Media. Inputs. Hls Settings Response - The HLS specific setting for the text track.
- Player
Visibility 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 string - The RFC5646 language code for the text track.
- Display
Name string - 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 string - The file name to the source file. This file is located in the storage container of the asset.
- Hls
Settings HlsSettings Response - The HLS specific setting for the text track.
- Player
Visibility 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 String - The RFC5646 language code for the text track.
- display
Name String - 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 String - The file name to the source file. This file is located in the storage container of the asset.
- hls
Settings HlsSettings Response - The HLS specific setting for the text track.
- player
Visibility 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 string - The RFC5646 language code for the text track.
- display
Name string - 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 string - The file name to the source file. This file is located in the storage container of the asset.
- hls
Settings HlsSettings Response - The HLS specific setting for the text track.
- player
Visibility 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 HlsSettings Response - 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".
- language
Code String - The RFC5646 language code for the text track.
- display
Name String - 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 String - The file name to the source file. This file is located in the storage container of the asset.
- hls
Settings Property Map - The HLS specific setting for the text track.
- player
Visibility 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.
- Visibility
Hidden - HiddenThe track is hidden to video player.
- Visibility
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.
- "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