Quota Usages - List
Get quota usages at specified location in a given subscription.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/resourceType/flexibleServers/usages?api-version=2025-08-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
location
|
path | True |
string minLength: 1pattern: ^[-\w\._]+$ |
The name of the location. |
|
subscription
|
path | True |
string (uuid) |
The ID of the target subscription. The value must be an UUID. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK. |
|
| Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Microsoft Entra OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
List of quota usages for servers
Sample request
GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforPostgreSQL/locations/eastus/resourceType/flexibleServers/usages?api-version=2025-08-01
Sample response
{
"value": [
{
"name": {
"value": "standardBSFamily",
"localizedValue": "standardBSFamily"
},
"limit": 10000,
"unit": "Count",
"currentValue": 0,
"id": ""
},
{
"name": {
"value": "standardDDSv4Family",
"localizedValue": "standardDDSv4Family"
},
"limit": 100,
"unit": "Count",
"currentValue": 0,
"id": ""
}
]
}
Definitions
| Name | Description |
|---|---|
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Name |
Name property for quota usage |
|
Quota |
Quota usage for servers |
|
Quota |
Capability for the PostgreSQL server |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
NameProperty
Name property for quota usage
| Name | Type | Description |
|---|---|---|
| localizedValue |
string |
Localized name |
| value |
string |
Name value |
QuotaUsage
Quota usage for servers
| Name | Type | Default value | Description |
|---|---|---|---|
| currentValue |
integer (int64) |
Current Quota usage value |
|
| id |
string |
Fully qualified ARM resource Id |
|
| limit |
integer (int64) |
Quota limit |
|
| name |
Name of quota usage for servers |
||
| unit |
string |
Count |
Quota unit |
QuotaUsageList
Capability for the PostgreSQL server
| Name | Type | Description |
|---|---|---|
| nextLink |
string (uri) |
Link to retrieve next page of results. |
| value |
A list of quota usages. |