赛尔校园公共服务平台 Logo
平台使用
阿里云
百度云
移动云
智算服务
教育生态
登录 →
赛尔校园公共服务平台 Logo
平台使用 阿里云 百度云 移动云 智算服务 教育生态
登录
  1. 首页
  2. 阿里云
  3. 日志服务
  4. 开发参考
  5. API参考
  6. API目录
  7. 其他
  8. ListMaxComputeExports - 列出MaxCompute投递任务

ListMaxComputeExports - 列出MaxCompute投递任务

  • 其他
  • 发布于 2025-04-22
  • 0 次阅读
文档编辑
文档编辑

列出MC投递任务。

接口说明

  • Host 由 Project 名称和日志服务 Endpoint 构成,您需要在 Host 中指定 Project。
  • 已创建并获取 AccessKey。更多信息,请参见访问密钥。

阿里云账号 AccessKey 拥有所有 API 的访问权限,风险很高。强烈建议您创建并使用 RAM 用户进行 API 访问或日常运维。RAM 用户需具备操作日志服务资源的权限。具体操作,请参见创建 RAM 用户及授权。

  • 已明确您查询日志所属的 Project 名称、所属地域等。如何查询,请参见管理 Project。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET /maxcomputeexports HTTP/1.1

请求参数

名称类型必填描述示例值
projectstring是

Project 名称

my-project
offsetinteger否

查询开始行,默认值为 0。

0
sizeinteger否

指定查询数量,默认值为 10。

10
logstorestring否

Logstore 名称

my-logstore

返回参数

名称类型描述示例值
headersobject
Serverstring

服务器名称。

nginx
Content-Typestring

返回的响应体的内容格式。

application/json
Content-Lengthstring

响应内容长度。

0
Connectionstring

是否长链接。取值包括: close:不是长链接,则每个 HTTP 请求都会重新建立 TCP 连接。 keep-alive:长链接,TCP 连接建立后保持连接状态,节省连接所需时间和带宽。

close
x-log-requestidstring

服务端产生的标识,该请求的唯一 ID。

5B0A6B60BB6EE39764D458B5
object

Schema of Response

totalinteger

指定 Project 下所有 MaxCompute 投递任务数量

10
countinteger

当前列出的 MaxCompute 投递任务数量

2
resultsarray

具体 MaxCompute 投递任务列表

MaxComputeExport

任务配置详细

示例

正常返回示例

JSON格式

{
  "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"
    }
  ]
}

错误码

访问错误中心查看更多错误码。

相关文章

DescribeRegions 2025-04-22 10:37

查询可用的区域。

GetMaxComputeExport - 获取MaxCompute投递任务 2025-04-22 10:37

获取MaxCompute投递任务信息。 接口说明

CreateMaxComputeExport - 创建MaxCompute投递任务 2025-04-22 10:37

创建MaxCompute投递任务。 接口说明 <

DeleteMaxComputeExport - 删除MaxCompute投递任务 2025-04-22 10:37

删除MC投递任务。 接口说明

ListMaxComputeExports - 列出MaxCompute投递任务 2025-04-22 10:37

列出MC投递任务。 接口说明

StartMaxComputeExport - 启动MaxCompute投递任务 2025-04-22 10:37

启动MaxCompute投递任务。 接口说明 <

目录
Copyright © 2025 your company All Rights Reserved. Powered by 赛尔网络.
京ICP备14022346号-15
gongan beian 京公网安备11010802041014号