All Products
Search
Document Center

Resource Access Management:GetApplicationProvisionInfo

Last Updated:Jun 10, 2026

Mengkueri informasi instalasi aplikasi yang telah diinstal.

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

get

*全部资源

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

AppId

string

Yes

ID aplikasi.

452392483381546****

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The request ID.

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

ApplicationProvisionInfo

object

The installation information about the application.

DisplayName

string

The display name of the application.

GiteeAliyun

AppName

string

The name of the application.

GiteePrd

UpdateDate

string

The update time. The value is a timestamp.

1603693518000

AppId

string

The ID of the application.

452392483381546****

DelegatedScope

object

The information about the scopes of permissions that are granted to the application.

PredefinedScopes

object

PredefinedScope

array<object>

The information about the scopes of permissions that are granted to the application.

object

Description

string

The description of the permission scope.

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

Name

string

The name of the permission scope.

openid

AccountId

string

The ID of the Alibaba Cloud account.

177242285274****

CreateDate

string

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

1603693518000

Contoh

Respons sukses

JSONformat

{
  "RequestId": "936E1D9C-157D-45BD-8A3B-81C0716EB078",
  "ApplicationProvisionInfo": {
    "DisplayName": "GiteeAliyun",
    "AppName": "GiteePrd",
    "UpdateDate": "1603693518000",
    "AppId": "452392483381546****",
    "DelegatedScope": {
      "PredefinedScopes": {
        "PredefinedScope": [
          {
            "Description": "用于获取用户的OpenID(默认权限范围,不可移除)",
            "Name": "openid"
          }
        ]
      }
    },
    "AccountId": "177242285274****",
    "CreateDate": "1603693518000"
  }
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.