Membuat Pekerjaan SQL terjadwal di Proyek yang ditentukan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:CreateScheduledSQL |
create |
*All Resource
|
None | None |
Sintaks permintaan
POST /scheduledsqls HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama Proyek. |
ali-test-project |
| body |
object |
No |
Konfigurasi Pekerjaan SQL terjadwal. |
|
| name |
string |
Yes |
Nama Pekerjaan. Nama harus unik dalam satu Proyek. Konvensi penamaan adalah sebagai berikut:
|
sql-123456789-123456 |
| displayName |
string |
Yes |
Nama tampilan Pekerjaan. |
ali-test-scheduled-sql |
| description |
string |
No |
Deskripsi Pekerjaan. |
创建一个定时SQL任务 |
| schedule | Schedule |
Yes |
Konfigurasi penjadwalan untuk Pekerjaan. |
|
| configuration | ScheduledSQLConfiguration |
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.