TriggerRunsClient Interface

public interface TriggerRunsClient

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

Method Summary

Modifier and Type Method and Description
abstract void cancel(String resourceGroupName, String factoryName, String triggerName, String runId)

Cancel a single trigger instance by runId.

abstract Response<Void> cancelWithResponse(String resourceGroupName, String factoryName, String triggerName, String runId, Context context)

Cancel a single trigger instance by runId.

abstract TriggerRunsQueryResponseInner queryByFactory(String resourceGroupName, String factoryName, RunFilterParameters filterParameters)

Query trigger runs.

abstract Response<TriggerRunsQueryResponseInner> queryByFactoryWithResponse(String resourceGroupName, String factoryName, RunFilterParameters filterParameters, Context context)

Query trigger runs.

abstract void rerun(String resourceGroupName, String factoryName, String triggerName, String runId)

Rerun single trigger instance by runId.

abstract Response<Void> rerunWithResponse(String resourceGroupName, String factoryName, String triggerName, String runId, Context context)

Rerun single trigger instance by runId.

Method Details

cancel

public abstract void cancel(String resourceGroupName, String factoryName, String triggerName, String runId)

Cancel a single trigger instance by runId.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
triggerName - The trigger name.
runId - The pipeline run identifier.

cancelWithResponse

public abstract Response cancelWithResponse(String resourceGroupName, String factoryName, String triggerName, String runId, Context context)

Cancel a single trigger instance by runId.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
triggerName - The trigger name.
runId - The pipeline run identifier.
context - The context to associate with this operation.

Returns:

queryByFactory

public abstract TriggerRunsQueryResponseInner queryByFactory(String resourceGroupName, String factoryName, RunFilterParameters filterParameters)

Query trigger runs.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
filterParameters - Parameters to filter the pipeline run.

Returns:

a list of trigger runs.

queryByFactoryWithResponse

public abstract Response queryByFactoryWithResponse(String resourceGroupName, String factoryName, RunFilterParameters filterParameters, Context context)

Query trigger runs.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
filterParameters - Parameters to filter the pipeline run.
context - The context to associate with this operation.

Returns:

a list of trigger runs along with Response<T>.

rerun

public abstract void rerun(String resourceGroupName, String factoryName, String triggerName, String runId)

Rerun single trigger instance by runId.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
triggerName - The trigger name.
runId - The pipeline run identifier.

rerunWithResponse

public abstract Response rerunWithResponse(String resourceGroupName, String factoryName, String triggerName, String runId, Context context)

Rerun single trigger instance by runId.

Parameters:

resourceGroupName - The resource group name.
factoryName - The factory name.
triggerName - The trigger name.
runId - The pipeline run identifier.
context - The context to associate with this operation.

Returns:

Applies to