你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IRegistry.RegenerateCredentialAsync(AccessKeyType, CancellationToken) 方法

定义

为指定容器注册表重新生成一个登录凭据。

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials> RegenerateCredentialAsync (Microsoft.Azure.Management.ContainerRegistry.Fluent.AccessKeyType accessKeyType, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateCredentialAsync : Microsoft.Azure.Management.ContainerRegistry.Fluent.AccessKeyType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials>
Public Function RegenerateCredentialAsync (accessKeyType As AccessKeyType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IRegistryCredentials)

参数

accessKeyType
AccessKeyType

要为其重新生成值的管理员用户访问密钥名称。

cancellationToken
CancellationToken

返回

适用于