public interface Workflows
Modifier and Type | Method and Description |
---|---|
Workflow.DefinitionStages.Blank |
define(String name)
Begins definition for a new Workflow resource.
|
void |
deleteById(String id)
Deletes a workflow.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes a workflow.
|
void |
deleteByResourceGroup(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.
|
Workflow |
getById(String id)
Gets a workflow.
|
com.azure.core.http.rest.Response<Workflow> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Gets a workflow.
|
Workflow |
getByResourceGroup(String resourceGroupName,
String workflowName)
Gets a workflow.
|
com.azure.core.http.rest.Response<Workflow> |
getByResourceGroupWithResponse(String resourceGroupName,
String workflowName,
com.azure.core.util.Context context)
Gets a workflow.
|
com.azure.core.http.rest.PagedIterable<Workflow> |
list()
Gets a list of workflows by subscription.
|
com.azure.core.http.rest.PagedIterable<Workflow> |
list(Integer top,
String filter,
com.azure.core.util.Context context)
Gets a list of workflows by subscription.
|
com.azure.core.http.rest.PagedIterable<Workflow> |
listByResourceGroup(String resourceGroupName)
Gets a list of workflows by resource group.
|
com.azure.core.http.rest.PagedIterable<Workflow> |
listByResourceGroup(String resourceGroupName,
Integer top,
String filter,
com.azure.core.util.Context context)
Gets a list of workflows by resource group.
|
WorkflowTriggerCallbackUrl |
listCallbackUrl(String resourceGroupName,
String workflowName,
GetCallbackUrlParameters listCallbackUrl)
Get the workflow callback Url.
|
com.azure.core.http.rest.Response<WorkflowTriggerCallbackUrl> |
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.
|
Workflow |
update(String resourceGroupName,
String workflowName)
Updates a workflow.
|
com.azure.core.http.rest.Response<Workflow> |
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<Workflow> 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<Workflow> 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<Workflow> 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<Workflow> 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.Workflow 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<Workflow> 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.Workflow 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<Workflow> 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 deleteByResourceGroup(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.WorkflowTriggerCallbackUrl 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<WorkflowTriggerCallbackUrl> 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.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.Workflow getById(String id)
id
- the resource ID.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<Workflow> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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 deleteById(String id)
id
- the resource ID.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> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.Workflow.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.