ContainerRegistryTaskResource.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates a task with the specified parameters.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
- Operation Id: Tasks_Update
- Default Api Version: 2025-03-01-preview
- Resource: ContainerRegistryTaskResource
public virtual Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryTaskResource> Update(Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTaskPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTaskPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryTaskResource>
override this.Update : Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTaskPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryTaskResource>
Public Overridable Function Update (patch As ContainerRegistryTaskPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerRegistryTaskResource)
Parameters
The parameters for updating a task.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.