managed_environment_usages
Creates, updates, deletes, gets or lists a managed_environment_usages resource.
Overview
| Name | managed_environment_usages |
| Type | Resource |
| Id | azure.container_apps.managed_environment_usages |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | object | The name of the type of usage. |
currentValue | number (float) | The current usage of the resource. |
limit | number (float) | The maximum permitted usage of the resource. |
unit | string | An enum describing the unit of usage measurement. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, environmentName | Gets 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.
| Name | Datatype | Description |
|---|---|---|
environmentName | string | Name of the Environment. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT examples
- list
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
;