Workflows - Get
取得工作流程。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}?api-version=2019-05-01
URI 參數
| 名稱 | 位於 | 必要 | 類型 | Description |
|---|---|---|---|---|
|
resource
|
path | True |
string |
資源組名。 |
|
subscription
|
path | True |
string |
訂用帳戶標識碼。 |
|
workflow
|
path | True |
string |
工作流程名稱。 |
|
api-version
|
query | True |
string |
API 版本。 |
回應
| 名稱 | 類型 | Description |
|---|---|---|
| 200 OK |
OK |
|
| Other Status Codes |
描述作業失敗原因的錯誤回應。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
範圍
| 名稱 | Description |
|---|---|
| user_impersonation | 模擬您的用戶帳戶 |
範例
Get a workflow
範例要求
GET 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
範例回覆
{
"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"
},
"integrationServiceEnvironment": {
"name": "test-integration-service-environment",
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationServiceEnvironments/test-integration-service-environment",
"type": "Microsoft.Logic/integrationServiceEnvironments"
},
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2018-07-01-preview/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"
}
]
}
}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
"name": "test-workflow",
"type": "Microsoft.Logic/workflows",
"location": "brazilsouth",
"tags": {}
}
定義
| 名稱 | Description |
|---|---|
|
Error |
錯誤屬性會指出邏輯服務無法處理傳入要求的原因。 原因在錯誤訊息中提供。 |
|
Error |
錯誤回應表示邏輯服務無法處理傳入的要求。 error 屬性包含錯誤詳細資料。 |
|
Flow |
訪問控制組態。 |
|
Flow |
存取控制組態原則。 |
|
Flow |
流程端點組態。 |
|
Flow |
端點組態。 |
|
Ip |
IP 位址。 |
|
Ip |
IP 位址範圍。 |
|
Managed |
受控服務識別屬性。 |
|
Managed |
受控服務識別的類型。 類型 『SystemAssigned』 包含隱含建立的身分識別。 類型 『None』 會從資源中移除任何身分識別。 |
| Object | |
|
Open |
AuthenticationPolicy 類型為 Open。 |
|
Open |
開啟使用者定義的驗證存取原則。 |
|
Open |
開啟驗證原則宣告。 |
|
Open |
開啟驗證原則提供者類型。 |
|
Parameter |
參數類型。 |
|
Resource |
資源參照。 |
| Sku |
SKU 類型。 |
|
Sku |
SKU 名稱。 |
|
user |
使用者指派的身分屬性。 |
| Workflow |
工作流程類型。 |
|
Workflow |
工作流程參數。 |
|
Workflow |
工作流程佈建狀態。 |
|
Workflow |
工作流程狀態。 |
ErrorProperties
錯誤屬性會指出邏輯服務無法處理傳入要求的原因。 原因在錯誤訊息中提供。
| 名稱 | 類型 | Description |
|---|---|---|
| code |
string |
錯誤碼。 |
| message |
string |
錯誤訊息,指出作業失敗的原因。 |
ErrorResponse
錯誤回應表示邏輯服務無法處理傳入的要求。 error 屬性包含錯誤詳細資料。
| 名稱 | 類型 | Description |
|---|---|---|
| error |
錯誤屬性。 |
FlowAccessControlConfiguration
訪問控制組態。
| 名稱 | 類型 | Description |
|---|---|---|
| actions |
工作流程動作的訪問控制組態。 |
|
| contents |
用於存取工作流程執行內容的訪問控制組態。 |
|
| triggers |
叫用工作流程觸發程式的訪問控制組態。 |
|
| workflowManagement |
工作流程管理的訪問控制組態。 |
FlowAccessControlConfigurationPolicy
存取控制組態原則。
| 名稱 | 類型 | Description |
|---|---|---|
| allowedCallerIpAddresses |
允許的呼叫端IP位址範圍。 |
|
| openAuthenticationPolicies |
工作流程的驗證原則。 |
FlowEndpoints
流程端點組態。
| 名稱 | 類型 | Description |
|---|---|---|
| accessEndpointIpAddresses |
存取端點 IP 位址。 |
|
| outgoingIpAddresses |
傳出IP位址。 |
FlowEndpointsConfiguration
端點組態。
| 名稱 | 類型 | Description |
|---|---|---|
| connector |
連接器端點。 |
|
| workflow |
工作流程端點。 |
IpAddress
IP 位址。
| 名稱 | 類型 | Description |
|---|---|---|
| address |
string |
位址。 |
IpAddressRange
IP 位址範圍。
| 名稱 | 類型 | Description |
|---|---|---|
| addressRange |
string |
IP 位址範圍。 |
ManagedServiceIdentity
受控服務識別屬性。
| 名稱 | 類型 | Description |
|---|---|---|
| principalId |
string (uuid) |
受控服務身分識別的主體識別碼。 |
| tenantId |
string (uuid) |
受控服務身分識別的租用戶。 |
| type |
受控服務識別的類型。 類型 『SystemAssigned』 包含隱含建立的身分識別。 類型 『None』 會從資源中移除任何身分識別。 |
|
| userAssignedIdentities |
<string,
user |
與資源相關聯的使用者指派身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} |
ManagedServiceIdentityType
受控服務識別的類型。 類型 『SystemAssigned』 包含隱含建立的身分識別。 類型 『None』 會從資源中移除任何身分識別。
| 值 | Description |
|---|---|
| SystemAssigned | |
| UserAssigned | |
| None |
Object
OpenAuthenticationAccessPolicies
AuthenticationPolicy 類型為 Open。
| 名稱 | 類型 | Description |
|---|---|---|
| policies |
<string,
Open |
開啟驗證原則。 |
OpenAuthenticationAccessPolicy
開啟使用者定義的驗證存取原則。
| 名稱 | 類型 | Description |
|---|---|---|
| claims |
存取原則宣告。 |
|
| type |
OAuth 的提供者類型。 |
OpenAuthenticationPolicyClaim
開啟驗證原則宣告。
| 名稱 | 類型 | Description |
|---|---|---|
| name |
string |
宣告的名稱。 |
| value |
string |
索賠的金額。 |
OpenAuthenticationProviderType
開啟驗證原則提供者類型。
| 值 | Description |
|---|---|
| AAD |
ParameterType
參數類型。
| 值 | Description |
|---|---|
| NotSpecified | |
| String | |
| SecureString | |
| Int | |
| Float | |
| Bool | |
| Array | |
| Object | |
| SecureObject |
ResourceReference
資源參照。
| 名稱 | 類型 | Description |
|---|---|---|
| id |
string |
資源標識碼。 |
| name |
string |
取得資源名稱。 |
| type |
string |
取得資源類型。 |
Sku
SKU 類型。
| 名稱 | 類型 | Description |
|---|---|---|
| name |
名稱。 |
|
| plan |
計劃的參考。 |
SkuName
SKU 名稱。
| 值 | Description |
|---|---|
| NotSpecified | |
| Free | |
| Shared | |
| Basic | |
| Standard | |
| Premium |
userAssignedIdentity
使用者指派的身分屬性。
| 名稱 | 類型 | Description |
|---|---|---|
| clientId |
string |
使用者指派身分識別的用戶端標識碼 |
| principalId |
string |
使用者指派身分識別的主體標識碼 |
Workflow
工作流程類型。
| 名稱 | 類型 | Description |
|---|---|---|
| id |
string |
資源標識碼。 |
| identity |
受控服務識別屬性。 |
|
| location |
string |
資源位置。 |
| name |
string |
取得資源名稱。 |
| properties.accessControl |
訪問控制組態。 |
|
| properties.accessEndpoint |
string |
取得存取端點。 |
| properties.changedTime |
string (date-time) |
取得變更的時間。 |
| properties.createdTime |
string (date-time) |
取得建立的時間。 |
| properties.definition |
定義。 |
|
| properties.endpointsConfiguration |
端點組態。 |
|
| properties.integrationAccount |
整合帳戶。 |
|
| properties.integrationServiceEnvironment |
整合服務環境。 |
|
| 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 |
|---|---|
| NotSpecified | |
| Accepted | |
| Running | |
| Ready | |
| Creating | |
| Created | |
| Deleting | |
| Deleted | |
| Canceled | |
| Failed | |
| Succeeded | |
| Moving | |
| Updating | |
| Registering | |
| Registered | |
| Unregistering | |
| Unregistered | |
| Completed | |
| Renewing | |
| Pending | |
| Waiting | |
| InProgress |
WorkflowState
工作流程狀態。
| 值 | Description |
|---|---|
| NotSpecified | |
| Completed | |
| Enabled | |
| Disabled | |
| Deleted | |
| Suspended |