Skip to main content

quota_usages

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

Overview

Namequota_usages
TypeResource
Idazure.postgresql_flexible_servers.quota_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified ARM resource Id.
nameobjectName of quota usage for servers.
currentValueintegerCurrent Quota usage value.
limitintegerQuota limit.
unitstringQuota unit.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation_name, subscription_idGet quota usages at specified location in a given subscription.

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
location_namestringThe name of the location. Required.
subscription_idstring

SELECT examples

Get quota usages at specified location in a given subscription.

SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.postgresql_flexible_servers.quota_usages
WHERE location_name = '{{ location_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;