TaskRunsClient Interface

public interface TaskRunsClient

An instance of this class provides access to all the operations defined in TaskRunsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<TaskRunInner>,TaskRunInner> beginCreate(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

abstract SyncPoller<PollResult<TaskRunInner>,TaskRunInner> beginCreate(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun, Context context)

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

abstract PollerFlux<PollResult<TaskRunInner>,TaskRunInner> beginCreateAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String taskRunName, Context context)

Deletes a specified task run resource.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

abstract SyncPoller<PollResult<TaskRunInner>,TaskRunInner> beginUpdate(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

abstract SyncPoller<PollResult<TaskRunInner>,TaskRunInner> beginUpdate(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters, Context context)

Updates a task run with the specified parameters.

abstract PollerFlux<PollResult<TaskRunInner>,TaskRunInner> beginUpdateAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

abstract TaskRunInner create(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

abstract TaskRunInner create(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun, Context context)

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

abstract Mono<TaskRunInner> createAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

abstract void delete(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

abstract void delete(String resourceGroupName, String registryName, String taskRunName, Context context)

Deletes a specified task run resource.

abstract Mono<Void> deleteAsync(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

abstract TaskRunInner get(String resourceGroupName, String registryName, String taskRunName)

Gets the detailed information for a given task run.

abstract Mono<TaskRunInner> getAsync(String resourceGroupName, String registryName, String taskRunName)

Gets the detailed information for a given task run.

abstract TaskRunInner getDetails(String resourceGroupName, String registryName, String taskRunName)

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

abstract Mono<TaskRunInner> getDetailsAsync(String resourceGroupName, String registryName, String taskRunName)

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

abstract Response<TaskRunInner> getDetailsWithResponse(String resourceGroupName, String registryName, String taskRunName, Context context)

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

abstract Mono<Response<TaskRunInner>> getDetailsWithResponseAsync(String resourceGroupName, String registryName, String taskRunName)

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

abstract Response<TaskRunInner> getWithResponse(String resourceGroupName, String registryName, String taskRunName, Context context)

Gets the detailed information for a given task run.

abstract Mono<Response<TaskRunInner>> getWithResponseAsync(String resourceGroupName, String registryName, String taskRunName)

Gets the detailed information for a given task run.

abstract PagedIterable<TaskRunInner> list(String resourceGroupName, String registryName)

Lists all the task runs for a specified container registry.

abstract PagedIterable<TaskRunInner> list(String resourceGroupName, String registryName, Context context)

Lists all the task runs for a specified container registry.

abstract PagedFlux<TaskRunInner> listAsync(String resourceGroupName, String registryName)

Lists all the task runs for a specified container registry.

abstract TaskRunInner update(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

abstract TaskRunInner update(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters, Context context)

Updates a task run with the specified parameters.

abstract Mono<TaskRunInner> updateAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

Method Details

beginCreate

public abstract SyncPoller,TaskRunInner> beginCreate(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
taskRun - The parameters of a run that needs to scheduled.

Returns:

the SyncPoller<T,U> for polling of the task run that has the ARM resource and properties.

beginCreate

public abstract SyncPoller,TaskRunInner> beginCreate(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun, Context context)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
taskRun - The parameters of a run that needs to scheduled.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the task run that has the ARM resource and properties.

beginCreateAsync

public abstract PollerFlux,TaskRunInner> beginCreateAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
taskRun - The parameters of a run that needs to scheduled.

Returns:

the PollerFlux<T,U> for polling of the task run that has the ARM resource and properties.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String registryName, String taskRunName, Context context)

Deletes a specified task run resource.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,TaskRunInner> beginUpdate(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
updateParameters - The parameters for updating a task run.

Returns:

the SyncPoller<T,U> for polling of the task run that has the ARM resource and properties.

beginUpdate

public abstract SyncPoller,TaskRunInner> beginUpdate(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters, Context context)

Updates a task run with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
updateParameters - The parameters for updating a task run.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of the task run that has the ARM resource and properties.

beginUpdateAsync

public abstract PollerFlux,TaskRunInner> beginUpdateAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
updateParameters - The parameters for updating a task run.

Returns:

the PollerFlux<T,U> for polling of the task run that has the ARM resource and properties.

create

public abstract TaskRunInner create(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
taskRun - The parameters of a run that needs to scheduled.

Returns:

the task run that has the ARM resource and properties.

create

public abstract TaskRunInner create(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun, Context context)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
taskRun - The parameters of a run that needs to scheduled.
context - The context to associate with this operation.

Returns:

the task run that has the ARM resource and properties.

createAsync

public abstract Mono createAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
taskRun - The parameters of a run that needs to scheduled.

Returns:

the task run that has the ARM resource and properties on successful completion of Mono.

createWithResponseAsync

public abstract Mono>> createWithResponseAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
taskRun - The parameters of a run that needs to scheduled.

Returns:

the task run that has the ARM resource and properties along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

delete

public abstract void delete(String resourceGroupName, String registryName, String taskRunName, Context context)

Deletes a specified task run resource.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String registryName, String taskRunName)

Deletes a specified task run resource.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract TaskRunInner get(String resourceGroupName, String registryName, String taskRunName)

Gets the detailed information for a given task run.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

the detailed information for a given task run.

getAsync

public abstract Mono getAsync(String resourceGroupName, String registryName, String taskRunName)

Gets the detailed information for a given task run.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

the detailed information for a given task run on successful completion of Mono.

getDetails

public abstract TaskRunInner getDetails(String resourceGroupName, String registryName, String taskRunName)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

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

getDetailsAsync

public abstract Mono getDetailsAsync(String resourceGroupName, String registryName, String taskRunName)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

the detailed information for a given task run that includes all secrets on successful completion of Mono.

getDetailsWithResponse

public abstract Response getDetailsWithResponse(String resourceGroupName, String registryName, String taskRunName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
context - The context to associate with this operation.

Returns:

the detailed information for a given task run that includes all secrets along with Response<T>.

getDetailsWithResponseAsync

public abstract Mono> getDetailsWithResponseAsync(String resourceGroupName, String registryName, String taskRunName)

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

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

the detailed information for a given task run that includes all secrets along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String registryName, String taskRunName, Context context)

Gets the detailed information for a given task run.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
context - The context to associate with this operation.

Returns:

the detailed information for a given task run along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String registryName, String taskRunName)

Gets the detailed information for a given task run.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.

Returns:

the detailed information for a given task run along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String registryName)

Lists all the task runs for a specified container registry.

Parameters:

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

Returns:

the collection of task runs as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String registryName, Context context)

Lists all the task runs for a specified container registry.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
context - The context to associate with this operation.

Returns:

the collection of task runs as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String registryName)

Lists all the task runs for a specified container registry.

Parameters:

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

Returns:

the collection of task runs as paginated response with PagedFlux<T>.

update

public abstract TaskRunInner update(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
updateParameters - The parameters for updating a task run.

Returns:

the task run that has the ARM resource and properties.

update

public abstract TaskRunInner update(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters, Context context)

Updates a task run with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
updateParameters - The parameters for updating a task run.
context - The context to associate with this operation.

Returns:

the task run that has the ARM resource and properties.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
updateParameters - The parameters for updating a task run.

Returns:

the task run that has the ARM resource and properties on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)

Updates a task run with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskRunName - The name of the task run.
updateParameters - The parameters for updating a task run.

Returns:

the task run that has the ARM resource and properties along with Response<T> on successful completion of Mono.

Applies to