Share via


AssetsOperationsExtensions.ListAsync Method

Definition

List Assets

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Media.Models.Asset>> ListAsync (this Microsoft.Azure.Management.Media.IAssetsOperations operations, string resourceGroupName, string accountName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Media.Models.Asset> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Media.IAssetsOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Media.Models.Asset> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Media.Models.Asset>>
<Extension()>
Public Function ListAsync (operations As IAssetsOperations, resourceGroupName As String, accountName As String, Optional odataQuery As ODataQuery(Of Asset) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Asset))

Parameters

operations
IAssetsOperations

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.

odataQuery
ODataQuery<Asset>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

List Assets in the Media Services account with optional filtering and ordering

Applies to