Skip to content

Latest commit

 

History

History
154 lines (117 loc) · 3.21 KB

Get-AzContainerRegistryRepository.md

File metadata and controls

154 lines (117 loc) · 3.21 KB
external help file Module Name online version schema
Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.dll-Help.xml
Az.ContainerRegistry
2.0.0

Get-AzContainerRegistryRepository

SYNOPSIS

Get or list ACR repositories.

SYNTAX

ListParameterSet (Default)

Get-AzContainerRegistryRepository [-First <Int32>] -RegistryName <String>
 [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

GetParameterSet

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: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Repository Name.

Type: System.String
Parameter Sets: GetParameterSet
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-RegistryName

Azure Container Registry Name.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-First

First n results.

Type: System.Nullable`1[System.Int32]
Parameter Sets: ListParameterSet
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

System.String

Microsoft.Azure.Commands.ContainerRegistry.Models.PSRepositoryAttribute

NOTES

RELATED LINKS