Creates a scheduled query job in the 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 configuration of the scheduled query job. |
|
| name |
string |
Yes |
The name of the job. The naming rules are as follows: Job names must be unique within the same project.
|
sql-123456789-123456 |
| displayName |
string |
Yes |
The display name of the job. |
ali-test-scheduled-sql |
| description |
string |
No |
The description of the job. |
Create a scheduled SQL task |
| schedule | Schedule |
Yes |
The scheduling configuration of 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 | You do not have access permissions. User authentication is required. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.