StreamingLocatorResource.GetContentKeysAsync(CancellationToken) Method

Definition

List Content Keys used by this Streaming Locator

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to