Get-AzContainerRegistryRepository
Get or list ACR repositories.
Syntax
Get-AzContainerRegistryRepository
[-First <Int32>]
-RegistryName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzContainerRegistryRepository
-Name <String>
-RegistryName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get or list ACR repositories. List returns repository names only.
Examples
Example 1
Get-AzContainerRegistryRepository -RegistryName registry
alpine
test/busybox0
test/busybox1
test/busybox10
List all repositories in registry.
Example 2
Get-AzContainerRegistryRepository -RegistryName registry -First 3
alpine
test/busybox0
test/busybox1
List first 3 repositories in registry.
Example 3
Get-AzContainerRegistryRepository -RegistryName registry -Name alpine
Registry : registry.azurecr.io
ImageName : alpine
CreatedTime : 2020-10-13T05:45:25.5896115Z
LastUpdateTime : 2021-01-04T08:31:46.2406505Z
ManifestCount : 7
TagCount : 1
ChangeableAttributes : Microsoft.Azure.Commands.ContainerRegistry.Models.PSChangeableAttribute
Get repository alpine under registry.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-First
First n results.
Type: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Repository Name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-RegistryName
Azure Container Registry Name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell