public final class TriggerRunClient extends Object
Modifier and Type | Method and Description |
---|---|
void |
cancelTriggerInstance(String triggerName,
String runId)
Cancel single trigger instance by runId.
|
com.azure.core.http.rest.Response<Void> |
cancelTriggerInstanceWithResponse(String triggerName,
String runId,
com.azure.core.util.Context context)
Cancel single trigger instance by runId.
|
TriggerRunsQueryResponse |
queryTriggerRunsByWorkspace(RunFilterParameters filterParameters)
Query trigger runs.
|
com.azure.core.http.rest.Response<TriggerRunsQueryResponse> |
queryTriggerRunsByWorkspaceWithResponse(RunFilterParameters filterParameters,
com.azure.core.util.Context context)
Query trigger runs.
|
void |
rerunTriggerInstance(String triggerName,
String runId)
Rerun single trigger instance by runId.
|
com.azure.core.http.rest.Response<Void> |
rerunTriggerInstanceWithResponse(String triggerName,
String runId,
com.azure.core.util.Context context)
Rerun single trigger instance by runId.
|
public void rerunTriggerInstance(String triggerName, String runId)
triggerName
- The trigger name.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 com.azure.core.http.rest.Response<Void> rerunTriggerInstanceWithResponse(String triggerName, String runId, com.azure.core.util.Context context)
triggerName
- The trigger name.runId
- The pipeline run identifier.context
- The context to associate with this operation.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 void cancelTriggerInstance(String triggerName, String runId)
triggerName
- The trigger name.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 com.azure.core.http.rest.Response<Void> cancelTriggerInstanceWithResponse(String triggerName, String runId, com.azure.core.util.Context context)
triggerName
- The trigger name.runId
- The pipeline run identifier.context
- The context to associate with this operation.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 TriggerRunsQueryResponse queryTriggerRunsByWorkspace(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 com.azure.core.http.rest.Response<TriggerRunsQueryResponse> queryTriggerRunsByWorkspaceWithResponse(RunFilterParameters filterParameters, com.azure.core.util.Context context)
filterParameters
- Parameters to filter the pipeline run.context
- The context to associate with this operation.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.