共用方式為


LiveEventsOperationsExtensions.ListAsync Method

Definition

List live events

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

Parameters

operations
ILiveEventsOperations

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Lists all the live events in the account.

Applies to