Dela via


ContainerAppManagedEnvironmentResource.GetManagedEnvironmentUsages Method

Definition

Gets the current usage information as well as the limits for environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/usages
  • Operation Id: ManagedEnvironmentUsages_List
  • Default Api Version: 2024-03-01
public virtual Azure.Pageable<Azure.ResourceManager.AppContainers.Models.ContainerAppUsage> GetManagedEnvironmentUsages (System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedEnvironmentUsages : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.Models.ContainerAppUsage>
override this.GetManagedEnvironmentUsages : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.Models.ContainerAppUsage>
Public Overridable Function GetManagedEnvironmentUsages (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerAppUsage)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to