azure-native.media.getTrack
An Asset Track resource. API Version: 2021-11-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>
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]
func LookupTrack(ctx *Context, args *LookupTrackArgs, opts ...InvokeOption) (*LookupTrackResult, error)
func LookupTrackOutput(ctx *Context, args *LookupTrackOutputArgs, opts ...InvokeOption) LookupTrackResultOutput
> 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)
}
public static CompletableFuture<GetTrackResult> getTrack(GetTrackArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:media:getTrack
arguments:
# arguments dictionary
The following arguments are supported:
- 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
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
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
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
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_
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
Name 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
- 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"
- Track
Pulumi.
Azure | Pulumi.Native. Media. Outputs. Audio Track Response Azure | Pulumi.Native. Media. Outputs. Text Track Response Azure Native. Media. Outputs. Video Track Response 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
- 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"
- Track
Audio
Track | TextResponse Track | VideoResponse Track Response 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
- 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"
- track
Audio
Track | TextResponse Track | VideoResponse Track Response 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
- 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"
- track
Audio
Track | TextResponse Track | VideoResponse Track Response 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
Audio
Track | TextResponse Track | VideoResponse Track Response 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
- 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"
- track Property Map | Property Map | Property Map
Detailed information about a track in the asset.
Supporting Types
AudioTrackResponse
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
- 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".
VideoTrackResponse
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0