Package version:

Interface representing a TaskRuns.

interface TaskRuns {
    beginCreate(resourceGroupName: string, registryName: string, taskRunName: string, taskRun: TaskRun, options?: TaskRunsCreateOptionalParams): Promise<SimplePollerLike<OperationState<TaskRun>, TaskRun>>;
    beginCreateAndWait(resourceGroupName: string, registryName: string, taskRunName: string, taskRun: TaskRun, options?: TaskRunsCreateOptionalParams): Promise<TaskRun>;
    beginUpdate(resourceGroupName: string, registryName: string, taskRunName: string, updateParameters: TaskRunUpdateParameters, options?: TaskRunsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TaskRun>, TaskRun>>;
    beginUpdateAndWait(resourceGroupName: string, registryName: string, taskRunName: string, updateParameters: TaskRunUpdateParameters, options?: TaskRunsUpdateOptionalParams): Promise<TaskRun>;
    delete(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>;
    get(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsGetOptionalParams): Promise<TaskRun>;
    getDetails(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsGetDetailsOptionalParams): Promise<TaskRun>;
    list(resourceGroupName: string, registryName: string, options?: TaskRunsListOptionalParams): PagedAsyncIterableIterator<TaskRun>;
}

Methods

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

    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.

    • Optionaloptions: TaskRunsCreateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<TaskRun>, TaskRun>>

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

    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.

    • Optionaloptions: TaskRunsCreateOptionalParams

      The options parameters.

    Returns Promise<TaskRun>

  • Updates a task run with the specified parameters.

    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.

    • Optionaloptions: TaskRunsUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<TaskRun>, TaskRun>>

  • Updates a task run with the specified parameters.

    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.

    • Optionaloptions: TaskRunsUpdateOptionalParams

      The options parameters.

    Returns Promise<TaskRun>

  • Deletes a specified task run resource.

    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.

    • Optionaloptions: TaskRunsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Gets the detailed information for a given task run.

    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.

    • Optionaloptions: TaskRunsGetOptionalParams

      The options parameters.

    Returns Promise<TaskRun>

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

    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.

    • Optionaloptions: TaskRunsGetDetailsOptionalParams

      The options parameters.

    Returns Promise<TaskRun>

  • Lists all the task runs for a specified container registry.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • Optionaloptions: TaskRunsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<TaskRun>