Megosztás a következőn keresztül:


Workflows - Validate

Ellenőrzi a munkafolyamat definícióját.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/locations/{location}/workflows/{workflowName}/validate?api-version=2016-06-01

URI-paraméterek

Name In Kötelező Típus Description
location
path True

string

A munkafolyamat helye.

resourceGroupName
path True

string

Az erőforráscsoport neve.

subscriptionId
path True

string

Az előfizetés azonosítója.

workflowName
path True

string

A munkafolyamat neve.

api-version
query True

string

Az API-verzió.

Kérelem törzse

Name Típus Description
location

string

Az erőforrás helye.

properties.definition

Object

A definíció. Tekintse meg munkafolyamat-definíciós nyelv sémareferenciáját az Azure Logic Apps.

properties.integrationAccount

ResourceReference

Az integrációs fiók.

properties.parameters

<string,  WorkflowParameter>

A paraméterek.

properties.sku

Sku

A termékváltozat.

properties.state

WorkflowState

Az állam.

tags

object

Az erőforráscímkék.

Válaszok

Name Típus Description
200 OK

OKÉ

Biztonság

azure_auth

Azure Active Directory OAuth2 Flow.

Típus: oauth2
Folyamat: implicit
Engedélyezési URL: https://login.microsoftonline.com/common/oauth2/authorize

Hatókörök

Name Description
user_impersonation a felhasználói fiók megszemélyesítése

Példák

Validate a workflow

Mintakérelem

POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/locations/brazilsouth/workflows/test-workflow/validate?api-version=2016-06-01

{
  "properties": {}
}

Mintaválasz

Definíciók

Name Description
Object
ParameterType
ResourceReference

Az erőforrás-referencia.

Sku

A termékváltozat típusa.

SkuName

A termékváltozat neve.

Workflow

A munkafolyamat típusa.

WorkflowParameter

A munkafolyamat paraméterei.

WorkflowProvisioningState
WorkflowState

Object

ParameterType

Érték Description
Array
Bool
Float
Int
NotSpecified
Object
SecureObject
SecureString
String

ResourceReference

Az erőforrás-referencia.

Name Típus Description
id

string

Az erőforrás azonosítója.

name

string

Lekéri az erőforrás nevét.

type

string

Lekéri az erőforrás típusát.

Sku

A termékváltozat típusa.

Name Típus Description
name

SkuName

A név.

plan

ResourceReference

A tervre mutató hivatkozás.

SkuName

A termékváltozat neve.

Érték Description
Basic
Free
NotSpecified
Premium
Shared
Standard

Workflow

A munkafolyamat típusa.

Name Típus Description
id

string

Az erőforrás azonosítója.

location

string

Az erőforrás helye.

name

string

Lekéri az erőforrás nevét.

properties.accessEndpoint

string

Lekéri a hozzáférési végpontot.

properties.changedTime

string (date-time)

Lekéri a módosított időpontot.

properties.createdTime

string (date-time)

Lekéri a létrehozott időt.

properties.definition

Object

A definíció. Tekintse meg munkafolyamat-definíciós nyelv sémareferenciáját az Azure Logic Apps.

properties.integrationAccount

ResourceReference

Az integrációs fiók.

properties.parameters

<string,  WorkflowParameter>

A paraméterek.

properties.provisioningState

WorkflowProvisioningState

Lekéri a kiépítési állapotot.

properties.sku

Sku

A termékváltozat.

properties.state

WorkflowState

Az állam.

properties.version

string

Lekéri a verziót.

tags

object

Az erőforráscímkék.

type

string

Lekéri az erőforrás típusát.

WorkflowParameter

A munkafolyamat paraméterei.

Name Típus Description
description

string

A leírás.

metadata

Object

A metaadatok.

type

ParameterType

A típus.

value

Object

Az érték.

WorkflowProvisioningState

Érték Description
Accepted
Canceled
Completed
Created
Creating
Deleted
Deleting
Failed
Moving
NotSpecified
Ready
Registered
Registering
Running
Succeeded
Unregistered
Unregistering
Updating

WorkflowState

Érték Description
Completed
Deleted
Disabled
Enabled
NotSpecified
Suspended