As informações sobre os eventos associados à instância.
Experimente agora
Testar
Autorização RAM
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| BaselineId |
integer |
Sim |
O nome do evento. |
1234 |
| Bizdate |
string |
Sim |
O ID da instância. |
2020-07-07T00:00:00+0800 |
| InGroupId |
integer |
Sim |
O ID do evento. |
1 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| HttpStatusCode |
integer |
O timestamp de quando o evento foi encontrado. |
200 |
| RequestId |
string |
O ID exclusivo da chamada. Após a ocorrência de um erro, você pode solucionar o problema com base no ID. |
0000-ABCD-EFG**** |
| ErrorMessage |
string |
A mensagem de erro. |
The specified parameters are invalid. |
| ErrorCode |
string |
O código de erro. |
1031203110005 |
| Success |
boolean |
Indica se a chamada foi bem-sucedida. |
true |
| Data |
array<object> |
As informações sobre o caminho principal. |
|
|
array<object> |
|||
| Owner |
string |
O ID da conta Alibaba Cloud utilizada pelo proprietário do nó. |
9527952**** |
| NodeName |
string |
O nome do nó. |
Node name |
| Bizdate |
integer |
O timestamp de dados da instância. |
1553443200000 |
| ProjectId |
integer |
O ID do workspace ao qual o nó pertence. |
1234 |
| InstanceId |
integer |
O ID da instância. |
123456 |
| PrgType |
integer |
O tipo do nó. Valores válidos: 23, 10, 6 e 99. O valor 23 indica que o nó é um nó de Data Integration. O valor 10 indica que o nó é um nó MaxCompute SQL. O valor 6 indica que o nó é um nó Shell. O valor 99 indica que o nó é um nó de carga zero. |
10 |
| NodeId |
integer |
O ID do nó. |
1234 |
| InGroupId |
integer |
O ID do ciclo de agendamento da instância. Valores válidos: 1 a 288. |
1 |
| Runs |
array<object> |
Os registros de execução da instância. |
|
|
object |
|||
| Status |
string |
The status of the instance. Valid values: NOT_RUN, WAIT_TIME, WAIT_RESOURCE, RUNNING, CHECKING, CHECKING_CONDITION, FAILURE, and SUCCESS. The value NOT_RUN indicates that the instance is not run. The value WAIT_TIME indicates that the instance is waiting to be run. The value WAIT_RESOURCE indicates that the instance is waiting for resources. The value RUNNING indicates that the instance is running. The value CHECKING indicates that data quality is being checked for the instance. The value CHECKING_CONDITION indicates that branch conditions are being checked for the instance. The value FAILURE indicates that the instance fails to run. The value SUCCESS indicates that the instance is run. |
SUCCESS |
| AbsTime |
integer |
The timestamp obtained by adding the predicted time when the instance started to run to the historical average running duration of the instance. |
1553531402000 |
| BeginRunningTime |
integer |
The timestamp of the actual time when the instance started to run. |
1553531401000 |
| FinishTime |
integer |
The timestamp of the actual time when the instance finished running. |
1553531401000 |
| BeginCast |
integer |
The timestamp of the predicted time when the instance started to run. |
1553531686000 |
| EndCast |
integer |
The timestamp of the predicted time when the instance finished running. |
1553531687000 |
| BeginWaitResTime |
integer |
The timestamp when the instance started to wait for resources. |
1553531401000 |
| BeginWaitTimeTime |
integer |
The timestamp when the instance started to wait for the scheduling time. |
1553531400000 |
| Topics |
array<object> |
As informações sobre os eventos associados à instância. |
|
|
object |
|||
| TopicName |
string |
The name of the event. |
1234 |
| InstanceId |
integer |
The instance ID. |
1234 |
| TopicId |
integer |
The event ID. |
1234 |
| AddTime |
integer |
The timestamp when the event was found. |
1553531401000 |
Exemplos
Resposta de sucesso
JSON formato
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": "1031203110005",
"Success": true,
"Data": [
{
"Owner": "9527952****",
"NodeName": "Node name",
"Bizdate": 1553443200000,
"ProjectId": 1234,
"InstanceId": 123456,
"PrgType": 10,
"NodeId": 1234,
"InGroupId": 1,
"Runs": [
{
"Status": "SUCCESS",
"AbsTime": 1553531402000,
"BeginRunningTime": 1553531401000,
"FinishTime": 1553531401000,
"BeginCast": 1553531686000,
"EndCast": 1553531687000,
"BeginWaitResTime": 1553531401000,
"BeginWaitTimeTime": 1553531400000
}
],
"Topics": [
{
"TopicName": "1234",
"InstanceId": 1234,
"TopicId": 1234,
"AddTime": 1553531401000
}
]
}
]
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 500 | Forbidden.Wkbench.BaselineNoPermission | You are not authorized to access the baseline. | |
| 500 | Forbidden.Wkbench.ProjectNoPermission | You are not authorized to access the workspace. | |
| 500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | |
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 500 | Invalid.Wkbench.BaselineStatusNotExist | The BaselineStatus does not exist. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.