All Products
Search
Document Center

Serverless App Engine:ListChangeOrders

Last Updated:Jun 11, 2026

Menampilkan daftar pesanan perubahan.

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

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

sae:ListChangeOrders

get

*全部资源

*

None None

Sintaks permintaan

GET /pop/v1/sam/changeorder/ListChangeOrders HTTP/1.1

Parameter permintaan

Parameter

Type

Required

Description

Example

AppId

string

Yes

ID aplikasi.

145341c-9708-4967-b3ec-24933767****

CurrentPage

integer

No

Nomor halaman saat ini.

1

PageSize

integer

No

Jumlah entri yang dikembalikan pada setiap halaman.

20

Key

string

No

Kata kunci untuk pencarian fuzzy deskripsi pesanan perubahan. Operasi hanya mengembalikan pesanan perubahan yang deskripsinya mengandung kata kunci.

test

CoType

string

No

Tipe pesanan perubahan. Nilai valid:

  • CoBindSlb: Menyambungkan Instance SLB.

  • CoUnbindSlb: Melepas Instance SLB.

  • CoCreateApp: Membuat aplikasi.

  • CoDeleteApp: Menghapus aplikasi.

  • CoDeploy: Mendeploy aplikasi.

  • CoRestartApplication: Merestart aplikasi.

  • CoRollback: Melakukan roll back aplikasi.

  • CoScaleIn: Melakukan scale in aplikasi.

  • CoScaleOut: Melakukan scale out aplikasi.

  • CoStartApplication: Menjalankan aplikasi.

  • CoStopApplication: Menghentikan aplikasi.

  • CoRescaleApplicationVertically: Mengubah tipe instans.

  • CoDeployHistroy: Melakukan roll back ke versi sebelumnya.

  • CoBindNas: Menyambungkan sistem file NAS.

  • CoUnbindNas: Melepas sistem file NAS.

  • CoBatchStartApplication: Menjalankan aplikasi secara Batch.

  • CoBatchStopApplication: Menghentikan aplikasi secara Batch.

  • CoRestartInstances: Merestart instans.

  • CoDeleteInstances: Menghapus instans.

  • CoScaleInAppWithInstances: Melakukan scale in aplikasi dengan menentukan instans.

CoCreateApp

CoStatus

string

No

Status pesanan perubahan. Nilai valid:

  • 0: Mempersiapkan.

  • 1: Berjalan.

  • 2: Berhasil.

  • 3: Gagal.

  • 6: Dihentikan.

  • 8: Dijeda untuk konfirmasi manual.

  • 9: Dijeda untuk konfirmasi otomatis.

  • 10: Gagal karena pengecualian sistem.

  • 11: Menunggu persetujuan.

  • 12: Disetujui dan menunggu eksekusi.

2

OrderBy

string

No

Bidang yang digunakan untuk mengurutkan hasil.

Reverse

boolean

No

Urutan pengurutan untuk bidang yang ditentukan oleh parameter OrderBy. Nilai valid:

  • true: Hasil diurutkan secara menaik.

  • false: Hasil diurutkan secara menurun.

Elemen respons

Element

Type

Description

Example

object

The data returned.

RequestId

string

The request ID.

65E1F-43BA-4D0C-8E61-E4D1337F****

Message

string

Additional information about the response.

success

TraceId

string

The trace ID used to query request details.

0bb6f815638568884597879d****

Data

object

The information about the change orders.

CurrentPage

integer

The current page number.

1

TotalSize

integer

The total number of change orders.

1

ChangeOrderList

array<object>

The list of change orders.

object

Details of a change order.

Status

integer

The status of the change order. Valid values:

  • 0: Preparing.

  • 1: In progress.

  • 2: Succeeded.

  • 3: Failed.

  • 6: Stopped.

  • 8: Paused for manual confirmation.

  • 9: Paused for automatic confirmation.

  • 10: Failed due to a system exception.

  • 11: Pending approval.

  • 12: Approved and pending execution.

