Workflows - Update
Updates a workflow.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}?api-version=2019-05-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. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| Other Status Codes |
Error response describing why the operation failed. |
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
Patch a workflow
Sample request
PATCH https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow?api-version=2019-05-01
Sample response
{
"properties": {
"provisioningState": "Succeeded",
"createdTime": "2018-04-25T01:39:21.4365247Z",
"changedTime": "2018-08-09T22:54:54.3533634Z",
"state": "Enabled",
"version": "08586677515911718341",
"accessEndpoint": "http://tempuri.org",
"integrationAccount": {
"name": "test-integration-account",
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
"type": "Microsoft.Logic/integrationAccounts"
},
"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": {}
},
"parameters": {},
"endpointsConfiguration": {
"workflow": {
"outgoingIpAddresses": [
{
"address": "13.84.159.168"
},
{
"address": "13.65.86.56"
},
{
"address": "13.65.82.190"
}
],
"accessEndpointIpAddresses": [
{
"address": "104.210.153.89"
},
{
"address": "13.85.79.155"
},
{
"address": "13.65.39.247"
}
]
},
"connector": {
"outgoingIpAddresses": [
{
"address": "40.84.145.61"
}
]
}
}
}
}
Definitions
| Name | Description |
|---|---|
|
Error |
Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message. |
|
Error |
Error response indicates Logic service is not able to process the incoming request. The error property contains the error details. |
|
Flow |
The access control configuration. |
|
Flow |
The access control configuration policy. |
|
Flow |
The flow endpoints configuration. |
|
Flow |
The endpoints configuration. |
|
Ip |
The ip address. |
|
Ip |
The ip address range. |
|
Managed |
Managed service identity properties. |
|
Managed |
Type of managed service identity. The type 'SystemAssigned' includes an implicitly created identity. The type 'None' will remove any identities from the resource. |
| Object | |
|
Open |
AuthenticationPolicy of type Open. |
|
Open |
Open authentication access policy defined by user. |
|
Open |
Open authentication policy claim. |
|
Open |
Open authentication policy provider type. |
|
Parameter |
The parameter type. |
|
Resource |
The resource reference. |
| Sku |
The sku type. |
|
Sku |
The sku name. |
|
user |
User Assigned identity properties. |
| Workflow |
The workflow type. |
|
Workflow |
The workflow parameters. |
|
Workflow |
The workflow provisioning state. |
|
Workflow |
The workflow state. |
ErrorProperties
Error properties indicate why the Logic service was not able to process the incoming request. The reason is provided in the error message.
| Name | Type | Description |
|---|---|---|
| code |
string |
Error code. |
| message |
string |
Error message indicating why the operation failed. |
ErrorResponse
Error response indicates Logic service is not able to process the incoming request. The error property contains the error details.
| Name | Type | Description |
|---|---|---|
| error |
The error properties. |
FlowAccessControlConfiguration
The access control configuration.
| Name | Type | Description |
|---|---|---|
| actions |
The access control configuration for workflow actions. |
|
| contents |
The access control configuration for accessing workflow run contents. |
|
| triggers |
The access control configuration for invoking workflow triggers. |
|
| workflowManagement |
The access control configuration for workflow management. |
FlowAccessControlConfigurationPolicy
The access control configuration policy.
| Name | Type | Description |
|---|---|---|
| allowedCallerIpAddresses |
The allowed caller IP address ranges. |
|
| openAuthenticationPolicies |
The authentication policies for workflow. |
FlowEndpoints
The flow endpoints configuration.
| Name | Type | Description |
|---|---|---|
| accessEndpointIpAddresses |
The access endpoint ip address. |
|
| outgoingIpAddresses |
The outgoing ip address. |
FlowEndpointsConfiguration
The endpoints configuration.
| Name | Type | Description |
|---|---|---|
| connector |
The connector endpoints. |
|
| workflow |
The workflow endpoints. |
IpAddress
The ip address.
| Name | Type | Description |
|---|---|---|
| address |
string |
The address. |
IpAddressRange
The ip address range.
| Name | Type | Description |
|---|---|---|
| addressRange |
string |
The IP address range. |
ManagedServiceIdentity
Managed service identity properties.
| Name | Type | Description |
|---|---|---|
| principalId |
string (uuid) |
Principal Id of managed service identity. |
| tenantId |
string (uuid) |
Tenant of managed service identity. |
| type |
Type of managed service identity. The type 'SystemAssigned' includes an implicitly created identity. The type 'None' will remove any identities from the resource. |
|
| userAssignedIdentities |
<string,
user |
The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} |
ManagedServiceIdentityType
Type of managed service identity. The type 'SystemAssigned' includes an implicitly created identity. The type 'None' will remove any identities from the resource.
| Value | Description |
|---|---|
| SystemAssigned | |
| UserAssigned | |
| None |
Object
OpenAuthenticationAccessPolicies
AuthenticationPolicy of type Open.
| Name | Type | Description |
|---|---|---|
| policies |
<string,
Open |
Open authentication policies. |
OpenAuthenticationAccessPolicy
Open authentication access policy defined by user.
| Name | Type | Description |
|---|---|---|
| claims |
The access policy claims. |
|
| type |
Type of provider for OAuth. |
OpenAuthenticationPolicyClaim
Open authentication policy claim.
| Name | Type | Description |
|---|---|---|
| name |
string |
The name of the claim. |
| value |
string |
The value of the claim. |
OpenAuthenticationProviderType
Open authentication policy provider type.
| Value | Description |
|---|---|
| AAD |
ParameterType
The parameter type.
| 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 |
userAssignedIdentity
User Assigned identity properties.
| Name | Type | Description |
|---|---|---|
| clientId |
string |
Client Id of user assigned identity |
| principalId |
string |
Principal Id of user assigned identity |
Workflow
The workflow type.
| Name | Type | Description |
|---|---|---|
| id |
string |
The resource id. |
| identity |
Managed service identity properties. |
|
| ___location |
string |
The resource ___location. |
| name |
string |
Gets the resource name. |
| properties.accessControl |
The access control configuration. |
|
| 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. |
|
| properties.endpointsConfiguration |
The endpoints configuration. |
|
| properties.integrationAccount |
The integration account. |
|
| properties.integrationServiceEnvironment |
The integration service environment. |
|
| 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
The workflow provisioning state.
| Value | Description |
|---|---|
| NotSpecified | |
| Accepted | |
| Running | |
| Ready | |
| Creating | |
| Created | |
| Deleting | |
| Deleted | |
| Canceled | |
| Failed | |
| Succeeded | |
| Moving | |
| Updating | |
| Registering | |
| Registered | |
| Unregistering | |
| Unregistered | |
| Completed | |
| Renewing | |
| Pending | |
| Waiting | |
| InProgress |
WorkflowState
The workflow state.
| Value | Description |
|---|---|
| NotSpecified | |
| Completed | |
| Enabled | |
| Disabled | |
| Deleted | |
| Suspended |