Workflows - Validate
Validates the workflow definition.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/validate?api-version=2024-04-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
Site name. |
resource
|
path | True |
string |
Name of the resource group to which the resource belongs. Regex pattern: |
subscription
|
path | True |
string |
Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
workflow
|
path | True |
string |
The workflow name. |
api-version
|
query | True |
string |
API Version |
Request Body
Name | Type | Description |
---|---|---|
identity |
Managed service identity. |
|
location |
string |
The resource location. |
properties.accessControl |
The access control configuration. |
|
properties.definition |
The definition. |
|
properties.endpointsConfiguration |
The endpoints configuration. |
|
properties.integrationAccount |
The integration account. |
|
properties.integrationServiceEnvironment |
The integration service environment. |
|
properties.kind |
The workflow kind. |
|
properties.parameters |
<string,
Workflow |
The parameters. |
properties.state |
The state. |
|
tags |
object |
The resource tags. |
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
Validate a workflow
Sample request
POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/hostruntime/runtime/webhooks/workflow/api/management/workflows/test-workflow/validate?api-version=2024-04-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": {}
},
"kind": "Stateful"
}
}
Sample response
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. |
Kind |
The workflow kind. |
Managed |
Managed service identity. |
Managed |
Type of managed service identity. |
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. |
user |
User Assigned identity. |
Workflow |
The workflow type. |
Workflow |
The workflow parameters. |
Workflow |
The workflow provisioning state. |
Workflow |
The sku type. |
Workflow |
The sku name. |
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. |
Kind
The workflow kind.
Name | Type | Description |
---|---|---|
Stateful |
string |
|
Stateless |
string |
ManagedServiceIdentity
Managed service identity.
Name | Type | Description |
---|---|---|
principalId |
string |
Principal Id of managed service identity. |
tenantId |
string |
Tenant of managed service identity. |
type |
Type of managed service identity. |
|
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.
Name | Type | Description |
---|---|---|
None |
string |
|
SystemAssigned |
string |
|
SystemAssigned, UserAssigned |
string |
|
UserAssigned |
string |
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.
Name | Type | Description |
---|---|---|
AAD |
string |
ParameterType
The parameter type.
Name | Type | Description |
---|---|---|
Array |
string |
|
Bool |
string |
|
Float |
string |
|
Int |
string |
|
NotSpecified |
string |
|
Object |
string |
|
SecureObject |
string |
|
SecureString |
string |
|
String |
string |
ResourceReference
The resource reference.
Name | Type | Description |
---|---|---|
id |
string |
The resource id. |
name |
string |
Gets the resource name. |
type |
string |
Gets the resource type. |
userAssignedIdentity
User Assigned identity.
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. |
|
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 |
Gets the changed time. |
properties.createdTime |
string |
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.kind |
The workflow kind. |
|
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.
Name | Type | Description |
---|---|---|
Accepted |
string |
|
Canceled |
string |
|
Completed |
string |
|
Created |
string |
|
Creating |
string |
|
Deleted |
string |
|
Deleting |
string |
|
Failed |
string |
|
InProgress |
string |
|
Moving |
string |
|
NotSpecified |
string |
|
Pending |
string |
|
Ready |
string |
|
Registered |
string |
|
Registering |
string |
|
Renewing |
string |
|
Running |
string |
|
Succeeded |
string |
|
Unregistered |
string |
|
Unregistering |
string |
|
Updating |
string |
|
Waiting |
string |
WorkflowSku
The sku type.
Name | Type | Description |
---|---|---|
name |
The name. |
|
plan |
The reference to plan. |
WorkflowSkuName
The sku name.
Name | Type | Description |
---|---|---|
Basic |
string |
|
Free |
string |
|
NotSpecified |
string |
|
Premium |
string |
|
Shared |
string |
|
Standard |
string |
WorkflowState
The workflow state.
Name | Type | Description |
---|---|---|
Completed |
string |
|
Deleted |
string |
|
Disabled |
string |
|
Enabled |
string |
|
NotSpecified |
string |
|
Suspended |
string |