Memasang aplikasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ProvisionApplication |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. |
407426893752729**** |
| Scopes |
string |
No |
Izin yang diberikan ke aplikasi. Pisahkan beberapa izin dengan titik koma (;). Catatan
Untuk informasi selengkapnya tentang izin yang didukung, lihat Ikhtisar. |
openid;aliuid |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
C8AE06ED-9593-5BF9-8D4A-68D5DDCC90AB |
| ApplicationProvisionInfo |
object |
Informasi pemasangan aplikasi. |
|
| DisplayName |
string |
Nama tampilan aplikasi. |
GiteeAliyun |
| AppName |
string |
Nama aplikasi. |
GiteePrd |
| UpdateDate |
string |
Waktu pembaruan. Nilai berupa stempel waktu. |
1603693518000 |
| AppId |
string |
ID aplikasi. |
452392483381546**** |
| DelegatedScope |
object |
Informasi tentang izin yang diberikan ke aplikasi. |
|
| PredefinedScopes |
object |
||
| PredefinedScope |
array<object> |
The information about the permissions that are granted to the application. |
|
|
object |
|||
| Description |
string |
The description of the permission. |
用于获取用户的OpenID(默认权限范围,不可移除) |
| Name |
string |
The name of the permission. |
openid |
| AccountId |
string |
ID akun Alibaba Cloud. |
177242285274**** |
| AppPrincipalName |
string |
Nama principal aplikasi. Nilai berada dalam format |
GiteePrd@app.177242285274****.onaliyun.com |
| CreateDate |
string |
Waktu saat aplikasi dipasang. Nilai berupa stempel waktu. |
1603693518000 |
| TenantId |
string |
ID akun Alibaba Cloud yang aplikasinya dipasang. |
177242285274**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C8AE06ED-9593-5BF9-8D4A-68D5DDCC90AB",
"ApplicationProvisionInfo": {
"DisplayName": "GiteeAliyun",
"AppName": "GiteePrd",
"UpdateDate": "1603693518000",
"AppId": "452392483381546****",
"DelegatedScope": {
"PredefinedScopes": {
"PredefinedScope": [
{
"Description": "用于获取用户的OpenID(默认权限范围,不可移除)",
"Name": "openid"
}
]
}
},
"AccountId": "177242285274****",
"AppPrincipalName": "GiteePrd@app.177242285274****.onaliyun.com",
"CreateDate": "1603693518000",
"TenantId": "177242285274****"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.