ComputePoliciesOperationsExtensions.ListByAccountAsync Method

Definition

Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy>> ListByAccountAsync (this Microsoft.Azure.Management.DataLake.Analytics.IComputePoliciesOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member ListByAccountAsync : Microsoft.Azure.Management.DataLake.Analytics.IComputePoliciesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataLake.Analytics.Models.ComputePolicy>>
<Extension()>
Public Function ListByAccountAsync (operations As IComputePoliciesOperations, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ComputePolicy))

Parameters

operations
IComputePoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the Azure resource group.

accountName
String

The name of the Data Lake Analytics account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to