All Products
Search
Document Center

Platform For AI:CreateServiceRollout

Last Updated:Jun 11, 2026

Membuat rollout layanan.

Deskripsi operasi

Usage notes

  • Mutually exclusive strategies: You can use either the Partition or the Batch strategy, but not both.

  • Request rate limit: Up to 100 requests per second.

  • Authorization: This operation requires the eas:CreateServiceRollout permission.

  • ARN: acs:eas:{#regionId}:{#accountId}:service/{#ServiceName}.

  • Pause a rollout: To pause the service rollout, set the Paused parameter to true. You can then resume or cancel the rollout by calling the UpdateServiceRollout operation.

  • Monitoring and rollback: Monitor service metrics during the service rollout to promptly identify and resolve issues. To perform a rollback, you can adjust the Partition value or delete the rollout strategy.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Sintaks permintaan

POST /api/v2/services/{ClusterId}/{ServiceName}/rollout HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

ClusterId

string

Yes

ID wilayah tempat layanan diterapkan. Panggil operasi ListServices untuk Tampilan daftar wilayah yang tersedia.

cn-shanghai

ServiceName

string

Yes

Nama layanan yang akan diperbarui. Nama harus unik di dalam wilayah. Panggil operasi DescribeService untuk mendapatkan detail layanan.

my-service

Parameter permintaan

Parameter

Type

Required

Description

Example

body

object

No

Badan permintaan.

Partition

object

No

The configuration for the Partition strategy.

Partition

string

No

The number of instances to update to the new version.

1

Batch

object

No

The configuration for the Batch strategy.

BatchSize

string

No

The number of instances to update in each batch.

1

Interval

string

No

The wait interval after each batch completes.

5m

Paused

boolean

No

Specifies whether to pause the rollout.

False

Elemen respons

Element

Type

Description

Example

object

The response body.

RequestId

string

The unique request ID. Use this ID for troubleshooting and traceability.

40325405-579C-4D82****

Message

string

A message that indicates the result of the operation.

Rollout created successfully

Contoh

Respons sukses

JSONformat

{
  "RequestId": "40325405-579C-4D82****\n",
  "Message": "Rollout created successfully"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.