Lists MaxCompute delivery tasks.
Operation description
The Host consists of the project name and the Simple Log Service endpoint. You must specify the project in the Host.
Create and obtain an AccessKey pair. For more information, see AccessKey pair.
An AccessKey pair for an Alibaba Cloud account has permissions to access all APIs. This poses a high security risk. We recommend that you create and use a Resource Access Management (RAM) user for API access or daily O&M. The RAM user must have the permissions to manage Simple Log Service resources. For more information, see Create and authorize a RAM user.
Identify the name and region of the project that contains the logs to query. For more information, see Manage projects.
Try it now
Test
RAM authorization
Request syntax
GET /maxcomputeexports HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
my-project |
| offset |
integer |
No |
The position from which to start the query. The default value is 0. |
0 |
| size |
integer |
No |
The number of entries to return. The default value is 10. |
10 |
| logstore |
string |
No |
The name of the Logstore. |
my-logstore |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| total |
integer |
The total number of MaxCompute delivery tasks in the project. |
10 |
| count |
integer |
The number of MaxCompute delivery tasks that are returned. |
2 |
| results |
array |
The list of MaxCompute delivery tasks. |
|
| MaxComputeExport |
The details of the task configuration. |
Examples
Success response
JSON format
{
"total": 10,
"count": 2,
"results": [
{
"name": "MaxComputeExport",
"description": "MaxComputeExport",
"displayName": "MaxComputeExport",
"configuration": {
"logstore": "my-logstore",
"roleArn": "acs:ram::1234567890:role/aliyunlogdefaultrole\n",
"sink": {
"odpsEndpoint": "https://service.cn-hangzhou-intranet.maxcompute.aliyun-inc.com/api",
"odpsTunnelEndpoint": "https://dt.cn-hangzhou-intranet.maxcompute.aliyun-inc.com",
"odpsProject": "demo_project",
"odpsTable": "demo_table",
"odpsRolearn": "acs:ram::xxxxxxx",
"odpsAccessKeyId": "axxxxxxxxxxxb",
"odpsAccessSecret": "aaxxxxxxxxxxxxxxxxxxxxxbb",
"partitionTimeFormat": "%Y_%m_%d",
"timeZone": "+0800",
"fields": [
"'f1'"
],
"partitionColumn": [
"'p1'"
],
"filterInvalid": true,
"timeFormatType": "StrfTimeFormat",
"bufferInterval": "1800"
},
"fromTime": 1718380800,
"toTime": 1718390800
},
"createTime": 1718787534,
"lastModifiedTime": 1718787681,
"status": "RUNNING",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.