Share via


ContentKeyPoliciesOperationsExtensions.ListAsync Method

Definition

List Content Key Policies

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

Parameters

operations
IContentKeyPoliciesOperations

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<ContentKeyPolicy>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Lists the Content Key Policies in the account

Applies to