Edit

Get-AzPostgreSqlFlexibleServerQuotaUsage

This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus.

Get quota usages at specified location in a given subscription.

Syntax

Default (Default)

Get-AzPostgreSqlFlexibleServerQuotaUsage
    -LocationName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Get quota usages at specified location in a given subscription.

Examples

Example 1: List all flexible server quotas in a subscription for a given location

Get-AzPostgreSqlFlexibleServerQuotaUsage -SubscriptionId aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e -LocationName example-location
NameValue                                NameLocalizedValue                       Unit       Limit      CurrentValue
---------                                ------------------                       ----       -----      ------------
cores                                    cores                                    Count      196        118
standardBSFamily                         standardBSFamily                         Count      622        6
standardDDSv4Family                      standardDDSv4Family                      Count      260        4
standardDDSv5Family                      standardDDSv5Family                      Count      502        58
standardDSv3Family                       standardDSv3Family                       Count      424        0
standardEDSv4Family                      standardEDSv4Family                      Count      250        0
standardEDSv5Family                      standardEDSv5Family                      Count      271        0
standardESv3Family                       standardESv3Family                       Count      145        0

Lists all quotas defined, and their corresponding usage, for Azure Database for PostgreSQL flexible server, with location and subscription explicitly passed as arguments. If subscription is not passed explicitly, it's taken from default context.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LocationName

The name of the location.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IQuotaUsage