MockableAppContainersSubscriptionResource.GetBillingMetersAsync Method

Definition

Get all billingMeters for a location.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.App/locations/{location}/billingMeters.
  • Operation Id. : BillingMetersOperationGroup_Get.
  • Default Api Version. : 2025-10-02-preview.
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 the Azure region.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to