共用方式為


MediaLiveEventCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the live events in the account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents
  • Operation Id: LiveEvents_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Media.MediaLiveEventResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.MediaLiveEventResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.MediaLiveEventResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MediaLiveEventResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MediaLiveEventResource that may take multiple service requests to iterate over.

Applies to