Mengambil detail aplikasi. Wilayah layanan untuk manajemen aplikasi hanya mendukung Hangzhou. Gunakan titik akhir Hangzhou.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:GetApplication |
get |
*Application
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. Hanya cn-hangzhou yang didukung. |
cn-hangzhou |
| Name |
string |
Yes |
Nama aplikasi. |
MyApplication |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur tanggapan. |
||
| RequestId |
string |
ID permintaan. |
51004B8A-6D9A-5ACB-9158-6C6794496AD0 |
| Application |
object |
Detail aplikasi. |
|
| Description |
string |
Deskripsi aplikasi. |
Application |
| UpdateDate |
string |
Pengatur waktu pembaruan. |
2021-09-07T09:17:46Z |
| ResourceGroupId |
string |
ID kelompok sumber daya. |
rg-acfmxsn4m****** |
| Tags |
object |
Tag. |
{"k1": "v1", "k2": "v2"} |
| Name |
string |
Nama aplikasi. |
MyApplication |
| CreateDate |
string |
Pengatur waktu pembuatan. |
2021-09-07T09:17:46Z |
| ApplicationType |
string |
Tipe aplikasi. |
DingTalk |
| AlarmConfig |
object |
Konfigurasi peringatan aplikasi. |
|
| ContactGroups |
array |
Kelompok kontak peringatan. |
Alert contact group name |
|
string |
Nama kelompok kontak peringatan. |
Nama kelompok kontak peringatan |
|
| TemplateIds |
array |
Kelompok templat peringatan. |
|
|
string |
ID templat peringatan. Untuk informasi tentang cara mendapatkan ID templat peringatan, lihat DescribeMetricRuleTemplateList. |
18ad7c9ddff24d1ba34aa76ec3944507 |
|
| HealthCheckUrl |
string |
URL pemeriksaan kesehatan aplikasi. |
/api/health/ |
| ServiceId |
string |
ID layanan Compute Nest yang sesuai dengan templat aplikasi. |
layanan-79538e30e44541b699d8 |
| ApplicationSource |
string |
Sumber aplikasi. |
{"Platform":"gitee","Owner":"aliyun-computenest","RepoName":"aliyun-computenest/java-springboot-demo","Name":"java-springboot-demo"} |
| DeploymentType |
string |
Contoh
Respons sukses
JSONformat
{
"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": [
"报警联系人组名称\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\"}",
"DeploymentType": ""
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.