Membuat pekerjaan ekspor dari OSS ke HDFS dalam proyek yang ditentukan.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST /osshdfsexports HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
my-project |
| body |
object |
No |
Konfigurasi pekerjaan ekspor OSS ke Hadoop Distributed File System (HDFS). |
|
| name |
string |
Yes |
Nama pekerjaan. Nama harus unik dalam proyek dan mengikuti ketentuan berikut: Nama pekerjaan harus unik dalam proyek.
|
export-osshdfs-1234567890-123456 |
| displayName |
string |
Yes |
Nama tampilan pekerjaan. |
my-oss-hdfs-job |
| description |
string |
No |
Deskripsi pekerjaan. |
Membuat pekerjaan ekspor OSS-HDFS |
| configuration | OSSExportConfiguration |
Yes |
Konfigurasi pekerjaan. |
Elemen respons
|
Element |
Type |
Description |
Example |
Tidak ada yang didefinisikan.
Contoh
Respons sukses
JSONformat
{}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 401 | AuthorizationRequired | Authorization Required |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.