Dela via


TaskRunsOperationsExtensions.Create Method

Definition

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

public static Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun Create (this Microsoft.Azure.Management.ContainerRegistry.ITaskRunsOperations operations, string resourceGroupName, string registryName, string taskRunName, Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun taskRun);
static member Create : Microsoft.Azure.Management.ContainerRegistry.ITaskRunsOperations * string * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun -> Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun
<Extension()>
Public Function Create (operations As ITaskRunsOperations, resourceGroupName As String, registryName As String, taskRunName As String, taskRun As TaskRun) As 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.

Returns

Applies to