Retrieves the scheduling log for an SQL task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetDBTaskSQLJobLog |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
integer |
Yes |
The ID of the SQL task. You can call the ListDBTaskSQLJob operation to query the SQL task ID. |
1276**** |
| Tid |
integer |
No |
The ID of the tenant. You can call the GetUserActiveTenant operation to query the tenant ID. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
4AC23904-55DE-550B-9676-E8946F07**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message. |
JobId is mandatory for this action. |
| ErrorCode |
string |
The error code. |
MissingJobId |
| Log |
string |
The scheduling details log. |
log_**** |
Examples
Success response
JSON format
{
"RequestId": "4AC23904-55DE-550B-9676-E8946F07****",
"Success": true,
"ErrorMessage": "JobId is mandatory for this action.",
"ErrorCode": "MissingJobId",
"Log": "log_****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.