共用方式為


TasksClient Interface

public interface TasksClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<TaskInner>,TaskInner> beginCreate(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

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

abstract SyncPoller<PollResult<TaskInner>,TaskInner> beginCreate(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters, Context context)

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

abstract PollerFlux<PollResult<TaskInner>,TaskInner> beginCreateAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

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

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

Deletes a specified task.

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

Deletes a specified task.

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

Deletes a specified task.

abstract SyncPoller<PollResult<TaskInner>,TaskInner> beginUpdate(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task with the specified parameters.

abstract SyncPoller<PollResult<TaskInner>,TaskInner> beginUpdate(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters, Context context)

Updates a task with the specified parameters.

abstract PollerFlux<PollResult<TaskInner>,TaskInner> beginUpdateAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task with the specified parameters.

abstract TaskInner create(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

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

abstract TaskInner create(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters, Context context)

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

abstract Mono<TaskInner> createAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

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

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

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

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

Deletes a specified task.

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

Deletes a specified task.

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

Deletes a specified task.

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

Deletes a specified task.

abstract TaskInner get(String resourceGroupName, String registryName, String taskName)

Get the properties of a specified task.

abstract Mono<TaskInner> getAsync(String resourceGroupName, String registryName, String taskName)

Get the properties of a specified task.

abstract TaskInner getDetails(String resourceGroupName, String registryName, String taskName)

Returns a task with extended information that includes all secrets.

abstract Mono<TaskInner> getDetailsAsync(String resourceGroupName, String registryName, String taskName)

Returns a task with extended information that includes all secrets.

abstract Response<TaskInner> getDetailsWithResponse(String resourceGroupName, String registryName, String taskName, Context context)

Returns a task with extended information that includes all secrets.

abstract Mono<Response<TaskInner>> getDetailsWithResponseAsync(String resourceGroupName, String registryName, String taskName)

Returns a task with extended information that includes all secrets.

abstract Response<TaskInner> getWithResponse(String resourceGroupName, String registryName, String taskName, Context context)

Get the properties of a specified task.

abstract Mono<Response<TaskInner>> getWithResponseAsync(String resourceGroupName, String registryName, String taskName)

Get the properties of a specified task.

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

Lists all the tasks for a specified container registry.

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

Lists all the tasks for a specified container registry.

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

Lists all the tasks for a specified container registry.

abstract TaskInner update(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task with the specified parameters.

abstract TaskInner update(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters, Context context)

Updates a task with the specified parameters.

abstract Mono<TaskInner> updateAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task with the specified parameters.

Method Details

beginCreate

public abstract SyncPoller,TaskInner> beginCreate(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

Creates a task 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.
taskName - The name of the container registry task.
taskCreateParameters - The parameters for creating a task.

Returns:

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

beginCreate

public abstract SyncPoller,TaskInner> beginCreate(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters, Context context)

Creates a task 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.
taskName - The name of the container registry task.
taskCreateParameters - The parameters for creating a task.
context - The context to associate with this operation.

Returns:

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

beginCreateAsync

public abstract PollerFlux,TaskInner> beginCreateAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

Creates a task 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.
taskName - The name of the container registry task.
taskCreateParameters - The parameters for creating a task.

Returns:

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

beginDelete

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

Deletes a specified task.

Parameters:

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

Returns:

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

beginDelete

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

Deletes a specified task.

Parameters:

resourceGroupName - The name of the resource group to which the container registry belongs.
registryName - The name of the container registry.
taskName - The name of the container registry task.
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 taskName)

Deletes a specified task.

Parameters:

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

Returns:

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

beginUpdate

public abstract SyncPoller,TaskInner> beginUpdate(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task 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.
taskName - The name of the container registry task.
taskUpdateParameters - The parameters for updating a task.

Returns:

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

beginUpdate

public abstract SyncPoller,TaskInner> beginUpdate(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters, Context context)

Updates a task 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.
taskName - The name of the container registry task.
taskUpdateParameters - The parameters for updating a task.
context - The context to associate with this operation.

Returns:

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

beginUpdateAsync

public abstract PollerFlux,TaskInner> beginUpdateAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task 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.
taskName - The name of the container registry task.
taskUpdateParameters - The parameters for updating a task.

Returns:

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

create

public abstract TaskInner create(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

Creates a task 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.
taskName - The name of the container registry task.
taskCreateParameters - The parameters for creating a task.

Returns:

the task that has the ARM resource and task properties.

create

public abstract TaskInner create(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters, Context context)

Creates a task 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.
taskName - The name of the container registry task.
taskCreateParameters - The parameters for creating a task.
context - The context to associate with this operation.

Returns:

the task that has the ARM resource and task properties.

createAsync

public abstract Mono createAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

Creates a task 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.
taskName - The name of the container registry task.
taskCreateParameters - The parameters for creating a task.

Returns:

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

createWithResponseAsync

public abstract Mono>> createWithResponseAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters)

Creates a task 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.
taskName - The name of the container registry task.
taskCreateParameters - The parameters for creating a task.

Returns:

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

delete

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

Deletes a specified task.

Parameters:

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

delete

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

Deletes a specified task.

Parameters:

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

deleteAsync

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

Deletes a specified task.

Parameters:

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

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

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

Deletes a specified task.

Parameters:

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

Returns:

the Response<T> on successful completion of Mono.

get

public abstract TaskInner get(String resourceGroupName, String registryName, String taskName)

Get the properties of a specified task.

Parameters:

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

Returns:

the properties of a specified task.

getAsync

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

Get the properties of a specified task.

Parameters:

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

Returns:

the properties of a specified task on successful completion of Mono.

getDetails

public abstract TaskInner getDetails(String resourceGroupName, String registryName, String taskName)

Returns a task with extended information 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.
taskName - The name of the container registry task.

Returns:

the task that has the ARM resource and task properties.

getDetailsAsync

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

Returns a task with extended information 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.
taskName - The name of the container registry task.

Returns:

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

getDetailsWithResponse

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

Returns a task with extended information 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.
taskName - The name of the container registry task.
context - The context to associate with this operation.

Returns:

the task that has the ARM resource and task properties along with Response<T>.

getDetailsWithResponseAsync

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

Returns a task with extended information 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.
taskName - The name of the container registry task.

Returns:

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

getWithResponse

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

Get the properties of a specified task.

Parameters:

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

Returns:

the properties of a specified task along with Response<T>.

getWithResponseAsync

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

Get the properties of a specified task.

Parameters:

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

Returns:

the properties of a specified task along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String registryName)

Lists all the tasks 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 tasks as paginated response with PagedIterable<T>.

list

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

Lists all the tasks 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 tasks as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String registryName)

Lists all the tasks 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 tasks as paginated response with PagedFlux<T>.

update

public abstract TaskInner update(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task 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.
taskName - The name of the container registry task.
taskUpdateParameters - The parameters for updating a task.

Returns:

the task that has the ARM resource and task properties.

update

public abstract TaskInner update(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters, Context context)

Updates a task 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.
taskName - The name of the container registry task.
taskUpdateParameters - The parameters for updating a task.
context - The context to associate with this operation.

Returns:

the task that has the ARM resource and task properties.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task 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.
taskName - The name of the container registry task.
taskUpdateParameters - The parameters for updating a task.

Returns:

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

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters)

Updates a task 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.
taskName - The name of the container registry task.
taskUpdateParameters - The parameters for updating a task.

Returns:

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

Applies to