Interface WorkflowTriggersClient


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

    • list

      com.azure.core.http.rest.PagedIterable<WorkflowTriggerInner> list(String resourceGroupName, String workflowName)
      Gets a list of workflow triggers.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      Returns:
      a list of workflow triggers 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<WorkflowTriggerInner> list(String resourceGroupName, String workflowName, Integer top, String filter, com.azure.core.util.Context context)
      Gets a list of workflow triggers.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      top - The number of items to be included in the result.
      filter - The filter to apply on the operation.
      context - The context to associate with this operation.
      Returns:
      a list of workflow triggers 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<WorkflowTriggerInner> getWithResponse(String resourceGroupName, String workflowName, String triggerName, com.azure.core.util.Context context)
      Gets a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      context - The context to associate with this operation.
      Returns:
      a workflow trigger 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

      WorkflowTriggerInner get(String resourceGroupName, String workflowName, String triggerName)
      Gets a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      Returns:
      a workflow trigger.
      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.
    • resetWithResponse

      com.azure.core.http.rest.Response<Void> resetWithResponse(String resourceGroupName, String workflowName, String triggerName, com.azure.core.util.Context context)
      Resets a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      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.
    • reset

      void reset(String resourceGroupName, String workflowName, String triggerName)
      Resets a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      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.
    • runWithResponse

      com.azure.core.http.rest.Response<Void> runWithResponse(String resourceGroupName, String workflowName, String triggerName, com.azure.core.util.Context context)
      Runs a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      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.
    • run

      void run(String resourceGroupName, String workflowName, String triggerName)
      Runs a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      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.
    • getSchemaJsonWithResponse

      com.azure.core.http.rest.Response<JsonSchemaInner> getSchemaJsonWithResponse(String resourceGroupName, String workflowName, String triggerName, com.azure.core.util.Context context)
      Get the trigger schema as JSON.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      context - The context to associate with this operation.
      Returns:
      the trigger schema as JSON 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.
    • getSchemaJson

      JsonSchemaInner getSchemaJson(String resourceGroupName, String workflowName, String triggerName)
      Get the trigger schema as JSON.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      Returns:
      the trigger schema as JSON.
      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.
    • setStateWithResponse

      com.azure.core.http.rest.Response<Void> setStateWithResponse(String resourceGroupName, String workflowName, String triggerName, SetTriggerStateActionDefinition setState, com.azure.core.util.Context context)
      Sets the state of a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      setState - The workflow trigger state.
      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.
    • setState

      void setState(String resourceGroupName, String workflowName, String triggerName, SetTriggerStateActionDefinition setState)
      Sets the state of a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      setState - The workflow trigger state.
      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.
    • listCallbackUrlWithResponse

      com.azure.core.http.rest.Response<WorkflowTriggerCallbackUrlInner> listCallbackUrlWithResponse(String resourceGroupName, String workflowName, String triggerName, com.azure.core.util.Context context)
      Get the callback URL for a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      context - The context to associate with this operation.
      Returns:
      the callback URL for a workflow trigger 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.
    • listCallbackUrl

      WorkflowTriggerCallbackUrlInner listCallbackUrl(String resourceGroupName, String workflowName, String triggerName)
      Get the callback URL for a workflow trigger.
      Parameters:
      resourceGroupName - The resource group name.
      workflowName - The workflow name.
      triggerName - The workflow trigger name.
      Returns:
      the callback URL for a workflow trigger.
      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.