All Products
Search
Document Center

Serverless App Engine:ListNamespaceChangeOrders

Last Updated:Jun 11, 2026

Menampilkan daftar pesanan penerapan di namespace.

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:ListNamespaceChangeOrders

get

*全部资源

*

None None

Sintaks permintaan

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

Parameter permintaan

Parameter

Type

Required

Description

Example

NamespaceId

string

Yes

ID namespace.

cn-shanghai:test

CoStatus

string

No

Status pesanan perubahan. Nilai valid:

  • 0: Menyiapkan.

  • 1: Menjalankan.

  • 2: Berhasil.

  • 3: Gagal.

  • 6: Dihentikan.

  • 10: Kesalahan Sistem.

2

CoType

string

No

Tipe pesanan perubahan. Nilai valid:

  • CoBatchStartApplication: Memulai aplikasi secara batch.

  • CoBatchStopApplication: Menghentikan aplikasi secara batch.

CoBatchStartApplication

Key

string

No

Kata kunci untuk pencarian fuzzy deskripsi pesanan perubahan. Pesanan perubahan yang deskripsinya mengandung kunci ini akan dikembalikan.

test

CurrentPage

integer

No

Halaman saat ini.

1

PageSize

integer

No

Ukuran halaman.

20

Elemen respons

Element

Type

Description

Example

object

The data returned.

RequestId

string

The request ID.

0bc3915638507554994370d****

ErrorCode

string

The error code.

  • This parameter is returned only when a request fails.

  • For more information, see the Error codes section of this topic.

Success

boolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.

  • false: The request failed.

true

Code

string

The HTTP status code or POP error code.

  • 2xx: The request was successful.

  • 3xx: The request was redirected.

  • 4xx: A client error occurred.

  • 5xx: A server error occurred.

200

Message

string

The response message.

success

TraceId

string

The trace ID, which is used to query the details of the request.

0bc3915638507554994370d****

Data

object

The returned results.

CurrentPage

integer

The current page number.

1

PageSize

integer

The number of entries per page.

20

TotalSize

integer

The total number of change orders.

32

ChangeOrderList

array<object>

The list of change orders.

object

A change order.

Status

integer

The status of the change order. Valid values:

  • 0: The change order is being prepared.

  • 1: The change order is being executed.

  • 2: The change order was executed.

  • 3: The change order could not be executed.

  • 6: The change order was terminated.

  • 10: The change order could not be executed due to a system exception.

2

FinishTime

string

The time when the change order was completed.

2019-07-11 20:12:58

NamespaceId

string

The ID of the namespace.

cn-shanghai:test

CreateTime

string

The time when the change order was created.

2019-07-11 15:54:49

UserId

string

The ID of the user.

test_sae

Source

string

The source of the change order.

console

CreateUserId

string

The ID of the user who created the change order.

test@aliyun.com

BatchCount

integer

The number of release batches.

1

CoTypeCode

string

The code of the change order type. Valid values:

  • CoBatchStartApplication: starts multiple applications concurrently.

  • CoBatchStopApplication: stops multiple applications concurrently.

CoBatchStartApplication

ChangeOrderId

string

The ID of the change order.

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

BatchType

string

The mode in which the release batches are determined. Valid values:

  • auto: SAE automatically determines the release batches.

  • manual: You must manually determine the release batches.

Description

string

The description of the change order.

Batch Start Applications

GroupId

string

The ID of the group.

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

CoType

string

The type of the change order, which corresponds the CoTypeCode parameter.

msg.docker.app.actions.CoBatchStartApplication

Pipelines

string

The information about release batches.

xxxx

Contoh

Respons sukses

JSONformat

{
  "RequestId": "0bc3915638507554994370d****",
  "ErrorCode": "",
  "Success": true,
  "Code": "200",
  "Message": "success",
  "TraceId": "0bc3915638507554994370d****",
  "Data": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalSize": 32,
    "ChangeOrderList": [
      {
        "Status": 2,
        "FinishTime": "2019-07-11 20:12:58",
        "NamespaceId": "cn-shanghai:test",
        "CreateTime": "2019-07-11 15:54:49",
        "UserId": "test_sae",
        "Source": "console",
        "CreateUserId": "test@aliyun.com",
        "BatchCount": 1,
        "CoTypeCode": "CoBatchStartApplication",
        "ChangeOrderId": "7fa5c0-9ebb-4bb4-b383-1f885447****",
        "BatchType": "",
        "Description": "Batch Start Applications",
        "GroupId": "c9ecd2-cf6c-46c3-9f20-525de202****",
        "CoType": "msg.docker.app.actions.CoBatchStartApplication",
        "Pipelines": "xxxx"
      }
    ]
  }
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 Resouce.no.permission You are not authorized to operate on the specified resources.
400 InvalidParameter.NotEmpty You must specify the parameter %s.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.