Skip to main content

quota_usages

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

Overview

Namequota_usages
TypeResource
Idazure.postgresql.quota_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified ARM resource Id
nameobjectName of quota usage for flexible servers
currentValueinteger (int64)Current Quota usage value
limitinteger (int64)Quota limit
unitstringQuota unit (default: Count)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, locationNameGet 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
locationNamestringThe name of the location.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get quota usages at specified location in a given subscription.

SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.postgresql.quota_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND locationName = '{{ locationName }}' -- required
;