Mengambil detail pekerjaan pengiriman data MaxCompute.
Deskripsi operasi
-
Host terdiri dari nama proyek dan titik akhir Simple Log Service. Anda harus menentukan proyek di host.
-
Pasangan Kunci Akses telah dibuat dan diperoleh. Untuk informasi lebih lanjut, lihat Pasangan Kunci Akses.
Pasangan Kunci Akses akun Alibaba Cloud memiliki izin akses ke semua operasi API, yang menimbulkan risiko tinggi. Buat dan gunakan Pengguna RAM untuk memanggil operasi API atau melakukan O&M rutin. Pengguna RAM harus memiliki izin untuk mengelola sumber daya EPS untuk Log operasi. Untuk informasi lebih lanjut, lihat Buat pengguna RAM dan otorisasi.
-
Anda telah mengidentifikasi nama dan wilayah proyek tempat log yang ingin Anda kueri berada. Untuk informasi lebih lanjut, lihat Kelola proyek.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetMaxComputeExport |
get |
*Project
|
None | None |
Sintaks permintaan
GET /maxcomputeexports/{mcExportName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| mcExportName |
string |
Yes |
Nama unik pekerjaan yang ada. |
export-mc-123456789-123456 |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
my-project |
Elemen respons
|
Element |
Type |
Description |
Example |
| MaxComputeExport |
Konfigurasi detail pekerjaan. |
Contoh
Respons sukses
JSONformat
{
"configuration": {
"fromTime": 1718380800,
"logstore": "my-logstore",
"roleArn": "acs:ram::1234567890:role/aliyunlogdefaultrole\n",
"sink": {
"bufferInterval": "1800",
"fields": [
"'f1'"
],
"filterInvalid": true,
"odpsAccessKeyId": "axxxxxxxxxxxb",
"odpsAccessSecret": "aaxxxxxxxxxxxxxxxxxxxxxbb",
"odpsEndpoint": "https://service.cn-hangzhou-intranet.maxcompute.aliyun-inc.com/api",
"odpsProject": "demo_project",
"odpsRolearn": "acs:ram::xxxxxxx",
"odpsTable": "demo_table",
"odpsTunnelEndpoint": "https://dt.cn-hangzhou-intranet.maxcompute.aliyun-inc.com",
"partitionColumn": [
"'p1'"
],
"partitionTimeFormat": "%Y_%m_%d",
"timeFormatType": "StrfTimeFormat",
"timeZone": "+0800"
},
"toTime": 1718390800
},
"createTime": 1718787534,
"description": "MaxComputeExport",
"displayName": "MaxComputeExport",
"lastModifiedTime": 1718787681,
"name": "MaxComputeExport",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"status": "RUNNING"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.