Partager via


RegistryTasks Interface

Implements

public interface RegistryTasks
extends SupportsCreating<Blank>

Interface to define the RegistryTasks collection.

Method Summary

Modifier and Type Method and Description
abstract void deleteByRegistry(String resourceGroupName, String registryName, String taskName)

Deletes a task in a registry.

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

Deletes a task in a registry asynchronously.

abstract RegistryTask getByRegistry(String resourceGroupName, String registryName, String taskName, boolean includeSecrets)

Gets a task in a registry.

abstract Mono<RegistryTask> getByRegistryAsync(String resourceGroupName, String registryName, String taskName, boolean includeSecrets)

Gets a task in a registry asynchronously.

abstract PagedIterable<RegistryTask> listByRegistry(String resourceGroupName, String registryName)

Lists the tasks in a registry.

abstract PagedFlux<RegistryTask> listByRegistryAsync(String resourceGroupName, String registryName)

Lists the tasks in a registry asynchronously.

Method Details

deleteByRegistry

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

Deletes a task in a registry.

Parameters:

resourceGroupName - the resource group of the parent registry.
registryName - the name of the parent registry.
taskName - the name of the task.

deleteByRegistryAsync

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

Deletes a task in a registry asynchronously.

Parameters:

resourceGroupName - the resource group of the parent registry.
registryName - the name of the parent registry.
taskName - the name of the task.

Returns:

the handle to the request.

getByRegistry

public abstract RegistryTask getByRegistry(String resourceGroupName, String registryName, String taskName, boolean includeSecrets)

Gets a task in a registry.

Parameters:

resourceGroupName - the resource group of the parent registry.
registryName - the name of the parent registry.
taskName - the name of the task.
includeSecrets - whether to include secrets or not.

Returns:

the task

getByRegistryAsync

public abstract Mono getByRegistryAsync(String resourceGroupName, String registryName, String taskName, boolean includeSecrets)

Gets a task in a registry asynchronously.

Parameters:

resourceGroupName - the resource group of the parent registry.
registryName - the name of the parent registry.
taskName - the name of the task.
includeSecrets - whether to include secrets or not.

Returns:

the task

listByRegistry

public abstract PagedIterable listByRegistry(String resourceGroupName, String registryName)

Lists the tasks in a registry.

Parameters:

resourceGroupName - the resource group of the parent registry.
registryName - the name of the parent registry.

Returns:

the tasks with parent registry registry.

listByRegistryAsync

public abstract PagedFlux listByRegistryAsync(String resourceGroupName, String registryName)

Lists the tasks in a registry asynchronously.

Parameters:

resourceGroupName - the resource group of the parent registry.
registryName - the name of the parent registry.

Returns:

the tasks with parent registry registry.

Applies to