Interface WorkflowTriggerHistories
public interface WorkflowTriggerHistories
Resource collection API of WorkflowTriggerHistories.
-
Method Summary
Modifier and TypeMethodDescriptionGets a workflow trigger history.com.azure.core.http.rest.Response<WorkflowTriggerHistory>
getWithResponse
(String resourceGroupName, String workflowName, String triggerName, String historyName, com.azure.core.util.Context context) Gets a workflow trigger history.com.azure.core.http.rest.PagedIterable<WorkflowTriggerHistory>
Gets a list of workflow trigger histories.com.azure.core.http.rest.PagedIterable<WorkflowTriggerHistory>
list
(String resourceGroupName, String workflowName, String triggerName, Integer top, String filter, com.azure.core.util.Context context) Gets a list of workflow trigger histories.void
Resubmits a workflow run based on the trigger history.com.azure.core.http.rest.Response<Void>
resubmitWithResponse
(String resourceGroupName, String workflowName, String triggerName, String historyName, com.azure.core.util.Context context) Resubmits a workflow run based on the trigger history.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<WorkflowTriggerHistory> list(String resourceGroupName, String workflowName, String triggerName) Gets a list of workflow trigger histories.- Parameters:
resourceGroupName
- The resource group name.workflowName
- The workflow name.triggerName
- The workflow trigger name.- Returns:
- a list of workflow trigger histories as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<WorkflowTriggerHistory> list(String resourceGroupName, String workflowName, String triggerName, Integer top, String filter, com.azure.core.util.Context context) Gets a list of workflow trigger histories.- Parameters:
resourceGroupName
- The resource group name.workflowName
- The workflow name.triggerName
- The workflow trigger name.top
- The number of items to be included in the result.filter
- The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.context
- The context to associate with this operation.- Returns:
- a list of workflow trigger histories as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<WorkflowTriggerHistory> getWithResponse(String resourceGroupName, String workflowName, String triggerName, String historyName, com.azure.core.util.Context context) Gets a workflow trigger history.- Parameters:
resourceGroupName
- The resource group name.workflowName
- The workflow name.triggerName
- The workflow trigger name.historyName
- The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.context
- The context to associate with this operation.- Returns:
- a workflow trigger history along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
WorkflowTriggerHistory get(String resourceGroupName, String workflowName, String triggerName, String historyName) Gets a workflow trigger history.- Parameters:
resourceGroupName
- The resource group name.workflowName
- The workflow name.triggerName
- The workflow trigger name.historyName
- The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.- Returns:
- a workflow trigger history.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
resubmitWithResponse
com.azure.core.http.rest.Response<Void> resubmitWithResponse(String resourceGroupName, String workflowName, String triggerName, String historyName, com.azure.core.util.Context context) Resubmits a workflow run based on the trigger history.- Parameters:
resourceGroupName
- The resource group name.workflowName
- The workflow name.triggerName
- The workflow trigger name.historyName
- The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
resubmit
void resubmit(String resourceGroupName, String workflowName, String triggerName, String historyName) Resubmits a workflow run based on the trigger history.- Parameters:
resourceGroupName
- The resource group name.workflowName
- The workflow name.triggerName
- The workflow trigger name.historyName
- The workflow trigger history name. Corresponds to the run name for triggers that resulted in a run.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-