Creates a scheduled SQL job in a specified project.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:CreateScheduledSQL |
create |
*All Resource
|
None | None |
Request syntax
POST /scheduledsqls HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
ali-test-project |
| body |
object |
No |
The configurations of the scheduled SQL job. |
|
| name |
string |
Yes |
The job name. The name must be unique within a project. The naming convention is as follows:
|
sql-123456789-123456 |
| displayName |
string |
Yes |
The display name of the job. |
ali-test-scheduled-sql |
| description |
string |
No |
The description of the job. |
创建一个定时SQL任务 |
| schedule | Schedule |
Yes |
The scheduling configuration for the job. |
|
| configuration | ScheduledSQLConfiguration |
Yes |
The configuration of the job. |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 401 | AuthorizationRequired | Authorization Required |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.