code: public void resubmit(String resourceGroupName, String workflowName, String triggerName, String historyName) {
          resubmitWithServiceResponseAsync(resourceGroupName, workflowName, triggerName, historyName).toBlocking().single().body();
      }
docs: Resubmits a workflow run based on the trigger history.
  
  @param resourceGroupName The resource group name.
  @param workflowName The workflow name.
  @param triggerName The workflow trigger name.
  @param 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
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent