Share via


MockableMediaSubscriptionResource.GetMediaServicesAccounts Method

Definition

List Media Services accounts in the subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to