GetApplicationProvisionInfo
Queries the installation information of a specified installed application.
Operation description
Before calling this operation, the target application must already be installed. You can call ProvisionApplication to install the application and use the AppId of the installed application. Calling this operation with an application ID that was only returned by CreateApplication but has not been installed will fail.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:GetApplicationProvisionInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
452392483381546**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ApplicationProvisionInfo |
object |
The application installation information. |
|
| AccountId |
string |
The Alibaba Cloud account ID. |
177242285274**** |
| AppCategory |
string |
The application category. Valid values:
|
ThirdParty |
| AppId |
string |
The application ID. |
452392483381546**** |
| AppName |
string |
The application name. |
GiteePrd |
| AssignmentType |
string |
The application assignment type. Valid values:
|
AllowAll |
| CreateDate |
string |
The installation timestamp. |
1603693518000 |
| DelegatedScope |
object |
The application permission scope information. |
|
| PredefinedScopes |
object |
||
| PredefinedScope |
array<object> |
The application permission scope information. |
|
|
object |
|||
| Description |
string |
The scope description. |
Used to obtain the OpenID of the user (default permission scope, cannot be removed) |
| Name |
string |
The scope name. |
openid |
| DisplayName |
string |
The display name of the application. |
GiteeAliyun |
| NeedPrincipalConsent |
boolean |
Indicates whether user consent is required. |
true |
| UpdateDate |
string |
The update timestamp. |
1603693518000 |
| RequestId |
string |
The request ID. |
936E1D9C-157D-45BD-8A3B-81C0716EB078 |
Examples
Success response
JSON format
{
"ApplicationProvisionInfo": {
"AccountId": "177242285274****",
"AppCategory": "ThirdParty",
"AppId": "452392483381546****",
"AppName": "GiteePrd",
"AssignmentType": "AllowAll",
"CreateDate": "1603693518000",
"DelegatedScope": {
"PredefinedScopes": {
"PredefinedScope": [
{
"Description": "用于获取用户的OpenID(默认权限范围,不可移除)",
"Name": "openid"
}
]
}
},
"DisplayName": "GiteeAliyun",
"NeedPrincipalConsent": true,
"UpdateDate": "1603693518000"
},
"RequestId": "936E1D9C-157D-45BD-8A3B-81C0716EB078"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.