Share via


MediaAssetResource.GetStreamingLocatorsAsync(CancellationToken) Method

Definition

Lists Streaming Locators which are associated with this asset.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/listStreamingLocators
  • Operation Id: Assets_ListStreamingLocators
public virtual Azure.AsyncPageable<Azure.ResourceManager.Media.Models.MediaAssetStreamingLocator> GetStreamingLocatorsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStreamingLocatorsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.Models.MediaAssetStreamingLocator>
override this.GetStreamingLocatorsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.Models.MediaAssetStreamingLocator>
Public Overridable Function GetStreamingLocatorsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MediaAssetStreamingLocator)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to