Freigeben über


BatchExtensions.GetBatchQuotasAsync Methode

Definition

Ruft die Batch-Dienstkontingente für das angegebene Abonnement am angegebenen Speicherort ab.

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas
  • Vorgangs-IdLocation_GetQuotas
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.Models.BatchLocationQuota>> GetBatchQuotasAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, System.Threading.CancellationToken cancellationToken = default);
static member GetBatchQuotasAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.Models.BatchLocationQuota>>
<Extension()>
Public Function GetBatchQuotasAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BatchLocationQuota))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

locationName
AzureLocation

Die Region, für die Batch-Dienstkontingente abgerufen werden sollen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: