Edit

Share via


Get-AzBatchLocationQuota

Gets the Batch service quotas for your subscription at the given location.

Syntax

Default (Default)

Get-AzBatchLocationQuota
    [-Location] <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

Gets the Batch service quotas for the specified subscription at the given location.

Examples

Example 1: Get the Batch service quotas for the subscription in the West US region

Get-AzBatchLocationQuota -Location "westus"
AccountQuota Location
          ------------ --------
          1            westus

This command gets the quotas for the current subscription in the West US region. The return value indicates that this subscription can create only one Batch account in that region.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, 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

-Location

Specifies the region for which this cmdlet checks the quotas. For more information, see Azure Regions (https://azure.microsoft.com/regions).

Parameter properties

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

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
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.

Inputs

String

Outputs

PSBatchLocationQuotas