Share via


StreamingPoliciesOperationsExtensions.ListAsync Method

Definition

List Streaming Policies

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Media.Models.StreamingPolicy>> ListAsync (this Microsoft.Azure.Management.Media.IStreamingPoliciesOperations operations, string resourceGroupName, string accountName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Media.Models.StreamingPolicy> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Media.IStreamingPoliciesOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Media.Models.StreamingPolicy> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Media.Models.StreamingPolicy>>
<Extension()>
Public Function ListAsync (operations As IStreamingPoliciesOperations, resourceGroupName As String, accountName As String, Optional odataQuery As ODataQuery(Of StreamingPolicy) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of StreamingPolicy))

Parameters

operations
IStreamingPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

odataQuery
ODataQuery<StreamingPolicy>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Lists the Streaming Policies in the account

Applies to