Share via


TracksOperationsExtensions.ListAsync Method

Definition

List Tracks in the Asset

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Media.Models.AssetTrack>> ListAsync (this Microsoft.Azure.Management.Media.ITracksOperations operations, string resourceGroupName, string accountName, string assetName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Media.ITracksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Media.Models.AssetTrack>>
<Extension()>
Public Function ListAsync (operations As ITracksOperations, resourceGroupName As String, accountName As String, assetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of AssetTrack))

Parameters

operations
ITracksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

assetName
String

The Asset name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Lists the Tracks in the asset

Applies to