Workflows - Move
Moves an existing workflow.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/move?api-version=2016-06-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string |
The resource group name. |
|
subscription
|
path | True |
string |
The subscription id. |
|
workflow
|
path | True |
string |
The workflow name. |
|
api-version
|
query | True |
string |
The API version. |
Request Body
| Name | Type | Description |
|---|---|---|
| location |
string |
The resource location. |
| properties.definition |
The definition. See Schema reference for Workflow Definition Language in Azure Logic Apps. |
|
| properties.integrationAccount |
The integration account. |
|
| properties.parameters |
<string,
Workflow |
The parameters. |
| properties.sku |
The sku. |
|
| properties.state |
The state. |
|
| tags |
object |
The resource tags. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| 202 Accepted |
No Content |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
Move a workflow
Sample request
POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflow/move?api-version=2016-06-01
{
"properties": {
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"triggers": {},
"actions": {},
"outputs": {}
}
},
"location": "brazilsouth",
"tags": {}
}
Sample response
Definitions
| Name | Description |
|---|---|
| Object | |
|
Parameter |
|
|
Resource |
The resource reference. |
| Sku |
The sku type. |
|
Sku |
The sku name. |
| Workflow |
The workflow type. |
|
Workflow |
The workflow parameters. |
|
Workflow |
|
|
Workflow |
Object
ParameterType
| Value | Description |
|---|---|
| NotSpecified | |
| String | |
| SecureString | |
| Int | |
| Float | |
| Bool | |
| Array | |
| Object | |
| SecureObject |
ResourceReference
The resource reference.
| Name | Type | Description |
|---|---|---|
| id |
string |
The resource id. |
| name |
string |
Gets the resource name. |
| type |
string |
Gets the resource type. |
Sku
The sku type.
| Name | Type | Description |
|---|---|---|
| name |
The name. |
|
| plan |
The reference to plan. |
SkuName
The sku name.
| Value | Description |
|---|---|
| NotSpecified | |
| Free | |
| Shared | |
| Basic | |
| Standard | |
| Premium |
Workflow
The workflow type.
| Name | Type | Description |
|---|---|---|
| id |
string |
The resource id. |
| location |
string |
The resource location. |
| name |
string |
Gets the resource name. |
| properties.accessEndpoint |
string |
Gets the access endpoint. |
| properties.changedTime |
string (date-time) |
Gets the changed time. |
| properties.createdTime |
string (date-time) |
Gets the created time. |
| properties.definition |
The definition. See Schema reference for Workflow Definition Language in Azure Logic Apps. |
|
| properties.integrationAccount |
The integration account. |
|
| properties.parameters |
<string,
Workflow |
The parameters. |
| properties.provisioningState |
Gets the provisioning state. |
|
| properties.sku |
The sku. |
|
| properties.state |
The state. |
|
| properties.version |
string |
Gets the version. |
| tags |
object |
The resource tags. |
| type |
string |
Gets the resource type. |
WorkflowParameter
The workflow parameters.
| Name | Type | Description |
|---|---|---|
| description |
string |
The description. |
| metadata |
The metadata. |
|
| type |
The type. |
|
| value |
The value. |
WorkflowProvisioningState
| Value | Description |
|---|---|
| NotSpecified | |
| Accepted | |
| Running | |
| Ready | |
| Creating | |
| Created | |
| Deleting | |
| Deleted | |
| Canceled | |
| Failed | |
| Succeeded | |
| Moving | |
| Updating | |
| Registering | |
| Registered | |
| Unregistering | |
| Unregistered | |
| Completed |
WorkflowState
| Value | Description |
|---|---|
| NotSpecified | |
| Completed | |
| Enabled | |
| Disabled | |
| Deleted | |
| Suspended |