你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzContainerRegistryUsage
获取指定容器注册表的配额使用情况。
语法
Get-AzContainerRegistryUsage
-RegistryName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
获取指定容器注册表的配额使用情况。
示例
示例 1:获取 Azure 容器注册表的使用情况。
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
获取 Azure 容器注册表的使用情况。
参数
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-RegistryName
容器注册表的名称。
类型: | String |
别名: | Name |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceGroupName
资源组的名称。 名称不区分大小写。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-SubscriptionId
目标订阅的 ID。 该值必须是 UUID。
类型: | String[] |
Position: | Named |
默认值: | (Get-AzContext).Subscription.Id |
必需: | False |
接受管道输入: | False |
接受通配符: | False |