Interface WorkflowVersionsClient
public interface WorkflowVersionsClient
An instance of this class provides access to all the operations defined in WorkflowVersionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets a workflow version.com.azure.core.http.rest.Response<WorkflowVersionInner>
getWithResponse
(String resourceGroupName, String workflowName, String versionId, com.azure.core.util.Context context) Gets a workflow version.com.azure.core.http.rest.PagedIterable<WorkflowVersionInner>
Gets a list of workflow versions.com.azure.core.http.rest.PagedIterable<WorkflowVersionInner>
list
(String resourceGroupName, String workflowName, Integer top, com.azure.core.util.Context context) Gets a list of workflow versions.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<WorkflowVersionInner> list(String resourceGroupName, String workflowName) Gets a list of workflow versions.- Parameters:
resourceGroupName
- The resource group 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 workflowName, Integer top, com.azure.core.util.Context context) Gets a list of workflow versions.- Parameters:
resourceGroupName
- The resource group 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.
-
getWithResponse
com.azure.core.http.rest.Response<WorkflowVersionInner> getWithResponse(String resourceGroupName, String workflowName, String versionId, com.azure.core.util.Context context) Gets a workflow version.- Parameters:
resourceGroupName
- The resource group 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.
-
get
Gets a workflow version.- Parameters:
resourceGroupName
- The resource group 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.
-