1. Packages
  2. Azure Native v2
  3. API Docs
  4. media
  5. getTrack
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.media.getTrack

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Get the details of a Track in the Asset Azure REST API version: 2023-01-01.

Using getTrack

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 getTrack(args: GetTrackArgs, opts?: InvokeOptions): Promise<GetTrackResult>
function getTrackOutput(args: GetTrackOutputArgs, opts?: InvokeOptions): Output<GetTrackResult>
Copy
def get_track(account_name: Optional[str] = None,
              asset_name: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              track_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetTrackResult
def get_track_output(account_name: Optional[pulumi.Input[str]] = None,
              asset_name: Optional[pulumi.Input[str]] = None,
              resource_group_name: Optional[pulumi.Input[str]] = None,
              track_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetTrackResult]
Copy
func LookupTrack(ctx *Context, args *LookupTrackArgs, opts ...InvokeOption) (*LookupTrackResult, error)
func LookupTrackOutput(ctx *Context, args *LookupTrackOutputArgs, opts ...InvokeOption) LookupTrackResultOutput
Copy

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

public static class GetTrack 
{
    public static Task<GetTrackResult> InvokeAsync(GetTrackArgs args, InvokeOptions? opts = null)
    public static Output<GetTrackResult> Invoke(GetTrackInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTrackResult> getTrack(GetTrackArgs args, InvokeOptions options)
public static Output<GetTrackResult> getTrack(GetTrackArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:media:getTrack
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
AssetName
This property is required.
Changes to this property will trigger replacement.
string
The Asset name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
TrackName
This property is required.
Changes to this property will trigger replacement.
string
The Asset Track name.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
AssetName
This property is required.
Changes to this property will trigger replacement.
string
The Asset name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
TrackName
This property is required.
Changes to this property will trigger replacement.
string
The Asset Track name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
assetName
This property is required.
Changes to this property will trigger replacement.
String
The Asset name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the Azure subscription.
trackName
This property is required.
Changes to this property will trigger replacement.
String
The Asset Track name.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
assetName
This property is required.
Changes to this property will trigger replacement.
string
The Asset name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
trackName
This property is required.
Changes to this property will trigger replacement.
string
The Asset Track name.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The Media Services account name.
asset_name
This property is required.
Changes to this property will trigger replacement.
str
The Asset name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the Azure subscription.
track_name
This property is required.
Changes to this property will trigger replacement.
str
The Asset Track name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
assetName
This property is required.
Changes to this property will trigger replacement.
String
The Asset name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the Azure subscription.
trackName
This property is required.
Changes to this property will trigger replacement.
String
The Asset Track name.

getTrack Result

The following output properties are available:

Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
Track Pulumi.AzureNative.Media.Outputs.AudioTrackResponse | Pulumi.AzureNative.Media.Outputs.TextTrackResponse | Pulumi.AzureNative.Media.Outputs.VideoTrackResponse
Detailed information about a track in the asset.
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
Track AudioTrackResponse | TextTrackResponse | VideoTrackResponse
Detailed information about a track in the asset.
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
track AudioTrackResponse | TextTrackResponse | VideoTrackResponse
Detailed information about a track in the asset.
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
track AudioTrackResponse | TextTrackResponse | VideoTrackResponse
Detailed information about a track in the asset.
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
track AudioTrackResponse | TextTrackResponse | VideoTrackResponse
Detailed information about a track in the asset.
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
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"
track Property Map | Property Map | Property Map
Detailed information about a track in the asset.

Supporting Types

AudioTrackResponse

BitRate This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.

DashSettingsResponse

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.

HlsSettingsResponse

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.

TextTrackResponse

LanguageCode This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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".

VideoTrackResponse

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi