Interface WorkflowsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<WorkflowInner> list()
      Gets a list of workflows associated with the specified subscription.
      Returns:
      a list of workflows associated with the specified subscription as paginated response with PagedIterable.
      Throws:
      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<WorkflowInner> list(com.azure.core.util.Context context)
      Gets a list of workflows associated with the specified subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      a list of workflows associated with the specified subscription 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<WorkflowInner> listByResourceGroup(String resourceGroupName)
      Gets a list of workflows within a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      a list of workflows within a resource group 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<WorkflowInner> listByResourceGroup(String resourceGroupName, String managedClusterResource, com.azure.core.util.Context context)
      Gets a list of workflows within a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      managedClusterResource - The ManagedCluster resource associated with the workflows.
      context - The context to associate with this operation.
      Returns:
      a list of workflows within a resource group 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.
    • getByResourceGroup

      WorkflowInner getByResourceGroup(String resourceGroupName, String workflowName)
      Gets a workflow.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workflowName - The name of the workflow resource.
      Returns:
      a workflow.
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<WorkflowInner> getByResourceGroupWithResponse(String resourceGroupName, String workflowName, com.azure.core.util.Context context)
      Gets a workflow.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workflowName - The name of the workflow resource.
      context - The context to associate with this operation.
      Returns:
      a workflow 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.
    • createOrUpdate

      WorkflowInner createOrUpdate(String resourceGroupName, String workflowName, WorkflowInner parameters)
      Creates or updates a workflow.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workflowName - The name of the workflow resource.
      parameters - Resource representation of a workflow.
      Returns:
      workflow.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<WorkflowInner> createOrUpdateWithResponse(String resourceGroupName, String workflowName, WorkflowInner parameters, com.azure.core.util.Context context)
      Creates or updates a workflow.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workflowName - The name of the workflow resource.
      parameters - Resource representation of a workflow.
      context - The context to associate with this operation.
      Returns:
      workflow 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.
    • delete

      DeleteWorkflowResponseInner delete(String resourceGroupName, String workflowName)
      Deletes a workflow.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workflowName - The name of the workflow resource.
      Returns:
      delete response if content must be provided on delete 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<DeleteWorkflowResponseInner> deleteWithResponse(String resourceGroupName, String workflowName, com.azure.core.util.Context context)
      Deletes a workflow.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workflowName - The name of the workflow resource.
      context - The context to associate with this operation.
      Returns:
      delete response if content must be provided on delete operation 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.
    • updateTags

      WorkflowInner updateTags(String resourceGroupName, String workflowName, TagsObject parameters)
      Updates tags on a workflow.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workflowName - The name of the workflow resource.
      parameters - Parameters supplied to the Update Workflow Tags operation.
      Returns:
      workflow.
      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.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<WorkflowInner> updateTagsWithResponse(String resourceGroupName, String workflowName, TagsObject parameters, com.azure.core.util.Context context)
      Updates tags on a workflow.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workflowName - The name of the workflow resource.
      parameters - Parameters supplied to the Update Workflow Tags operation.
      context - The context to associate with this operation.
      Returns:
      workflow 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.