Get-AzContainerInstanceUsage
Get the usage for a subscription
Syntax
Get-AzContainerInstanceUsage
-Location <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get the usage for a subscription
Examples
Example 1: Get the usage of the location
Get-AzContainerInstanceUsage -Location eastus
CurrentValue Limit Unit
------------ ----- ----
9 100 Count
9 100 Count
1 48 Count
0 0 Count
0 0 Count
0 0 Count
0 3000 Count
Get the usage for the current subscription in the region eastus
.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
The name of the Azure region.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription. The value must be an UUID.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |