Compartilhar via


ContainerInstanceExtensions.GetUsagesWithLocation Método

Definição

Obter o uso de uma assinatura

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

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

location
AzureLocation

O identificador do local físico do Azure.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a