CreateOSSIngestion
Creates an OSS import job in a specified project.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:CreateOSSIngestion |
create |
*All Resource
|
None | None |
Request syntax
POST /ossingestions 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 OSS import job. |
|
| configuration | OSSIngestionConfiguration |
Yes |
The OSS import configuration. |
|
| description |
string |
No |
The description of the job. |
Job description |
| displayName |
string |
Yes |
The display name. |
OSS Import |
| name |
string |
Yes |
The name of the job. The name must meet the following requirements:
|
ingest-oss-123456 |
| schedule | Schedule |
No |
The scheduling type. You do not need to specify this parameter in most cases. If you have strict scheduling requirements, such as importing data at 08:00 every Monday, you can use a cron expression. |
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.