TriggerRunClient Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.TriggerRunClient

public final class TriggerRunClient

Initializes a new instance of the synchronous ArtifactsClient type.

Methods inherited from java.lang.Object

Method Details

cancelTriggerInstance

public void cancelTriggerInstance(String triggerName, String runId)

Cancel single trigger instance by runId.

Parameters:

triggerName - The trigger name.
runId - The pipeline run identifier.

cancelTriggerInstanceWithResponse

public Response<Void> cancelTriggerInstanceWithResponse(String triggerName, String runId, Context context)

Cancel single trigger instance by runId.

Parameters:

triggerName - The trigger name.
runId - The pipeline run identifier.
context - The context to associate with this operation.

Returns:

queryTriggerRunsByWorkspace

public TriggerRunsQueryResponse queryTriggerRunsByWorkspace(RunFilterParameters filterParameters)

Query trigger runs.

Parameters:

filterParameters - Parameters to filter the pipeline run.

Returns:

a list of trigger runs.

queryTriggerRunsByWorkspaceWithResponse

public Response<TriggerRunsQueryResponse> queryTriggerRunsByWorkspaceWithResponse(RunFilterParameters filterParameters, Context context)

Query trigger runs.

Parameters:

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>.

rerunTriggerInstance

public void rerunTriggerInstance(String triggerName, String runId)

Rerun single trigger instance by runId.

Parameters:

triggerName - The trigger name.
runId - The pipeline run identifier.

rerunTriggerInstanceWithResponse

public Response<Void> rerunTriggerInstanceWithResponse(String triggerName, String runId, Context context)

Rerun single trigger instance by runId.

Parameters:

triggerName - The trigger name.
runId - The pipeline run identifier.
context - The context to associate with this operation.

Returns:

Applies to