RegistriesOperationsExtensions.UpdateAsync(IRegistriesOperations, String, String, RegistryUpdateParameters, CancellationToken) Method

Definition

Updates a container registry with the specified parameters.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.Registry> UpdateAsync (this Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations operations, string resourceGroupName, string registryName, Microsoft.Azure.Management.ContainerRegistry.Models.RegistryUpdateParameters registryUpdateParameters, System.Threading.CancellationToken cancellationToken = null);
static member UpdateAsync : Microsoft.Azure.Management.ContainerRegistry.IRegistriesOperations * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.RegistryUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.Registry>

Parameters

operations
IRegistriesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group to which the container registry belongs.

registryName
System.String

The name of the container registry.

registryUpdateParameters
RegistryUpdateParameters

The parameters for updating a container registry.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Registry>

Applies to