Workflows - Validate
驗證工作流程定義。
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/locations/{location}/workflows/{workflowName}/validate?api-version=2016-06-01
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
location
|
path | True |
string |
工作流程位置。 |
resource
|
path | True |
string |
資源群組名稱。 |
subscription
|
path | True |
string |
訂用帳戶標識碼。 |
workflow
|
path | True |
string |
工作流程名稱。 |
api-version
|
query | True |
string |
API 版本。 |
要求本文
名稱 | 類型 | Description |
---|---|---|
location |
string |
資源位置。 |
properties.definition |
定義。 請參閱 Azure Logic Apps 中工作流程定義語言的架構參考。 |
|
properties.integrationAccount |
整合帳戶。 |
|
properties.parameters |
<string,
Workflow |
參數。 |
properties.sku |
SKU。 |
|
properties.state |
狀態。 |
|
tags |
object |
資源標籤。 |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
確定 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
範圍
名稱 | Description |
---|---|
user_impersonation | 模擬您的用戶帳戶 |
範例
Validate a workflow
範例要求
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": {}
}
範例回覆
定義
名稱 | Description |
---|---|
Object | |
Parameter |
|
Resource |
資源參考。 |
Sku |
SKU 類型。 |
Sku |
SKU 名稱。 |
Workflow |
工作流程類型。 |
Workflow |
工作流程參數。 |
Workflow |
|
Workflow |
Object
ParameterType
值 | Description |
---|---|
Array | |
Bool | |
Float | |
Int | |
NotSpecified | |
Object | |
SecureObject | |
SecureString | |
String |
ResourceReference
資源參考。
名稱 | 類型 | Description |
---|---|---|
id |
string |
資源標識碼。 |
name |
string |
取得資源名稱。 |
type |
string |
取得資源類型。 |
Sku
SKU 類型。
名稱 | 類型 | Description |
---|---|---|
name |
名稱。 |
|
plan |
規劃的參考。 |
SkuName
SKU 名稱。
值 | Description |
---|---|
Basic | |
Free | |
NotSpecified | |
Premium | |
Shared | |
Standard |
Workflow
工作流程類型。
名稱 | 類型 | Description |
---|---|---|
id |
string |
資源標識碼。 |
location |
string |
資源位置。 |
name |
string |
取得資源名稱。 |
properties.accessEndpoint |
string |
取得存取端點。 |
properties.changedTime |
string (date-time) |
取得變更的時間。 |
properties.createdTime |
string (date-time) |
取得建立的時間。 |
properties.definition |
定義。 請參閱 Azure Logic Apps 中工作流程定義語言的架構參考。 |
|
properties.integrationAccount |
整合帳戶。 |
|
properties.parameters |
<string,
Workflow |
參數。 |
properties.provisioningState |
取得布建狀態。 |
|
properties.sku |
SKU。 |
|
properties.state |
狀態。 |
|
properties.version |
string |
取得版本。 |
tags |
object |
資源標籤。 |
type |
string |
取得資源類型。 |
WorkflowParameter
工作流程參數。
名稱 | 類型 | Description |
---|---|---|
description |
string |
描述。 |
metadata |
中繼資料。 |
|
type |
類型。 |
|
value |
數值。 |
WorkflowProvisioningState
值 | Description |
---|---|
Accepted | |
Canceled | |
Completed | |
Created | |
Creating | |
Deleted | |
Deleting | |
Failed | |
Moving | |
NotSpecified | |
Ready | |
Registered | |
Registering | |
Running | |
Succeeded | |
Unregistered | |
Unregistering | |
Updating |
WorkflowState
值 | Description |
---|---|
Completed | |
Deleted | |
Disabled | |
Enabled | |
NotSpecified | |
Suspended |