共用方式為


TaskRunsOperationsExtensions.BeginUpdateAsync Method

Definition

Updates a task run with the specified parameters.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun> BeginUpdateAsync (this Microsoft.Azure.Management.ContainerRegistry.ITaskRunsOperations operations, string resourceGroupName, string registryName, string taskRunName, Microsoft.Azure.Management.ContainerRegistry.Models.TaskRunUpdateParameters updateParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.ContainerRegistry.ITaskRunsOperations * string * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.TaskRunUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun>
<Extension()>
Public Function BeginUpdateAsync (operations As ITaskRunsOperations, resourceGroupName As String, registryName As String, taskRunName As String, updateParameters As TaskRunUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TaskRun)

Parameters

operations
ITaskRunsOperations

The operations group for this extension method.

resourceGroupName
String

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

registryName
String

The name of the container registry.

taskRunName
String

The name of the task run.

updateParameters
TaskRunUpdateParameters

The parameters for updating a task run.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to