All Products
Search
Document Center

Resource Access Management:ListExternalApplications

Last Updated:Jun 10, 2026

Mengkueri informasi tentang semua aplikasi eksternal yang terpasang.

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

ram:ListExternalApplications

list

*全部资源

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

Tidak ada parameter yang diperlukan.

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The request ID.

936E1D9C-157D-45BD-8A3B-81C0716EB077

IsTruncated

boolean

Indicates whether the response is truncated. Valid values:

  • true

  • false

true

Marker

string

A pagination token. It can be used in the next request to retrieve a new page of results.

Catatan

This parameter is returned only when IsTruncated is true.

EXAMPLE

ExternalApplications

object

ExternalApplication

array<object>

The information about the external applications.

array<object>

DisplayName

string

The display name of the external application.

GiteeAliyun

UpdateDate

string

The update time of the external application. The value is a timestamp.

1603693518000

DelegatedScope

object

The information about the permissions that are granted to the external application.

PredefinedScopes

object

PredefinedScope

array<object>

The information about the permissions that are granted to the external application.

object

Description

string

The description of the permission.

用于获取用户的OpenID(默认权限范围,不可移除)

Name

string

The name of the permission.

openid

AppPrincipalName

string

The name of the external application principal. The value is in the <app_name>@app.<account_id>.onaliyun.com format.

GiteePrd@app.153082740420****.onaliyun.com

CreateDate

string

The time when the external application was installed. The value is a timestamp.

1603693318000

TenantId

string

The ID of the Alibaba Cloud account for which the external application was installed.

173082740420****

ForeignAppId

string

The ID of the external application.

407426893752729****

Contoh

Respons sukses

JSONformat

{
  "RequestId": "936E1D9C-157D-45BD-8A3B-81C0716EB077",
  "IsTruncated": true,
  "Marker": "EXAMPLE",
  "ExternalApplications": {
    "ExternalApplication": [
      {
        "DisplayName": "GiteeAliyun",
        "UpdateDate": "1603693518000",
        "DelegatedScope": {
          "PredefinedScopes": {
            "PredefinedScope": [
              {
                "Description": "用于获取用户的OpenID(默认权限范围,不可移除)",
                "Name": "openid"
              }
            ]
          }
        },
        "AppPrincipalName": "GiteePrd@app.153082740420****.onaliyun.com",
        "CreateDate": "1603693318000",
        "TenantId": "173082740420****",
        "ForeignAppId": "407426893752729****"
      }
    ]
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.