Skip to main content

managed_environment_usages

Creates, updates, deletes, gets or lists a managed_environment_usages resource.

Overview

Namemanaged_environment_usages
TypeResource
Idazure.container_apps.managed_environment_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
nameobjectThe name of the type of usage.
currentValuenumber (float)The current usage of the resource.
limitnumber (float)The maximum permitted usage of the resource.
unitstringAn enum describing the unit of usage measurement.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, environmentNameGets the current usage information as well as the limits for environment.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
environmentNamestringName of the Environment.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

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

SELECT
name,
currentValue,
limit,
unit
FROM azure.container_apps.managed_environment_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND environmentName = '{{ environmentName }}' -- required
;