Compartilhar via


DevCenterExtensions.GetDevCenterUsagesByLocationAsync Método

Definição

Lista os usos e os limites atuais nesse local para a assinatura fornecida.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DevCenter/locations/{location}/usages
  • Operação IdUsages_ListByLocation
public static Azure.AsyncPageable<Azure.ResourceManager.DevCenter.Models.DevCenterUsage> GetDevCenterUsagesByLocationAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetDevCenterUsagesByLocationAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DevCenter.Models.DevCenterUsage>
<Extension()>
Public Function GetDevCenterUsagesByLocationAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DevCenterUsage)

Parâmetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

A região do Azure.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de DevCenterUsage que pode levar várias solicitações de serviço para iterar.

Aplica-se a