TaskRunsOperationsExtensions.BeginCreateAsync Method

Definition

Creates a task run for a container registry with the specified parameters.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun> BeginCreateAsync (this Microsoft.Azure.Management.ContainerRegistry.ITaskRunsOperations operations, string resourceGroupName, string registryName, string taskRunName, Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun taskRun, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.ContainerRegistry.ITaskRunsOperations * string * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun>
<Extension()>
Public Function BeginCreateAsync (operations As ITaskRunsOperations, resourceGroupName As String, registryName As String, taskRunName As String, taskRun As TaskRun, 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.

taskRun
TaskRun

The parameters of a run that needs to scheduled.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to