擷取節點的詳情。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
dataworks:* |
get |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| NodeId |
integer |
是 |
節點的 ID。您可以調用 ListNodes 介面查看 NodeId 的相關資訊。 |
1234 |
| ProjectEnv |
string |
是 |
工作空間的環境,包括 PROD 和 DEV。 |
PROD |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回實體。 |
||
| HttpStatusCode |
integer |
HTTP 狀態代碼。 |
200 |
| RequestId |
string |
請求的 ID,用於定位日誌,排查問題。 |
E6F0DBDD-5AD**** |
| ErrorMessage |
string |
錯誤資訊。 |
The connection does not exist. |
| ErrorCode |
string |
錯誤碼。 |
Invalid.Tenant.ConnectionNotExists |
| Success |
boolean |
調用是否成功。 |
true |
| Data |
object |
節點的詳情。 |
|
| SchedulerType |
string |
調度的類型,取值如下:
|
NORMAL |
| RepeatInterval |
integer |
出錯後重新調度頻率。 |
60 |
| Repeatability |
string |
是否可以重複運行。 |
true |
| RepeatMode |
integer |
重跑的模式,0 表示只有失敗的情況下可以重跑,1 表示所有情況均可重跑,2 表示所有情況下均不可重跑。 |
1 |
| ProjectId |
integer |
工作空間的 ID。 |
1234 |
| ProgramType |
string |
節點的類型。 |
ODPS_SQL |
| Priority |
integer |
任務優先順序,1/3/5/7/8。 |
1 |
| OwnerId |
string |
負責人的 ID。 |
17366294**** |
| Connection |
string |
串連串。 |
odps_source_dev |
| ParamValues |
string |
額外的參數。 |
a=b |
| RelatedFlowId |
integer |
關聯商務程序 ID。 |
123 |
| DqcType |
integer |
DQC 類型,0 表示沒有關聯 dqc,1 表示有關聯 dqc。 |
1 |
| BaselineId |
integer |
基準 ID。返回作為葉子節點所設定的基準 ID,若未設定,則返回一個空間預設值。 |
123456 |
| Description |
string |
節點的描述資訊。 |
test |
| NodeName |
string |
節點的名稱。 |
sql節點 |
| ResGroupName |
string |
資源群組的名稱。 |
預設資源群組 |
| BusinessId |
integer |
商務程序 ID。 |
123 |
| DqcDescription |
string |
DQC 分區規則串。 |
[{"projectName":"test_0923001","tableName":"test_table_001","partition":"ds\u003d$[yyyymmdd]"},{"projectName":"test_0923001","tableName":"test_table_002","partition":"NOTAPARTITIONTABLE"}] |
| CronExpress |
string |
cron 運算式。 |
00 00 00 * * ? |
| NodeId |
integer |
節點的 ID。 |
1234 |
| ResGroupIdentifier |
string |
資源群組唯一標示。 |
group_123 |
| FileType |
integer |
檔案類型。不同檔案類型其代碼不同,詳情請參見 DataWorks 節點合集。 |
10 |
| FileId |
integer |
檔案 ID。 警告 欄位已棄用 |
123 |
| FileVersion |
integer |
檔案版本。 |
1 |
| DeployDate |
integer |
部署日期。 |
1727280000000 |
| CreateTime |
integer |
建立時間。 |
1727280000000 |
| ModifyTime |
integer |
修改時間。 |
1727280000000 |
樣本
正常返回樣本
JSON格式
{
"HttpStatusCode": 200,
"RequestId": "E6F0DBDD-5AD****",
"ErrorMessage": "The connection does not exist.",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": true,
"Data": {
"SchedulerType": "NORMAL",
"RepeatInterval": 60,
"Repeatability": "true",
"RepeatMode": 1,
"ProjectId": 1234,
"ProgramType": "ODPS_SQL",
"Priority": 1,
"OwnerId": "17366294****",
"Connection": "odps_source_dev",
"ParamValues": "a=b",
"RelatedFlowId": 123,
"DqcType": 1,
"BaselineId": 123456,
"Description": "test",
"NodeName": "sql節點",
"ResGroupName": "預設資源群組",
"BusinessId": 123,
"DqcDescription": "[{\"projectName\":\"test_0923001\",\"tableName\":\"test_table_001\",\"partition\":\"ds\\u003d$[yyyymmdd]\"},{\"projectName\":\"test_0923001\",\"tableName\":\"test_table_002\",\"partition\":\"NOTAPARTITIONTABLE\"}]",
"CronExpress": "00 00 00 * * ?",
"NodeId": 1234,
"ResGroupIdentifier": "group_123",
"FileType": 10,
"FileId": 123,
"FileVersion": 1,
"DeployDate": 1727280000000,
"CreateTime": 1727280000000,
"ModifyTime": 1727280000000
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。