次の方法で共有


Get-AzContainerRegistryRepository

ACR リポジトリを取得または一覧表示します。

構文

ListParameterSet (既定)

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

GetParameterSet

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

説明

ACR リポジトリを取得または一覧表示します。 リストはリポジトリ名のみを返します。

例 1

Get-AzContainerRegistryRepository -RegistryName registry
alpine
test/busybox0
test/busybox1
test/busybox10

レジストリ内のすべてのリポジトリを一覧表示します。

例 2

Get-AzContainerRegistryRepository -RegistryName registry -First 3
alpine
test/busybox0
test/busybox1

レジストリの最初の 3 つのリポジトリを一覧表示します。

例 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

レジストリの下のリポジトリ alpine を取得します。

パラメーター

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

パラメーターのプロパティ

型:IAzureContextContainer
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-First

最初の n 個の結果。

パラメーターのプロパティ

型:

Nullable<T>[Int32]

規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

ListParameterSet
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-Name

リポジトリ名。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

GetParameterSet
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

-RegistryName

Azure Container Registry Name。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

入力

String

出力

String

PSRepositoryAttribute