WorkflowsClient Interface

public interface WorkflowsClient

An instance of this class provides access to all the operations defined in WorkflowsClient.

Method Summary

Modifier and Type Method and Description
abstract WorkflowInner createOrUpdate(String resourceGroupName, String workflowName, WorkflowInner parameters)

Creates or updates a workflow.

abstract Response<WorkflowInner> createOrUpdateWithResponse(String resourceGroupName, String workflowName, WorkflowInner parameters, Context context)

Creates or updates a workflow.

abstract DeleteWorkflowResponseInner delete(String resourceGroupName, String workflowName)

Deletes a workflow.

abstract Response<DeleteWorkflowResponseInner> deleteWithResponse(String resourceGroupName, String workflowName, Context context)

Deletes a workflow.

abstract WorkflowInner getByResourceGroup(String resourceGroupName, String workflowName)

Gets a workflow.

abstract Response<WorkflowInner> getByResourceGroupWithResponse(String resourceGroupName, String workflowName, Context context)

Gets a workflow.

abstract PagedIterable<WorkflowInner> list()

Gets a list of workflows associated with the specified subscription.

abstract PagedIterable<WorkflowInner> list(Context context)

Gets a list of workflows associated with the specified subscription.

abstract PagedIterable<WorkflowInner> listByResourceGroup(String resourceGroupName)

Gets a list of workflows within a resource group.

abstract PagedIterable<WorkflowInner> listByResourceGroup(String resourceGroupName, String managedClusterResource, Context context)

Gets a list of workflows within a resource group.

abstract WorkflowInner updateTags(String resourceGroupName, String workflowName, TagsObject parameters)

Updates tags on a workflow.

abstract Response<WorkflowInner> updateTagsWithResponse(String resourceGroupName, String workflowName, TagsObject parameters, Context context)

Updates tags on a workflow.

Method Details

createOrUpdate

public abstract 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 - The parameters parameter.

Returns:

workflow.

createOrUpdateWithResponse

public abstract Response<WorkflowInner> createOrUpdateWithResponse(String resourceGroupName, String workflowName, WorkflowInner parameters, 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 - The parameters parameter.
context - The context to associate with this operation.

Returns:

workflow along with Response<T>.

delete

public abstract 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.

deleteWithResponse

public abstract Response<DeleteWorkflowResponseInner> deleteWithResponse(String resourceGroupName, String workflowName, 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<T>.

getByResourceGroup

public abstract 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.

getByResourceGroupWithResponse

public abstract Response<WorkflowInner> getByResourceGroupWithResponse(String resourceGroupName, String workflowName, 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<T>.

list

public abstract 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<T>.

list

public abstract PagedIterable<WorkflowInner> list(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<T>.

listByResourceGroup

public abstract 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<T>.

listByResourceGroup

public abstract PagedIterable<WorkflowInner> listByResourceGroup(String resourceGroupName, String managedClusterResource, 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<T>.

updateTags

public abstract 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.

updateTagsWithResponse

public abstract Response<WorkflowInner> updateTagsWithResponse(String resourceGroupName, String workflowName, TagsObject parameters, 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<T>.

Applies to