Share via


ComputePoliciesOperationsExtensions.GetAsync Method

Definition

Gets the specified Data Lake Analytics compute policy.

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

Parameters

operations
IComputePoliciesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the Azure resource group.

accountName
System.String

The name of the Data Lake Analytics account.

computePolicyName
System.String

The name of the compute policy to retrieve.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ComputePolicy>

Applies to