Share via


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
locationName
path True

string

minLength: 1
pattern: ^[-\w\._]+$

The name of the location.

subscriptionId
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

QuotaUsageList

OK.

Other Status Codes

ErrorResponse

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
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

NameProperty

Name property for quota usage

QuotaUsage

Quota usage for servers

QuotaUsageList

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

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

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

NameProperty

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

QuotaUsage[]

A list of quota usages.