Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskRunsImpl

Package version

Class containing TaskRuns operations.

Hierarchy

  • TaskRunsImpl

Implements

Index

Constructors

constructor

Methods

beginCreate

beginCreateAndWait

  • 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.

    • Optional options: TaskRunsCreateOptionalParams

      The options parameters.

    Returns Promise<TaskRunsCreateResponse>

beginDelete

  • beginDelete(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
  • 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.

    • Optional options: TaskRunsDeleteOptionalParams

      The options parameters.

    Returns Promise<PollerLike<PollOperationState<void>, void>>

beginDeleteAndWait

  • beginDeleteAndWait(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>
  • 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.

    • Optional options: TaskRunsDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

beginUpdate

beginUpdateAndWait

get

  • 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.

    • Optional options: TaskRunsGetOptionalParams

      The options parameters.

    Returns Promise<TaskRunsGetResponse>

getDetails

list

  • 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.

    • Optional options: TaskRunsListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<TaskRun>

Generated using TypeDoc