Get-AzContainerRegistryRepository
Mendapatkan atau mencantumkan repositori ACR.
Sintaks
Get-AzContainerRegistryRepository
[-First <Int32>]
-RegistryName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzContainerRegistryRepository
-Name <String>
-RegistryName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Deskripsi
Mendapatkan atau mencantumkan repositori ACR. Daftar hanya mengembalikan nama repositori.
Contoh
Contoh 1
Get-AzContainerRegistryRepository -RegistryName registry
alpine
test/busybox0
test/busybox1
test/busybox10
Mencantumkan semua repositori dalam registri.
Contoh 2
Get-AzContainerRegistryRepository -RegistryName registry -First 3
alpine
test/busybox0
test/busybox1
Daftar 3 repositori pertama dalam registri.
Contoh 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
Dapatkan repositori alpine di bawah registri.
Parameter
-DefaultProfile
Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-First
Hasil n pertama.
Type: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Nama Repositori.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-RegistryName
Nama Azure Container Registry.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |