Class TriggerRunAsyncClient

java.lang.Object
com.azure.analytics.synapse.artifacts.TriggerRunAsyncClient

public final class TriggerRunAsyncClient extends Object
Initializes a new instance of the asynchronous ArtifactsClient type.
  • Method Details

    • rerunTriggerInstanceWithResponse

      public Mono<com.azure.core.http.rest.Response<Void>> rerunTriggerInstanceWithResponse(String triggerName, String runId)
      Rerun single trigger instance by runId.
      Parameters:
      triggerName - The trigger name.
      runId - The pipeline run identifier.
      Returns:
      the Response 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.
    • rerunTriggerInstance

      public Mono<Void> rerunTriggerInstance(String triggerName, String runId)
      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

      public Mono<com.azure.core.http.rest.Response<Void>> cancelTriggerInstanceWithResponse(String triggerName, String runId)
      Cancel single trigger instance by runId.
      Parameters:
      triggerName - The trigger name.
      runId - The pipeline run identifier.
      Returns:
      the Response 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.
    • cancelTriggerInstance

      public Mono<Void> cancelTriggerInstance(String triggerName, String runId)
      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<com.azure.core.http.rest.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 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.
    • 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.