共用方式為


StreamingLocatorResource.GetContentKeys(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.Pageable<Azure.ResourceManager.Media.Models.StreamingLocatorContentKey> GetContentKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetContentKeys : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Media.Models.StreamingLocatorContentKey>
override this.GetContentKeys : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Media.Models.StreamingLocatorContentKey>
Public Overridable Function GetContentKeys (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of StreamingLocatorContentKey)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to