Get-AzContainerRegistryTag
Get or list ACR tag.
Syntax
ListParameterSet (Default)
Get-AzContainerRegistryTag
-RepositoryName <String>
-RegistryName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
GetParameterSet
Get-AzContainerRegistryTag
-RepositoryName <String>
-Name <String>
-RegistryName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get or list ACR tag.
To use this cmdlet please run
Update-AzContainerRegistryRepository -RegistryName XXX -Repository XXX -ReadEnable $true -ListEnable $true
first.
Examples
Example 1
Get-AzContainerRegistryTag -RegistryName registry -RepositoryName alpine
Registry ImageName Tags
-------- --------- ----
registry.azurecr.io alpine {latest}
List tags for repository alpine under registry.
Example 2
Get-AzContainerRegistryTag -RegistryName registry -RepositoryName alpine -name latest
Registry ImageName Attributes
-------- --------- ----------
registry.azurecr.io alpine Microsoft.Azure.Commands.ContainerRegistry.Models.PSTagAttributeBase
Get tag latest for repository alpine under registry.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Tag.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
GetParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-RegistryName
Azure Container Registry Name.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-RepositoryName
Repository Name.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.