共用方式為


Pipeline Runs - Get

依管線的執行標識碼取得管線執行。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/pipelineruns/{runId}?api-version=2018-06-01

URI 參數

名稱 位於 必要 類型 Description
factoryName
path True

string

minLength: 3
maxLength: 63
pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$

Factory 名稱。

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+$

資源組名。

runId
path True

string

管線執行標識碼。

subscriptionId
path True

string

訂用帳戶標識碼。

api-version
query True

string

API 版本。

回應

名稱 類型 Description
200 OK

PipelineRun

還行。

Other Status Codes

CloudError

從 Azure Data Factory 服務收到的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

PipelineRuns_Get

範例要求

GET https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/pipelineruns/2f7fdb90-5df1-4b8e-ac2f-064cfa58202b?api-version=2018-06-01

範例回覆

Date: Sat, 16 Jun 2018 00:40:02 GMT
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-subscription-reads: 14988
x-ms-request-id: 6d9de9bd-a412-4a6f-8b9e-37d369323646
x-ms-correlation-request-id: 6d9de9bd-a412-4a6f-8b9e-37d369323646
{
  "runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b",
  "pipelineName": "examplePipeline",
  "parameters": {
    "OutputBlobNameList": "[\"exampleoutput.csv\"]"
  },
  "invokedBy": {
    "id": "80a01654a9d34ad18b3fcac5d5d76b67",
    "name": "Manual"
  },
  "runStart": "2018-06-16T00:37:44.6257014Z",
  "runEnd": "2018-06-16T00:38:12.7314495Z",
  "durationInMs": 28105,
  "status": "Succeeded",
  "message": "",
  "lastUpdated": "2018-06-16T00:38:12.7314495Z",
  "annotations": []
}

定義

名稱 Description
CloudError

對象,定義 Azure Data Factory 錯誤響應的結構。

PipelineRun

管線執行的相關信息。

PipelineRunInvokedBy

提供啟動管線執行的實體名稱和標識碼。

CloudError

對象,定義 Azure Data Factory 錯誤響應的結構。

名稱 類型 Description
error.code

string

錯誤碼。

error.details

CloudError[]

具有其他錯誤詳細數據的陣列。

error.message

string

錯誤資訊。

error.target

string

與錯誤相關聯之要求中的屬性名稱/路徑。

PipelineRun

管線執行的相關信息。

名稱 類型 Description
durationInMs

integer

管線執行的持續時間。

invokedBy

PipelineRunInvokedBy

啟動管線執行的實體。

isLatest

boolean

指出復原的管線執行是否為其群組中最新的。

lastUpdated

string (date-time)

管線執行事件的最後一個更新時間戳,格式為 ISO8601。

message

string

來自管線執行的訊息。

parameters

object

管線執行中使用的參數名稱、值組的完整或部分清單。

pipelineName

string

管線名稱。

runDimensions

object

管線執行所發出的執行維度。

runEnd

string (date-time)

管線執行的結束時間ISO8601格式。

runGroupId

string

與管線執行的所有復原執行相互關聯的標識碼。

runId

string

執行的標識碼。

runStart

string (date-time)

管線執行的開始時間ISO8601格式。

status

string

管線執行的狀態。 可能的值:Queued、InProgress、Succeeded、Failed、Canceling、Canceled

PipelineRunInvokedBy

提供啟動管線執行的實體名稱和標識碼。

名稱 類型 Description
id

string

啟動執行之實體的標識碼。

invokedByType

string

啟動執行之實體的類型。

name

string

啟動管線執行的實體名稱。

pipelineName

string

觸發執行之管線的名稱,如果有的話。

pipelineRunId

string

觸發執行之管線的執行標識碼,如果有的話。