Partilhar via


ContainerInstanceExtensions.GetUsagesWithLocationAsync Método

Definição

Obter o uso de uma assinatura

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

Parâmetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

O identificador para o local físico do azure.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a