Get-AzContainerRegistryUsage

Gets the quota usages for the specified container registry.

Syntax

Get-AzContainerRegistryUsage
   -RegistryName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Gets the quota usages for the specified container registry.

Examples

Example 1: Get Usage of an azure container registry.

Get-AzContainerRegistryUsage -ResourceGroupName "MyResourceGroup" -RegistryName "RegistryExample"

CurrentValue Limit        Name                       Unit
------------ -----        ----                       ----
0            536870912000 Size                       Bytes
0            500          Webhooks                   Count
2            -1           Geo-replications           Count
0            100          IPRules                    Count
0            100          VNetRules                  Count
0            200          PrivateEndpointConnections Count
0            50000        ScopeMaps                  Count
0            50000        Tokens                     Count

Get Usage of an azure container registry.

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

-RegistryName

The name of the container registry.

Type:String
Aliases:Name
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

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

Outputs

IRegistryUsage