Share via


PolicyDefinitionsOperationsExtensions.ListAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition>> ListAsync (this Microsoft.Azure.Management.Internal.Resources.IPolicyDefinitionsOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Internal.Resources.IPolicyDefinitionsOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition>>
<Extension()>
Public Function ListAsync (operations As IPolicyDefinitionsOperations, Optional odataQuery As ODataQuery(Of PolicyDefinition) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PolicyDefinition))

Parameters

cancellationToken
CancellationToken

Returns

Applies to