Interface WorkflowTriggerHistoriesClient


public interface WorkflowTriggerHistoriesClient
An instance of this class provides access to all the operations defined in WorkflowTriggerHistoriesClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<WorkflowTriggerHistoryInner> listAsync(String resourceGroupName, String name, String workflowName, String triggerName, Integer top, String filter)
      Gets a list of workflow trigger histories.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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.
      Returns:
      a list of workflow trigger histories as paginated response with PagedFlux.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<WorkflowTriggerHistoryInner> listAsync(String resourceGroupName, String name, String workflowName, String triggerName)
      Gets a list of workflow trigger histories.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      Returns:
      a list of workflow trigger histories as paginated response with PagedFlux.
      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<WorkflowTriggerHistoryInner> list(String resourceGroupName, String name, String workflowName, String triggerName)
      Gets a list of workflow trigger histories.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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<WorkflowTriggerHistoryInner> list(String resourceGroupName, String name, String workflowName, String triggerName, Integer top, String filter, com.azure.core.util.Context context)
      Gets a list of workflow trigger histories.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<WorkflowTriggerHistoryInner>> getWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName, String historyName)
      Gets a workflow trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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 along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<WorkflowTriggerHistoryInner> getAsync(String resourceGroupName, String name, String workflowName, String triggerName, String historyName)
      Gets a workflow trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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 on successful completion of Mono.
      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

      WorkflowTriggerHistoryInner get(String resourceGroupName, String name, String workflowName, String triggerName, String historyName)
      Gets a workflow trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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.
    • getWithResponse

      com.azure.core.http.rest.Response<WorkflowTriggerHistoryInner> getWithResponse(String resourceGroupName, String name, String workflowName, String triggerName, String historyName, com.azure.core.util.Context context)
      Gets a workflow trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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.
    • resubmitWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resubmitWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName, String historyName)
      Resubmits a workflow run based on the trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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:
      the Response on successful completion of Mono.
      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.
    • beginResubmitAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginResubmitAsync(String resourceGroupName, String name, String workflowName, String triggerName, String historyName)
      Resubmits a workflow run based on the trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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:
      the PollerFlux for polling of long-running operation.
      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.
    • beginResubmit

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResubmit(String resourceGroupName, String name, String workflowName, String triggerName, String historyName)
      Resubmits a workflow run based on the trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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:
      the SyncPoller for polling of long-running operation.
      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.
    • beginResubmit

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResubmit(String resourceGroupName, String name, String workflowName, String triggerName, String historyName, com.azure.core.util.Context context)
      Resubmits a workflow run based on the trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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 SyncPoller for polling of long-running operation.
      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.
    • resubmitAsync

      Mono<Void> resubmitAsync(String resourceGroupName, String name, String workflowName, String triggerName, String historyName)
      Resubmits a workflow run based on the trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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 Mono that completes when a successful response is received.
      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 name, String workflowName, String triggerName, String historyName)
      Resubmits a workflow run based on the trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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.
    • resubmit

      void resubmit(String resourceGroupName, String name, String workflowName, String triggerName, String historyName, com.azure.core.util.Context context)
      Resubmits a workflow run based on the trigger history.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site 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.
      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.