2

FinishTime

string

The time when the change order was finished.

2019-07-11 20:12:58

CreateTime

string

The time when the change order was created.

2019-07-11 15:54:49

UserId

string

The user ID.

sae-beta-test

Source

string

The source of the change order.

console

BatchCount

integer

The number of batches.

1

CreateUserId

string

The ID of the user who created the change order.

sae-beta-test

CoTypeCode

string

The code of the change type. Valid values:

  • CoBindSlb: Attaches an SLB instance.

  • CoUnbindSlb: Detaches an SLB instance.

  • CoCreateApp: Creates an application.

  • CoDeleteApp: Deletes an application.

  • CoDeploy: Deploys an application.

  • CoRestartApplication: Restarts an application.

  • CoRollback: Rolls back an application.

  • CoScaleIn: Scales in an application.

  • CoScaleOut: Scales out an application.

  • CoStartApplication: Starts an application.

  • CoStopApplication: Stops an application.

  • CoRescaleApplicationVertically: Changes the instance type.

  • CoDeployHistroy: Rolls back to a historical version.

  • CoBindNas: Attaches an NAS file system.

  • CoUnbindNas: Detaches an NAS file system.

  • CoBatchStartApplication: Starts multiple applications at a time.

  • CoBatchStopApplication: Stops multiple applications at a time.

  • CoRestartInstances: Restarts instances.

  • CoDeleteInstances: Deletes instances.

  • CoScaleInAppWithInstances: Scales in an application by specifying instances.

CoCreateApp

ChangeOrderId

string

The change order ID.

7fa5c0-9ebb-4bb4-b383-1f885447****

BatchType

string

The batch type. Valid values:

  • auto: Automatic.

  • manual: Manual.

auto

GroupId

string

The group ID.

c9ecd2-cf6c-46c3-9f20-525de202****

Description

string

The description.

Version: 1.0 | Image name: nginx

CoType

string

The change type. This parameter is the description of CoTypeCode.

Create Application

AppId

string

The application ID.

164341c-9708-4967-b3ec-24933767****

PageSize

integer

The page size.

20

ErrorCode

string

The error code.

  • This parameter is not returned on successful requests.

  • Returned if the request fails. For more information, see the error code list in this topic.

Code

string

The HTTP status code or the POP error code. Valid values:

  • 2xx: Success.

  • 3xx: Redirect.

  • 4xx: Request error.

  • 5xx: Server error.

200

Success

boolean

Indicates whether the list of change orders was retrieved. Valid values:

  • true: The list was retrieved.

  • false: The list could not be retrieved.

true

Contoh

Respons sukses

JSONformat

{
  "RequestId": "65E1F-43BA-4D0C-8E61-E4D1337F****",
  "Message": "success",
  "TraceId": "0bb6f815638568884597879d****",
  "Data": {
    "CurrentPage": 1,
    "TotalSize": 1,
    "ChangeOrderList": [
      {
        "Status": 2,
        "FinishTime": "2019-07-11 20:12:58",
        "CreateTime": "2019-07-11 15:54:49",
        "UserId": "sae-beta-test",
        "Source": "console",
        "BatchCount": 1,
        "CreateUserId": "sae-beta-test",
        "CoTypeCode": "CoCreateApp",
        "ChangeOrderId": "7fa5c0-9ebb-4bb4-b383-1f885447****",
        "BatchType": "auto",
        "GroupId": "c9ecd2-cf6c-46c3-9f20-525de202****",
        "Description": "Version: 1.0 | Image name: nginx",
        "CoType": "Create Application",
        "AppId": "164341c-9708-4967-b3ec-24933767****"
      }
    ],
    "PageSize": 20
  },
  "ErrorCode": "",
  "Code": "200",
  "Success": true
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter.NotEmpty You must specify the parameter %s.
400 Resouce.no.permission You are not authorized to operate on the specified resources.
404 InvalidAppId.NotFound The specified AppId does not exist.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.