public WorkflowInner getByResourceGroup(String resourceGroupName, String workflowName) {
        return getByResourceGroupWithServiceResponseAsync(resourceGroupName, workflowName).toBlocking().single().body();
    }
public WorkflowInner getByResourceGroup ( String resourceGroupName , String workflowName ) { return getByResourceGroupWithServiceResponseAsync ( resourceGroupName , workflowName ) . toBlocking ( ) . single ( ) . body ( ) ; }
Gets a workflow.

@param resourceGroupName The resource group name.
@param workflowName The workflow name.
@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
@return the WorkflowInner object if successful.