次の方法で共有


RegistriesOperationsExtensions.RegenerateCredentialAsync メソッド

定義

指定されたコンテナー レジストリのログイン資格情報の 1 つを再生成します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.RegistryListCredentialsResult> RegenerateCredentialAsync(this Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations operations, string resourceGroupName, string registryName, Microsoft.Azure.Management.ContainerRegistry.Models.PasswordName name, System.Threading.CancellationToken cancellationToken = default);
static member RegenerateCredentialAsync : Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.PasswordName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.RegistryListCredentialsResult>
<Extension()>
Public Function RegenerateCredentialAsync (operations As IRegistriesOperations, resourceGroupName As String, registryName As String, name As PasswordName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RegistryListCredentialsResult)

パラメーター

operations
IRegistriesOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

コンテナー レジストリが属するリソース グループの名前。

registryName
String

コンテナー レジストリの名前。

name
PasswordName

再生成する必要があるパスワードの名前 (password または password2) を指定します。 使用できる値は、'password'、'password2' です。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象