quota_usages
Creates, updates, deletes, gets or lists a quota_usages resource.
Overview
| Name | quota_usages |
| Type | Resource |
| Id | azure.postgresql_flexible_servers.quota_usages |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified ARM resource Id. |
name | object | Name of quota usage for servers. |
currentValue | integer | Current Quota usage value. |
limit | integer | Quota limit. |
unit | string | Quota unit. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | location_name, subscription_id | Get 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.
| Name | Datatype | Description |
|---|---|---|
location_name | string | The name of the location. Required. |
subscription_id | string |
SELECT examples
- list
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
;