public interface WorkflowsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginMove(String resourceGroupName,
String workflowName,
WorkflowReference move)
Moves an existing workflow.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginMove(String resourceGroupName,
String workflowName,
WorkflowReference move,
com.azure.core.util.Context context)
Moves an existing workflow.
|
WorkflowInner |
createOrUpdate(String resourceGroupName,
String workflowName,
WorkflowInner workflow)
Creates or updates a workflow.
|
com.azure.core.http.rest.Response<WorkflowInner> |
createOrUpdateWithResponse(String resourceGroupName,
String workflowName,
WorkflowInner workflow,
com.azure.core.util.Context context)
Creates or updates a workflow.
|
void |
delete(String resourceGroupName,
String workflowName)
Deletes a workflow.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String workflowName,
com.azure.core.util.Context context)
Deletes a workflow.
|
void |
disable(String resourceGroupName,
String workflowName)
Disables a workflow.
|
com.azure.core.http.rest.Response<Void> |
disableWithResponse(String resourceGroupName,
String workflowName,
com.azure.core.util.Context context)
Disables a workflow.
|
void |
enable(String resourceGroupName,
String workflowName)
Enables a workflow.
|
com.azure.core.http.rest.Response<Void> |
enableWithResponse(String resourceGroupName,
String workflowName,
com.azure.core.util.Context context)
Enables a workflow.
|
Object |
generateUpgradedDefinition(String resourceGroupName,
String workflowName,
GenerateUpgradedDefinitionParameters parameters)
Generates the upgraded definition for a workflow.
|
com.azure.core.http.rest.Response<Object> |
generateUpgradedDefinitionWithResponse(String resourceGroupName,
String workflowName,
GenerateUpgradedDefinitionParameters parameters,
com.azure.core.util.Context context)
Generates the upgraded definition for a workflow.
|
WorkflowInner |
getByResourceGroup(String resourceGroupName,
String workflowName)
Gets a workflow.
|
com.azure.core.http.rest.Response<WorkflowInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String workflowName,
com.azure.core.util.Context context)
Gets a workflow.
|
com.azure.core.http.rest.PagedIterable<WorkflowInner> |
list()
Gets a list of workflows by subscription.
|
com.azure.core.http.rest.PagedIterable<WorkflowInner> |
list(Integer top,
String filter,
com.azure.core.util.Context context)
Gets a list of workflows by subscription.
|
com.azure.core.http.rest.PagedIterable<WorkflowInner> |
listByResourceGroup(String resourceGroupName)
Gets a list of workflows by resource group.
|
com.azure.core.http.rest.PagedIterable<WorkflowInner> |
listByResourceGroup(String resourceGroupName,
Integer top,
String filter,
com.azure.core.util.Context context)
Gets a list of workflows by resource group.
|
WorkflowTriggerCallbackUrlInner |
listCallbackUrl(String resourceGroupName,
String workflowName,
GetCallbackUrlParameters listCallbackUrl)
Get the workflow callback Url.
|
com.azure.core.http.rest.Response<WorkflowTriggerCallbackUrlInner> |
listCallbackUrlWithResponse(String resourceGroupName,
String workflowName,
GetCallbackUrlParameters listCallbackUrl,
com.azure.core.util.Context context)
Get the workflow callback Url.
|
Object |
listSwagger(String resourceGroupName,
String workflowName)
Gets an OpenAPI definition for the workflow.
|
com.azure.core.http.rest.Response<Object> |
listSwaggerWithResponse(String resourceGroupName,
String workflowName,
com.azure.core.util.Context context)
Gets an OpenAPI definition for the workflow.
|
void |
move(String resourceGroupName,
String workflowName,
WorkflowReference move)
Moves an existing workflow.
|
void |
move(String resourceGroupName,
String workflowName,
WorkflowReference move,
com.azure.core.util.Context context)
Moves an existing workflow.
|
void |
regenerateAccessKey(String resourceGroupName,
String workflowName,
RegenerateActionParameter keyType)
Regenerates the callback URL access key for request triggers.
|
com.azure.core.http.rest.Response<Void> |
regenerateAccessKeyWithResponse(String resourceGroupName,
String workflowName,
RegenerateActionParameter keyType,
com.azure.core.util.Context context)
Regenerates the callback URL access key for request triggers.
|
WorkflowInner |
update(String resourceGroupName,
String workflowName)
Updates a workflow.
|
com.azure.core.http.rest.Response<WorkflowInner> |
updateWithResponse(String resourceGroupName,
String workflowName,
com.azure.core.util.Context context)
Updates a workflow.
|
void |
validateByLocation(String resourceGroupName,
String location,
String workflowName,
WorkflowInner validate)
Validates the workflow definition.
|
com.azure.core.http.rest.Response<Void> |
validateByLocationWithResponse(String resourceGroupName,
String location,
String workflowName,
WorkflowInner validate,
com.azure.core.util.Context context)
Validates the workflow definition.
|
void |
validateByResourceGroup(String resourceGroupName,
String workflowName,
WorkflowInner validate)
Validates the workflow.
|
com.azure.core.http.rest.Response<Void> |
validateByResourceGroupWithResponse(String resourceGroupName,
String workflowName,
WorkflowInner validate,
com.azure.core.util.Context context)
Validates the workflow.
|
com.azure.core.http.rest.PagedIterable<WorkflowInner> list()
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<WorkflowInner> list(Integer top, String filter, com.azure.core.util.Context context)
top
- The number of items to be included in the result.filter
- The filter to apply on the operation. Options for filters include: State, Trigger, and
ReferencedResourceId.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.com.azure.core.http.rest.PagedIterable<WorkflowInner> listByResourceGroup(String resourceGroupName)
resourceGroupName
- The resource group 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<WorkflowInner> listByResourceGroup(String resourceGroupName, Integer top, String filter, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.top
- The number of items to be included in the result.filter
- The filter to apply on the operation. Options for filters include: State, Trigger, and
ReferencedResourceId.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.WorkflowInner getByResourceGroup(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.Response<WorkflowInner> getByResourceGroupWithResponse(String resourceGroupName, String workflowName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow 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.WorkflowInner createOrUpdate(String resourceGroupName, String workflowName, WorkflowInner workflow)
resourceGroupName
- The resource group name.workflowName
- The workflow name.workflow
- The workflow.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<WorkflowInner> createOrUpdateWithResponse(String resourceGroupName, String workflowName, WorkflowInner workflow, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.workflow
- The workflow.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.WorkflowInner update(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.Response<WorkflowInner> updateWithResponse(String resourceGroupName, String workflowName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow 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 delete(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.Response<Void> deleteWithResponse(String resourceGroupName, String workflowName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow 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 disable(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.Response<Void> disableWithResponse(String resourceGroupName, String workflowName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow 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 enable(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.Response<Void> enableWithResponse(String resourceGroupName, String workflowName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow 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.Object generateUpgradedDefinition(String resourceGroupName, String workflowName, GenerateUpgradedDefinitionParameters parameters)
resourceGroupName
- The resource group name.workflowName
- The workflow name.parameters
- Parameters for generating an upgraded definition.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<Object> generateUpgradedDefinitionWithResponse(String resourceGroupName, String workflowName, GenerateUpgradedDefinitionParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.parameters
- Parameters for generating an upgraded definition.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.WorkflowTriggerCallbackUrlInner listCallbackUrl(String resourceGroupName, String workflowName, GetCallbackUrlParameters listCallbackUrl)
resourceGroupName
- The resource group name.workflowName
- The workflow name.listCallbackUrl
- Which callback url to list.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<WorkflowTriggerCallbackUrlInner> listCallbackUrlWithResponse(String resourceGroupName, String workflowName, GetCallbackUrlParameters listCallbackUrl, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.listCallbackUrl
- Which callback url to list.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.Object listSwagger(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.Response<Object> listSwaggerWithResponse(String resourceGroupName, String workflowName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow 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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginMove(String resourceGroupName, String workflowName, WorkflowReference move)
resourceGroupName
- The resource group name.workflowName
- The workflow name.move
- The workflow to move.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginMove(String resourceGroupName, String workflowName, WorkflowReference move, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.move
- The workflow to move.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 move(String resourceGroupName, String workflowName, WorkflowReference move)
resourceGroupName
- The resource group name.workflowName
- The workflow name.move
- The workflow to move.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 move(String resourceGroupName, String workflowName, WorkflowReference move, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.move
- The workflow to move.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 regenerateAccessKey(String resourceGroupName, String workflowName, RegenerateActionParameter keyType)
resourceGroupName
- The resource group name.workflowName
- The workflow name.keyType
- The access key type.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> regenerateAccessKeyWithResponse(String resourceGroupName, String workflowName, RegenerateActionParameter keyType, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.keyType
- The access key type.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 validateByResourceGroup(String resourceGroupName, String workflowName, WorkflowInner validate)
resourceGroupName
- The resource group name.workflowName
- The workflow name.validate
- The workflow.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> validateByResourceGroupWithResponse(String resourceGroupName, String workflowName, WorkflowInner validate, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.workflowName
- The workflow name.validate
- The workflow.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 validateByLocation(String resourceGroupName, String location, String workflowName, WorkflowInner validate)
resourceGroupName
- The resource group name.location
- The workflow location.workflowName
- The workflow name.validate
- The workflow.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> validateByLocationWithResponse(String resourceGroupName, String location, String workflowName, WorkflowInner validate, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.location
- The workflow location.workflowName
- The workflow name.validate
- The workflow.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.