Queries information about an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:GetApplication |
get |
*Application
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. Set the value to cn-hangzhou. |
cn-hangzhou |
| Name |
string |
Yes |
The application name. |
MyApplication |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
51004B8A-6D9A-5ACB-9158-6C6794496AD0 |
| Application |
object |
The application details. |
|
| Description |
string |
The application description. |
Application |
| UpdateDate |
string |
The time when the application was updated. |
2021-09-07T09:17:46Z |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmxsn4m****** |
| Tags |
object |
The tags. |
{"k1": "v1", "k2": "v2"} |
| Name |
string |
The application name. |
MyApplication |
| CreateDate |
string |
The time when the application was created. |
2021-09-07T09:17:46Z |
| ApplicationType |
string |
The application type. Valid values:
|
DingTalk |
| AlarmConfig |
object |
The alert configurations for the application. |
|
| ContactGroups |
array |
The alert contact groups. |
|
|
string |
The alert contact group. |
Alert contact group name |
|
| TemplateIds |
array |
The ID of the alert template. |
|
|
string |
The ID of the alert template. |
18ad7c9ddff24d1ba34aa76ec3944507 |
|
| HealthCheckUrl |
string |
The health check URL for the application. |
/api/health/ |
| ServiceId |
string |
The ID of the Compute Nest service that corresponds to the application template. |
service-79538e30e44541b699d8 |
| ApplicationSource |
string |
The source of the application. |
{"Platform":"gitee","Owner":"aliyun-computenest","RepoName":"aliyun-computenest/java-springboot-demo","Name":"java-springboot-demo"} |
Examples
Success response
JSON format
{
"RequestId": "51004B8A-6D9A-5ACB-9158-6C6794496AD0",
"Application": {
"Description": "Application",
"UpdateDate": "2021-09-07T09:17:46Z",
"ResourceGroupId": "rg-acfmxsn4m******",
"Tags": {
"k1": "v1",
"k2": "v2"
},
"Name": "MyApplication",
"CreateDate": "2021-09-07T09:17:46Z",
"ApplicationType": "DingTalk",
"AlarmConfig": {
"ContactGroups": [
"Alert contact group name\n"
],
"TemplateIds": [
"18ad7c9ddff24d1ba34aa76ec3944507"
],
"HealthCheckUrl": "/api/health/"
},
"ServiceId": "service-79538e30e44541b699d8",
"ApplicationSource": "{\"Platform\":\"gitee\",\"Owner\":\"aliyun-computenest\",\"RepoName\":\"aliyun-computenest/java-springboot-demo\",\"Name\":\"java-springboot-demo\"}"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.