TaskRuns interface

Interface representing a TaskRuns.

Methods

beginCreate(string, string, string, TaskRun, TaskRunsCreateOptionalParams)

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

beginCreateAndWait(string, string, string, TaskRun, TaskRunsCreateOptionalParams)

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

beginDelete(string, string, string, TaskRunsDeleteOptionalParams)

Deletes a specified task run resource.

beginDeleteAndWait(string, string, string, TaskRunsDeleteOptionalParams)

Deletes a specified task run resource.

beginUpdate(string, string, string, TaskRunUpdateParameters, TaskRunsUpdateOptionalParams)

Updates a task run with the specified parameters.

beginUpdateAndWait(string, string, string, TaskRunUpdateParameters, TaskRunsUpdateOptionalParams)

Updates a task run with the specified parameters.

get(string, string, string, TaskRunsGetOptionalParams)

Gets the detailed information for a given task run.

getDetails(string, string, string, TaskRunsGetDetailsOptionalParams)

Gets the detailed information for a given task run that includes all secrets.

list(string, string, TaskRunsListOptionalParams)

Lists all the task runs for a specified container registry.

Method Details

beginCreate(string, string, string, TaskRun, TaskRunsCreateOptionalParams)

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

function beginCreate(resourceGroupName: string, registryName: string, taskRunName: string, taskRun: TaskRun, options?: TaskRunsCreateOptionalParams): Promise<SimplePollerLike<OperationState<TaskRun>, TaskRun>>

Parameters

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.

options
TaskRunsCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<TaskRun>, TaskRun>>

beginCreateAndWait(string, string, string, TaskRun, TaskRunsCreateOptionalParams)

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

function beginCreateAndWait(resourceGroupName: string, registryName: string, taskRunName: string, taskRun: TaskRun, options?: TaskRunsCreateOptionalParams): Promise<TaskRun>

Parameters

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.

options
TaskRunsCreateOptionalParams

The options parameters.

Returns

Promise<TaskRun>

beginDelete(string, string, string, TaskRunsDeleteOptionalParams)

Deletes a specified task run resource.

function beginDelete(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

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.

options
TaskRunsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, TaskRunsDeleteOptionalParams)

Deletes a specified task run resource.

function beginDeleteAndWait(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>

Parameters

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.

options
TaskRunsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, TaskRunUpdateParameters, TaskRunsUpdateOptionalParams)

Updates a task run with the specified parameters.

function beginUpdate(resourceGroupName: string, registryName: string, taskRunName: string, updateParameters: TaskRunUpdateParameters, options?: TaskRunsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TaskRun>, TaskRun>>

Parameters

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.

options
TaskRunsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<TaskRun>, TaskRun>>

beginUpdateAndWait(string, string, string, TaskRunUpdateParameters, TaskRunsUpdateOptionalParams)

Updates a task run with the specified parameters.

function beginUpdateAndWait(resourceGroupName: string, registryName: string, taskRunName: string, updateParameters: TaskRunUpdateParameters, options?: TaskRunsUpdateOptionalParams): Promise<TaskRun>

Parameters

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.

options
TaskRunsUpdateOptionalParams

The options parameters.

Returns

Promise<TaskRun>

get(string, string, string, TaskRunsGetOptionalParams)

Gets the detailed information for a given task run.

function get(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsGetOptionalParams): Promise<TaskRun>

Parameters

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.

options
TaskRunsGetOptionalParams

The options parameters.

Returns

Promise<TaskRun>

getDetails(string, string, string, TaskRunsGetDetailsOptionalParams)

Gets the detailed information for a given task run that includes all secrets.

function getDetails(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsGetDetailsOptionalParams): Promise<TaskRun>

Parameters

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.

options
TaskRunsGetDetailsOptionalParams

The options parameters.

Returns

Promise<TaskRun>

list(string, string, TaskRunsListOptionalParams)

Lists all the task runs for a specified container registry.

function list(resourceGroupName: string, registryName: string, options?: TaskRunsListOptionalParams): PagedAsyncIterableIterator<TaskRun, TaskRun[], PageSettings>

Parameters

resourceGroupName

string

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

registryName

string

The name of the container registry.

options
TaskRunsListOptionalParams

The options parameters.

Returns