Compartir a través de


ContainerInstanceExtensions.GetUsagesWithLocation Método

Definición

Obtención del uso de una suscripción

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/usages
  • IdLocation_ListUsage de operación
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

Instancia SubscriptionResource en la que se ejecutará el método.

location
AzureLocation

Identificador de la ubicación física de Azure.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección de que puede tomar varias solicitudes de ContainerInstanceUsage servicio para iterar.

Se aplica a