Share via


AccessPoliciesOperationsExtensions.ListAsync Method

Definition

List all existing access policy resources.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.VideoAnalyzer.Models.AccessPolicyEntity>> ListAsync (this Microsoft.Azure.Management.VideoAnalyzer.IAccessPoliciesOperations operations, string resourceGroupName, string accountName, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.VideoAnalyzer.IAccessPoliciesOperations * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.VideoAnalyzer.Models.AccessPolicyEntity>>
<Extension()>
Public Function ListAsync (operations As IAccessPoliciesOperations, resourceGroupName As String, accountName As String, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AccessPolicyEntity))

Parameters

operations
IAccessPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

The Azure Video Analyzer account name.

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Retrieves all existing access policy resources, along with their JSON representations.

Applies to