Interface WorkflowVersionsClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<WorkflowVersionInner> listAsync(String resourceGroupName, String name, String workflowName, Integer top)
      Gets a list of workflow versions.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site name.
      workflowName - The workflow name.
      top - The number of items to be included in the result.
      Returns:
      a list of workflow versions 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<WorkflowVersionInner> listAsync(String resourceGroupName, String name, String workflowName)
      Gets a list of workflow versions.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site name.
      workflowName - The workflow name.
      Returns:
      a list of workflow versions 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<WorkflowVersionInner> list(String resourceGroupName, String name, String workflowName)
      Gets a list of workflow versions.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site name.
      workflowName - The workflow name.
      Returns:
      a list of workflow versions 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<WorkflowVersionInner> list(String resourceGroupName, String name, String workflowName, Integer top, com.azure.core.util.Context context)
      Gets a list of workflow versions.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site name.
      workflowName - The workflow name.
      top - The number of items to be included in the result.
      context - The context to associate with this operation.
      Returns:
      a list of workflow versions 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<WorkflowVersionInner>> getWithResponseAsync(String resourceGroupName, String name, String workflowName, String versionId)
      Gets a workflow version.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site name.
      workflowName - The workflow name.
      versionId - The workflow versionId.
      Returns:
      a workflow version 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<WorkflowVersionInner> getAsync(String resourceGroupName, String name, String workflowName, String versionId)
      Gets a workflow version.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site name.
      workflowName - The workflow name.
      versionId - The workflow versionId.
      Returns:
      a workflow version 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

      WorkflowVersionInner get(String resourceGroupName, String name, String workflowName, String versionId)
      Gets a workflow version.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site name.
      workflowName - The workflow name.
      versionId - The workflow versionId.
      Returns:
      a workflow version.
      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<WorkflowVersionInner> getWithResponse(String resourceGroupName, String name, String workflowName, String versionId, com.azure.core.util.Context context)
      Gets a workflow version.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Site name.
      workflowName - The workflow name.
      versionId - The workflow versionId.
      context - The context to associate with this operation.
      Returns:
      a workflow version 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.