Share via


MockableMediaSubscriptionResource.GetMediaServicesAccountsAsync Method

Definition

List Media Services accounts in the subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to