All Products
Search
Document Center

Simple Log Service:CreateOSSIngestion

Last Updated:Nov 13, 2025

Creates an OSS import task in a specified project.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /ossingestions HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

project

string

Yes

The project name.

ali-test-project

body

object

No

The configuration of the OSS import job.

description

string

No

The job description.

任务描述

displayName

string

Yes

The display name.

OSS导入

schedule Schedule

No

The scheduling configuration. This parameter is optional. To meet specific timing requirements, such as importing data at 8:00 AM every Monday, use a cron expression.

configuration OSSIngestionConfiguration

Yes

The OSS import configuration.

name

string

Yes

The job name. The naming conventions are as follows:

The job name must be unique within the project.

  • The name can contain only lowercase letters, digits, hyphens (-), and underscores (_).

  • The name must start and end with a lowercase letter or a digit.

  • The name must be 2 to 64 characters in length.

ingest-oss-123456

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.