external help file | Module Name | online version | schema |
---|---|---|---|
Az.Quota-help.xml |
Az.Quota |
2.0.0 |
Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.
Get-AzQuota -Scope <String> [-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzQuota -ResourceName <String> -Scope <String> [-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzQuota -InputObject <IQuotaIdentity> [-DefaultProfile <PSObject>]
[<CommonParameters>]
Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.
Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus"
Name NameLocalizedValue Unit ETag
---- ------------------ ---- ----
VirtualNetworks Virtual Networks Count
CustomIpPrefixes Custom Ip Prefixes Count
PublicIpPrefixes Public Ip Prefixes Count
PublicIPAddresses Public IP Addresses Count
......
This command lists the quota limits of a scope.
Get-AzQuota -Scope "subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.Network/locations/eastus" -ResourceName VirtualNetworks
Name NameLocalizedValue Unit ETag
---- ------------------ ---- ----
VirtualNetworks Virtual Networks Count
This command gets the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases: AzureRMContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Identity Parameter
Type: Microsoft.Azure.PowerShell.Cmdlets.Quota.Models.IQuotaIdentity
Parameter Sets: GetViaIdentity
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Resource name for a given resource provider. For example:
- SKU name for Microsoft.Compute
- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices For Microsoft.Network PublicIPAddresses.
Type: System.String
Parameter Sets: Get
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The target Azure resource URI.
For example, /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qms-test/providers/Microsoft.Batch/batchAccounts/testAccount/
.
This is the target Azure resource URI for the List GET operation.
If a {resourceName}
is added after /quotas
, then it's the target Azure resource URI in the GET operation for the specific resource.
Type: System.String
Parameter Sets: List, Get
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.