MediaAssetResource.GetStreamingLocatorsAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.