全部產品
Search
文件中心

Simple Log Service:ListMaxComputeExports - 列出MaxCompute投遞任務

更新時間:Dec 02, 2025

列出 MC 投遞任務

介面說明

  • Host 由 Project 名稱和Log Service Endpoint 構成,您需要在 Host 中指定 Project。

  • 已建立並擷取 AccessKey。更多資訊,請參見存取金鑰

阿里雲帳號 AccessKey 擁有所有 API 的存取權限,風險很高。強烈建議您建立並使用 RAM 使用者進行 API 訪問或日常營運。RAM 使用者需具備動作記錄服務資源的許可權。具體操作,請參見建立 RAM 使用者及授權

  • 已明確您查詢日誌所屬的 Project 名稱、所屬地區等。如何查詢,請參見管理 Project

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

GET /maxcomputeexports HTTP/1.1

請求參數

名稱

類型

必填

描述

樣本值

project

string

Project 名稱

my-project

offset

integer

查詢開始行,預設值為 0。

0

size

integer

指定查詢數量,預設值為 10。

10

logstore

string

Logstore 名稱

my-logstore

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

total

integer

指定 Project 下所有 MaxCompute 投遞任務數量

10

count

integer

當前列出的 MaxCompute 投遞任務數量

2

results

array

具體 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"
    }
  ]
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情