共用方式為


StreamingLocatorCollection.GetAllAsync Method

Definition

Lists the Streaming Locators in the account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators
  • Operation Id: StreamingLocators_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Media.StreamingLocatorResource> GetAllAsync (string filter = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.StreamingLocatorResource>
override this.GetAllAsync : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.StreamingLocatorResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StreamingLocatorResource)

Parameters

filter
String

Restricts the set of items returned.

top
Nullable<Int32>

Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.

orderby
String

Specifies the key by which the result collection should be ordered.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to