Queries the installation information of a specified installed application.
Operation description
Before you call this operation, the target application must 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 returned by CreateApplication for an application that 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 ID of the application. You can call ListApplicationProvisionInfos to obtain the AppId of an installed application. |
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 ID of the application. |
452392483381546**** |
| AppName |
string |
The name of the application. |
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 name of the scope. |
openid |
| DisplayName |
string |
The display name of the application. |
GiteeAliyun |
| NeedPrincipalConsent |
boolean |
Indicates whether user authorization 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": "Used to obtain the OpenID of the user (default permission scope, cannot be removed)",
"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.