MockableAppContainersSubscriptionResource.GetBillingMetersAsync Method

Definition

Get all billingMeters for a location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/billingMeters
  • Operation Id: BillingMeters_Get
  • Default Api Version: 2024-03-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppContainers.Models.ContainerAppBillingMeter> GetBillingMetersAsync (Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBillingMetersAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppContainers.Models.ContainerAppBillingMeter>
override this.GetBillingMetersAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppContainers.Models.ContainerAppBillingMeter>
Public Overridable Function GetBillingMetersAsync (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerAppBillingMeter)

Parameters

location
AzureLocation

The name of Azure region.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ContainerAppBillingMeter that may take multiple service requests to iterate over.

Applies to