All Products
Search
Document Center

Enterprise Distributed Application Service:ListApplication

Last Updated:Jun 10, 2026

Mengkueri daftar aplikasi.

Coba sekarang

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。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

edas:ReadApplication

*All Resource

*

None None

Sintaks permintaan

POST /pop/v5/app/app_list HTTP/1.1

Parameter permintaan

Parameter

Type

Required

Description

Example

ClusterId

string

No

ID kluster. Tentukan parameter ini jika Anda ingin memfilter aplikasi berdasarkan kluster.

c37aec2a-bcca-4ec1-****-************

LogicalRegionId

string

No

ID namespace. Tentukan parameter ini jika Anda ingin memfilter aplikasi berdasarkan namespace.

cn-beijing:test

AppName

string

No

Nama aplikasi. Tentukan parameter ini jika Anda ingin memfilter aplikasi berdasarkan nama aplikasi.

testapp

ResourceGroupId

string

No

ID kelompok sumber daya. Tentukan parameter ini jika Anda ingin memfilter aplikasi berdasarkan kelompok sumber daya.

rg-aek24j4s4b*****

LogicalRegionIdFilter

string

No

ID namespace yang Anda gunakan dalam pencarian tepat untuk memfilter aplikasi.

cn-beijing:test

AppIds

string

No

ID aplikasi.

[ "5657d271-****-4f03-9bb2-431f942886bb", "5657d271-****-4f03-9bb2-431f942bbddd" ]

CurrentPage

integer

No

Nomor halaman. Nilai default: 1.

1

PageSize

integer

No

Jumlah entri per halaman.

20

Elemen respons

Element

Type

Description

Example

object

The content returned.

Code

integer

The HTTP status code that is returned.

200

Message

string

The message that is returned.

success

RequestId

string

The request ID.

5d6fa0bc-cc3**********

ApplicationList

object

Application

array<object>

The information about applications.

object

The information about the array object.

AppId

string

The ID of the application.

00ee517d-dd7d-4d4e-****-************

RegionId

string

The region ID of the application.

cn-beijing:docTes

Name

string

The name of the application.

doc-test-consumer

Instances

integer

The number of application instances.

5

Port

integer

The service port of the application.

8080

State

string

The state of the application. Valid values:

  • RUNNING: The application is running.

  • STOPPED: The application is stopped.

  • DEPLOYING: The application is being deployed.

  • DELETING: The application is being deleted.

RUNNING

CreateTime

integer

The time when the application was created.

1664208000000

SlbIp

string

The IP address of the internal-facing Server Load Balancer (SLB) instance.

192.168.0.***

SlbPort

integer

The port of the internal-facing SLB instance.

80

SlbListenerPort

integer

The listener port of the internal-facing SLB instance.

8088

ExtSlbListenerPort

integer

The listener port of the Internet-facing SLB instance.

8080

BuildPackageId

integer

The build package number of Enterprise Distributed Application Service (EDAS) Container.

58

ExtSlbIp

string

The IP address of the Internet-facing SLB instance.

100.100.70.***

ApplicationType

string

The deployment type of the application. Valid values:

  • War: The application is deployed by using a WAR package.

  • FatJar: The application is deployed by using a JAR package.

  • Image: The application is deployed by using an image.

  • If this parameter is empty, the application is not deployed.

FatJar

ClusterType

integer

The type of the cluster in which the application is deployed. Valid values:

  • 2: Elastic Compute Service (ECS) cluster

  • 3: self-managed Kubernetes cluster in EDAS

  • 5: Container Service for Kubernetes (ACK) cluster

2

RunningInstanceCount

integer

The number of running application instances.

0

ClusterId

string

The ID of the cluster.

c37aec2a-bcca-4ec1-****-************

ResourceGroupId

string

The ID of the resource group.

rg-aek24j4s4b*****

K8sNamespace

string

The namespace of the Kubernetes cluster.

default

NamespaceId

string

The ID of the microservices namespace.

cn-hangzhou:test

Contoh

Respons sukses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "5d6fa0bc-cc3**********",
  "ApplicationList": {
    "Application": [
      {
        "AppId": "00ee517d-dd7d-4d4e-****-************",
        "RegionId": "cn-beijing:docTes",
        "Name": "doc-test-consumer",
        "Instances": 5,
        "Port": 8080,
        "State": "RUNNING",
        "CreateTime": 1664208000000,
        "SlbIp": "192.168.0.***",
        "SlbPort": 80,
        "SlbListenerPort": 8088,
        "ExtSlbListenerPort": 8080,
        "BuildPackageId": 58,
        "ExtSlbIp": "100.100.70.***",
        "ApplicationType": "FatJar",
        "ClusterType": 2,
        "RunningInstanceCount": 0,
        "ClusterId": "c37aec2a-bcca-4ec1-****-************",
        "ResourceGroupId": "rg-aek24j4s4b*****",
        "K8sNamespace": "default",
        "NamespaceId": "cn-hangzhou:test"
      }
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat 变更详情Release Notes untuk daftar lengkap.