Class TriggerRunAsyncClient
java.lang.Object
com.azure.analytics.synapse.artifacts.TriggerRunAsyncClient
Initializes a new instance of the asynchronous ArtifactsClient type.
-
Method Summary
Modifier and TypeMethodDescriptioncancelTriggerInstance
(String triggerName, String runId) Cancel single trigger instance by runId.cancelTriggerInstanceWithResponse
(String triggerName, String runId) Cancel single trigger instance by runId.queryTriggerRunsByWorkspace
(RunFilterParameters filterParameters) Query trigger runs.queryTriggerRunsByWorkspaceWithResponse
(RunFilterParameters filterParameters) Query trigger runs.rerunTriggerInstance
(String triggerName, String runId) Rerun single trigger instance by runId.rerunTriggerInstanceWithResponse
(String triggerName, String runId) Rerun single trigger instance by runId.
-
Method Details
-
rerunTriggerInstanceWithResponse
Rerun single trigger instance by runId.- Parameters:
triggerName
- The trigger name.runId
- The pipeline run identifier.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
rerunTriggerInstance
Rerun single trigger instance by runId.- Parameters:
triggerName
- The trigger name.runId
- The pipeline run identifier.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
cancelTriggerInstanceWithResponse
Cancel single trigger instance by runId.- Parameters:
triggerName
- The trigger name.runId
- The pipeline run identifier.- Returns:
- the
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
cancelTriggerInstance
Cancel single trigger instance by runId.- Parameters:
triggerName
- The trigger name.runId
- The pipeline run identifier.- Returns:
- A
Mono
that completes when a successful response is received. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
queryTriggerRunsByWorkspaceWithResponse
public Mono<Response<TriggerRunsQueryResponse>> queryTriggerRunsByWorkspaceWithResponse(RunFilterParameters filterParameters) Query trigger runs.- Parameters:
filterParameters
- Parameters to filter the pipeline run.- Returns:
- a list of trigger runs along with
Response
on successful completion ofMono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
queryTriggerRunsByWorkspace
public Mono<TriggerRunsQueryResponse> queryTriggerRunsByWorkspace(RunFilterParameters filterParameters) Query trigger runs.- Parameters:
filterParameters
- Parameters to filter the pipeline run.- Returns:
- a list of trigger runs on successful completion of
Mono
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-