Package version:

Interface representing a Tasks.

interface Tasks {
    create(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<Task>;
    delete(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
    get(resourceGroupName: string, registryName: string, taskName: string, options?: TasksGetOptionalParams): Promise<Task>;
    getDetails(resourceGroupName: string, registryName: string, taskName: string, options?: TasksGetDetailsOptionalParams): Promise<Task>;
    list(resourceGroupName: string, registryName: string, options?: TasksListOptionalParams): PagedAsyncIterableIterator<Task>;
    update(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<Task>;
}

Methods

  • Creates a task 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.

    • taskName: string

      The name of the container registry task.

    • taskCreateParameters: Task

      The parameters for creating a task.

    • Optionaloptions: TasksCreateOptionalParams

      The options parameters.

    Returns Promise<Task>

  • Deletes a specified task.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • taskName: string

      The name of the container registry task.

    • Optionaloptions: TasksDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Get the properties of a specified task.

    Parameters

    • resourceGroupName: string

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

    • registryName: string

      The name of the container registry.

    • taskName: string

      The name of the container registry task.

    • Optionaloptions: TasksGetOptionalParams

      The options parameters.

    Returns Promise<Task>

  • Returns a task with extended information 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.

    • taskName: string

      The name of the container registry task.

    • Optionaloptions: TasksGetDetailsOptionalParams

      The options parameters.

    Returns Promise<Task>

  • Lists all the tasks 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: TasksListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Task>

  • Updates a task 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.

    • taskName: string

      The name of the container registry task.

    • taskUpdateParameters: TaskUpdateParameters

      The parameters for updating a task.

    • Optionaloptions: TasksUpdateOptionalParams

      The options parameters.

    Returns Promise<Task>