RegistryTaskRuns Interface

public interface RegistryTaskRuns

An immutable client-side representation of collection of Azure registry task runs.

Method Summary

Modifier and Type Method and Description
abstract void cancel(String rgName, String acrName, String runId)

The function that cancels a task run.

abstract Mono<Void> cancelAsync(String rgName, String acrName, String runId)

The function that cancels a task run asynchronously.

abstract String getLogSasUrl(String rgName, String acrName, String runId)

The function that returns the URI to the task run logs.

abstract Mono<String> getLogSasUrlAsync(String rgName, String acrName, String runId)

The function that returns the URI to the task run logs asynchronously.

abstract PagedIterable<RegistryTaskRun> listByRegistry(String rgName, String acrName)

The function that lists the RegistryTaskRun instances in a registry asynch.

abstract PagedFlux<RegistryTaskRun> listByRegistryAsync(String rgName, String acrName)

The function that lists the RegistryTaskRun instances in a registry asynchronously.

abstract BlankFromRuns scheduleRun()

The function that begins the steps to schedule a run.

Method Details

cancel

public abstract void cancel(String rgName, String acrName, String runId)

The function that cancels a task run.

Parameters:

rgName - the resource group of the parent registry.
acrName - the name of the parent registry.
runId - the id of the task run.

cancelAsync

public abstract Mono cancelAsync(String rgName, String acrName, String runId)

The function that cancels a task run asynchronously.

Parameters:

rgName - the resource group of the parent registry.
acrName - the name of the parent registry.
runId - the id of the task run.

Returns:

handle to the request.

getLogSasUrl

public abstract String getLogSasUrl(String rgName, String acrName, String runId)

The function that returns the URI to the task run logs.

Parameters:

rgName - the resource group of the parent registry.
acrName - the name of the parent registry.
runId - the id of the task run.

Returns:

the URI to the task run logs.

getLogSasUrlAsync

public abstract Mono getLogSasUrlAsync(String rgName, String acrName, String runId)

The function that returns the URI to the task run logs asynchronously.

Parameters:

rgName - the resource group of the parent registry.
acrName - the name of the parent registry.
runId - the id of the task run.

Returns:

the URI to the task run logs.

listByRegistry

public abstract PagedIterable listByRegistry(String rgName, String acrName)

The function that lists the RegistryTaskRun instances in a registry asynch.

Parameters:

rgName - the resource group of the parent registry.
acrName - the name of the parent registry.

Returns:

the list of RegistryTaskRun instances.

listByRegistryAsync

public abstract PagedFlux listByRegistryAsync(String rgName, String acrName)

The function that lists the RegistryTaskRun instances in a registry asynchronously.

Parameters:

rgName - the resource group of the parent registry.
acrName - the name of the parent registry.

Returns:

the list of RegistryTaskRun instances.

scheduleRun

public abstract RegistryTaskRun.DefinitionStages.BlankFromRuns scheduleRun()

The function that begins the steps to schedule a run.

Returns:

the next step in the execution of a run.

Applies to