Compartilhar via


BatchExtensions.GetBatchQuotasAsync Método

Definição

Obtém as cotas de serviço do Lote para a assinatura especificada no local especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas
  • Operação 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))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

locationName
AzureLocation

A região para a qual recuperar cotas de serviço do Lote.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a