Share via


LocationOperationsExtensions.GetQuotasAsync 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 = default);
static member GetQuotasAsync : Microsoft.Azure.Management.Batch.ILocationOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.BatchLocationQuota>
<Extension()>
Public Function GetQuotasAsync (operations As ILocationOperations, locationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BatchLocationQuota)

Parameters

operations
ILocationOperations

The operations group for this extension method.

locationName
String

The region for which to retrieve Batch service quotas.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to