public interface WorkflowRunsClient
Modifier and Type | Method and Description |
---|---|
void |
cancel(String resourceGroupName,
String workflowName,
String runName)
Cancels a workflow run.
|
com.azure.core.http.rest.Response<Void> |
cancelWithResponse(String resourceGroupName,
String workflowName,
String runName,
com.azure.core.util.Context context)
Cancels a workflow run.
|
WorkflowRunInner |
get(String resourceGroupName,
String workflowName,
String runName)
Gets a workflow run.
|
com.azure.core.http.rest.Response<WorkflowRunInner> |
getWithResponse(String resourceGroupName,
String workflowName,
String runName,
com.azure.core.util.Context context)
Gets a workflow run.
|
com.azure.core.http.rest.PagedIterable<WorkflowRunInner> |
list(String resourceGroupName,
String workflowName)
Gets a list of workflow runs.
|
com.azure.core.http.rest.PagedIterable<WorkflowRunInner> |
list(String resourceGroupName,
String workflowName,
Integer top,
String filter,
com.azure.core.util.Context context)
Gets a list of workflow runs.
|
com.azure.core.http.rest.PagedIterable<WorkflowRunInner> list(String resourceGroupName, String workflowName)
resourceGroupName
- The resource group name.workflowName
- The workflow name.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.com.azure.core.http.rest.PagedIterable<WorkflowRunInner> list(String resourceGroupName, String workflowName, Integer top, String filter, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.top
- The number of items to be included in the result.filter
- The filter to apply on the operation. Options for filters include: Status, StartTime, and
ClientTrackingId.context
- The context to associate with this operation.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.WorkflowRunInner get(String resourceGroupName, String workflowName, String runName)
resourceGroupName
- The resource group name.workflowName
- The workflow name.runName
- The workflow run name.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.com.azure.core.http.rest.Response<WorkflowRunInner> getWithResponse(String resourceGroupName, String workflowName, String runName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.runName
- The workflow run name.context
- The context to associate with this operation.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.void cancel(String resourceGroupName, String workflowName, String runName)
resourceGroupName
- The resource group name.workflowName
- The workflow name.runName
- The workflow run name.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.com.azure.core.http.rest.Response<Void> cancelWithResponse(String resourceGroupName, String workflowName, String runName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.runName
- The workflow run name.context
- The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.