/// <summary>
 /// Regenerates the value for one of the admin user access key for the specified container registry.
 /// </summary>
 /// <param name="resourceGroupName">The resource group name.</param>
 /// <param name="registryName">The registry name.</param>
 /// <param name="accessKeyType">The admin user access key name to regenerate the value for.</param>
 /// <return>The container registry's login credentials.</return>
 Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistries.RegenerateCredential(string resourceGroupName, string registryName, AccessKeyType accessKeyType)
 {
     return(this.RegenerateCredential(resourceGroupName, registryName, accessKeyType) as Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials);
 }
示例#2
0
 /// <summary>
 /// Regenerates one of the login credentials for the specified container registry.
 /// </summary>
 /// <param name="accessKeyType">The admin user access key name to regenerate the value for.</param>
 /// <return>The result of the regeneration.</return>
 Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistry.RegenerateCredential(AccessKeyType accessKeyType)
 {
     return(this.RegenerateCredential(accessKeyType) as Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials);
 }
 /// <summary>
 /// Regenerates the value for one of the admin user access key for the specified container registry.
 /// </summary>
 /// <param name="resourceGroupName">The resource group name.</param>
 /// <param name="registryName">The registry name.</param>
 /// <param name="accessKeyType">The admin user access key name to regenerate the value for.</param>
 /// <return>A representation of the future computation of this call, returning the container registry's login credentials.</return>
 async Task <Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials> Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistries.RegenerateCredentialAsync(string resourceGroupName, string registryName, AccessKeyType accessKeyType, CancellationToken cancellationToken)
 {
     return(await this.RegenerateCredentialAsync(resourceGroupName, registryName, accessKeyType, cancellationToken) as Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials);
 }
示例#4
0
 /// <summary>
 /// Regenerates one of the login credentials for the specified container registry.
 /// </summary>
 /// <param name="accessKeyType">The admin user access key name to regenerate the value for.</param>
 /// <return>A representation of the future computation of this call.</return>
 async Task <Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials> Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistry.RegenerateCredentialAsync(AccessKeyType accessKeyType, CancellationToken cancellationToken)
 {
     return(await this.RegenerateCredentialAsync(accessKeyType, cancellationToken) as Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials);
 }
示例#5
0
 ///GENMHASH:2174CAA91FF57DF106B853211C422772:2D6D6BBDF119ED38C01A18861C7D5699
 public Task <Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials> RegenerateCredentialAsync(AccessKeyType accessKeyType, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.Manager.ContainerRegistries.RegenerateCredentialAsync(this.ResourceGroupName, this.Name, accessKeyType, cancellationToken));
 }
示例#6
0
 ///GENMHASH:84211DE98EABA50A1893179A99F829BF:3B19415E680286BF7BE6455D09E3E76D
 public IRegistryCredentials RegenerateCredential(AccessKeyType accessKeyType)
 {
     return(Extensions.Synchronize(() => this.RegenerateCredentialAsync(accessKeyType)));
 }
示例#7
0
 ///GENMHASH:5B0E9060E6A010D9AEC0DEE8C817853F:81A8B8E3661A768A3015CC178EFC3516
 public async Task <Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistryCredentials> RegenerateCredentialAsync(string resourceGroupName, string registryName, AccessKeyType accessKeyType, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(new RegistryCredentialsImpl(await this.Inner.RegenerateCredentialAsync(resourceGroupName, registryName, accessKeyType.ToPasswordName(), cancellationToken)));
 }
示例#8
0
 ///GENMHASH:9901FC42F194D4C02E5A4EF45224492B:B1F8C403ADAD3A5658412B1A5E6AFFD8
 public IRegistryCredentials RegenerateCredential(string resourceGroupName, string registryName, AccessKeyType accessKeyType)
 {
     return(new RegistryCredentialsImpl(Extensions.Synchronize(() => this.Inner.RegenerateCredentialAsync(resourceGroupName, registryName, accessKeyType.ToPasswordName()))));
 }