Tasks interface

Interface representing a Tasks.

Methods

beginCreate(string, string, string, Task, TasksCreateOptionalParams)

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

beginCreateAndWait(string, string, string, Task, TasksCreateOptionalParams)

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

beginDelete(string, string, string, TasksDeleteOptionalParams)

Deletes a specified task.

beginDeleteAndWait(string, string, string, TasksDeleteOptionalParams)

Deletes a specified task.

beginUpdate(string, string, string, TaskUpdateParameters, TasksUpdateOptionalParams)

Updates a task with the specified parameters.

beginUpdateAndWait(string, string, string, TaskUpdateParameters, TasksUpdateOptionalParams)

Updates a task with the specified parameters.

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.

Method Details

beginCreate(string, string, string, Task, TasksCreateOptionalParams)

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

function beginCreate(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<SimplePollerLike<OperationState<Task>, 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.

taskCreateParameters
Task

The parameters for creating a task.

options
TasksCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, Task, TasksCreateOptionalParams)

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

function beginCreateAndWait(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<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.

taskCreateParameters
Task

The parameters for creating a task.

options
TasksCreateOptionalParams

The options parameters.

Returns

Promise<Task>

beginDelete(string, string, string, TasksDeleteOptionalParams)

Deletes a specified task.

function beginDelete(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): 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.

taskName

string

The name of the container registry task.

options
TasksDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, TasksDeleteOptionalParams)

Deletes a specified task.

function beginDeleteAndWait(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): 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.

taskName

string

The name of the container registry task.

options
TasksDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, TaskUpdateParameters, TasksUpdateOptionalParams)

Updates a task with the specified parameters.

function beginUpdate(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Task>, 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.

taskUpdateParameters
TaskUpdateParameters

The parameters for updating a task.

options
TasksUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, string, TaskUpdateParameters, TasksUpdateOptionalParams)

Updates a task with the specified parameters.

function beginUpdateAndWait(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<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.

taskUpdateParameters
TaskUpdateParameters

The parameters for updating a task.

options
TasksUpdateOptionalParams

The options parameters.

Returns

Promise<Task>

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 to which the container registry belongs.

registryName

string

The name of the container 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 to which the container registry belongs.

registryName

string

The name of the container 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 to which the container registry belongs.

registryName

string

The name of the container registry.

options
TasksListOptionalParams

The options parameters.

Returns