Skip to main content

location_usages

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

Overview

Namelocation_usages
TypeResource
Idazure.container_instances.location_usages

Fields

NameDatatypeDescription
idstringId of the usage result
nameobjectThe name object of the resource
currentValueintegerThe current usage of the resource
limitintegerThe maximum permitted usage of the resource.
unitstringUnit of the usage result

Methods

NameAccessible byRequired ParamsDescription
listSELECTlocation, subscriptionIdGet the usage for a subscription

SELECT examples

Get the usage for a subscription

SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.container_instances.location_usages
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';