Tüm Ürünler
Search
Belge Merkezi

:CreateBatch

Son Güncelleme:Oct 02, 2026

Birden fazla mevcut dosya üzerinde kod dönüştürme ve biçim dönüştürme gibi belirtilen işlemleri gerçekleştiren bir toplu işleme görevi oluşturur.

Operation description

Object Storage Service (OSS) veri işleme özelliğini kullanarak verileri işlemek istiyorsanız, toplu işleme görevi oluşturmadan önce bir OSS bucket'ı bağladığınızdan emin olun.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

imm:CreateBatch

create

*Batch

acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/batch/*

None None

Request parameters

Parameter

Type

Required

Description

Example

ProjectName

string

Yes

Proje adı. Daha fazla bilgi için Proje oluşturma bölümüne bakın.

test-project

Input Input

Yes

Giriş veri kaynağı yapılandırması.

Actions

array<object>

Yes

İşleme şablonları listesi.

object

No

İşleme şablonu.

Name

string

Yes

Şablon adı.

doc/convert

Parameters

array

No

Şablon parametreleri listesi.

string

No

Şablon parametresi.

pages=3

FastFailPolicy FastFailPolicy

No

Hızlı başarısızlık ilkesi yapılandırması.

Notification

object

No

Bildirim alıcısı. Birden fazla ara katman hizmeti desteklenmektedir. Mesaj biçimiyle ilgili ayrıntılar için Asenkron bildirim mesajı bölümüne bakın. Mesajları almak için aşağıdaki yöntemlerden birini seçin:\n\nGörev bildirimlerini anında almak için Intelligent Media Management (IMM) ile aynı bölgede EventBridge'i etkinleştirin ve bu hizmete erişin. Daha fazla bilgi için IMM olayları bölümüne bakın.\nIMM ile aynı bölgede MNS'yi etkinleştirin ve bir abonelik yapılandırın.

MNS MNS

No

MNS bildirim parametreleri.

Tags

object

No

Asenkron görevleri aramak ve filtrelemek için kullanılan özel etiketler.

{"key": "val"}

ServiceRole

string

Yes

IMM'ye OSS gibi diğer bulut kaynaklarına erişim izinleri veren hizmet rolü. Varsayılan değer AliyunIMMBatchTriggerRole'dür.\n\nÖzel bir hizmet rolü kullanmak için RAM konsolunda bir hizmet rolü oluşturun ve bu role izinler verin. Daha fazla bilgi için Hizmet rolü oluşturma ve RAM rolüne izin verme bölümlerine bakın.

AliyunIMMBatchTriggerRole

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

RequestId

string

İstek kimliği.

EC564A9A-BA5C-4499-A087-D9B9E76E*****

Id

string

Toplu işleme görevi kimliği.

batch-4eb9223f-3e88-42d3-a578-3f2852******

Examples

Success response

JSON format

{
  "RequestId": "EC564A9A-BA5C-4499-A087-D9B9E76E*****",
  "Id": "batch-4eb9223f-3e88-42d3-a578-3f2852******"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.