Share via


Tasks interface

Interface representing a Tasks.

Methods

create(string, string, string, Task, TasksCreateOptionalParams)

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

delete(string, string, string, TasksDeleteOptionalParams)

Deletes a specified task.

get(string, string, string, TasksGetOptionalParams)

Get the properties of a specified task.

getDetails(string, string, string, TasksGetDetailsOptionalParams)

Returns a task with extended information that includes all secrets.

list(string, string, TasksListOptionalParams)

Lists all the tasks for a specified container registry.

update(string, string, string, TaskUpdateParameters, TasksUpdateOptionalParams)

Updates a task with the specified parameters.

Method Details

create(string, string, string, Task, TasksCreateOptionalParams)

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

function create(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<Task>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the Registry

taskName

string

The name of the container registry task.

taskCreateParameters
Task

The parameters for creating a task.

options
TasksCreateOptionalParams

The options parameters.

Returns

Promise<Task>

delete(string, string, string, TasksDeleteOptionalParams)

Deletes a specified task.

function delete(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the Registry

taskName

string

The name of the container registry task.

options
TasksDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, TasksGetOptionalParams)

Get the properties of a specified task.

function get(resourceGroupName: string, registryName: string, taskName: string, options?: TasksGetOptionalParams): Promise<Task>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the Registry

taskName

string

The name of the container registry task.

options
TasksGetOptionalParams

The options parameters.

Returns

Promise<Task>

getDetails(string, string, string, TasksGetDetailsOptionalParams)

Returns a task with extended information that includes all secrets.

function getDetails(resourceGroupName: string, registryName: string, taskName: string, options?: TasksGetDetailsOptionalParams): Promise<Task>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the Registry

taskName

string

The name of the container registry task.

options
TasksGetDetailsOptionalParams

The options parameters.

Returns

Promise<Task>

list(string, string, TasksListOptionalParams)

Lists all the tasks for a specified container registry.

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

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the Registry

options
TasksListOptionalParams

The options parameters.

Returns

update(string, string, string, TaskUpdateParameters, TasksUpdateOptionalParams)

Updates a task with the specified parameters.

function update(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<Task>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

registryName

string

The name of the Registry

taskName

string

The name of the container registry task.

taskUpdateParameters
TaskUpdateParameters

The parameters for updating a task.

options
TasksUpdateOptionalParams

The options parameters.

Returns

Promise<Task>