public final class PipelineRunAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<Void> |
cancelPipelineRun(String runId)
Cancel a pipeline run by its run ID.
|
Mono<Void> |
cancelPipelineRun(String runId,
Boolean isRecursive)
Cancel a pipeline run by its run ID.
|
Mono<com.azure.core.http.rest.Response<Void>> |
cancelPipelineRunWithResponse(String runId,
Boolean isRecursive)
Cancel a pipeline run by its run ID.
|
Mono<PipelineRun> |
getPipelineRun(String runId)
Get a pipeline run by its run ID.
|
Mono<com.azure.core.http.rest.Response<PipelineRun>> |
getPipelineRunWithResponse(String runId)
Get a pipeline run by its run ID.
|
Mono<ActivityRunsQueryResponse> |
queryActivityRuns(String pipelineName,
String runId,
RunFilterParameters filterParameters)
Query activity runs based on input filter conditions.
|
Mono<com.azure.core.http.rest.Response<ActivityRunsQueryResponse>> |
queryActivityRunsWithResponse(String pipelineName,
String runId,
RunFilterParameters filterParameters)
Query activity runs based on input filter conditions.
|
Mono<PipelineRunsQueryResponse> |
queryPipelineRunsByWorkspace(RunFilterParameters filterParameters)
Query pipeline runs in the workspace based on input filter conditions.
|
Mono<com.azure.core.http.rest.Response<PipelineRunsQueryResponse>> |
queryPipelineRunsByWorkspaceWithResponse(RunFilterParameters filterParameters)
Query pipeline runs in the workspace based on input filter conditions.
|
public Mono<com.azure.core.http.rest.Response<PipelineRunsQueryResponse>> queryPipelineRunsByWorkspaceWithResponse(RunFilterParameters filterParameters)
filterParameters
- Parameters to filter the pipeline run.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.public Mono<PipelineRunsQueryResponse> queryPipelineRunsByWorkspace(RunFilterParameters filterParameters)
filterParameters
- Parameters to filter the pipeline run.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.public Mono<com.azure.core.http.rest.Response<PipelineRun>> getPipelineRunWithResponse(String runId)
runId
- The pipeline run identifier.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.public Mono<PipelineRun> getPipelineRun(String runId)
runId
- The pipeline run identifier.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.public Mono<com.azure.core.http.rest.Response<ActivityRunsQueryResponse>> queryActivityRunsWithResponse(String pipelineName, String runId, RunFilterParameters filterParameters)
pipelineName
- The pipeline name.runId
- The pipeline run identifier.filterParameters
- Parameters to filter the activity runs.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.public Mono<ActivityRunsQueryResponse> queryActivityRuns(String pipelineName, String runId, RunFilterParameters filterParameters)
pipelineName
- The pipeline name.runId
- The pipeline run identifier.filterParameters
- Parameters to filter the activity runs.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.public Mono<com.azure.core.http.rest.Response<Void>> cancelPipelineRunWithResponse(String runId, Boolean isRecursive)
runId
- The pipeline run identifier.isRecursive
- If true, cancel all the Child pipelines that are triggered by the current pipeline.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.public Mono<Void> cancelPipelineRun(String runId, Boolean isRecursive)
runId
- The pipeline run identifier.isRecursive
- If true, cancel all the Child pipelines that are triggered by the current pipeline.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.public Mono<Void> cancelPipelineRun(String runId)
runId
- The pipeline run identifier.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.Copyright © 2021 Microsoft Corporation. All rights reserved.