LocationOperationsExtensions.GetQuotasAsync(ILocationOperations, String, CancellationToken) Method

Definition

Gets the Batch service quotas for the specified subscription at the given location.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.BatchLocationQuota> GetQuotasAsync (this Microsoft.Azure.Management.Batch.ILocationOperations operations, string locationName, System.Threading.CancellationToken cancellationToken = null);
static member GetQuotasAsync : Microsoft.Azure.Management.Batch.ILocationOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.BatchLocationQuota>

Parameters

operations
ILocationOperations

The operations group for this extension method.

locationName
System.String

The region for which to retrieve Batch service quotas.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<BatchLocationQuota>

Applies to