Compartir a través de


ContainerInstanceExtensions.GetUsagesWithLocationAsync 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 operaciones
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

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 asincrónica de ContainerInstanceUsage que puede tomar varias solicitudes de servicio para iterar.

Se aplica a