Memperbarui 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:UpdateApplication |
update |
*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. |
My-Application |
| Description |
string |
No |
Deskripsi yang akan diperbarui untuk aplikasi. |
test aplikasi |
| Tags |
object |
No |
Tag. |
{"k1":"v1","k2":"v2"} |
| AlarmConfig |
object |
No |
Konfigurasi peringatan aplikasi. |
|
| ContactGroups |
array |
No |
Kelompok kontak peringatan. |
|
|
string |
No |
Nama kelompok kontak peringatan. |
CloudAccountAlertContact |
|
| TemplateIds |
array |
No |
Kelompok templat peringatan. |
|
|
string |
No |
ID templat peringatan. Untuk informasi tentang cara mendapatkan ID templat peringatan, lihat DescribeMetricRuleTemplateList. |
d8d1153c517f4971a37350ba8c021c26 |
|
| HealthCheckUrl |
string |
No |
URL Pemeriksaan kesehatan aplikasi. |
/healthcheck/tcp50122 |
| DeleteAlarmRulesBeforeUpdate |
boolean |
No |
Apakah akan menghapus aturan peringatan yang ada sebelum memperbarui templat peringatan aplikasi. Nilai default: false. |
false |
| ApplicationSource |
string |
No |
Sumber aplikasi. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
F1F00F41-D24C-5377-831B-C97F739CE1AB |
| Application |
object |
Informasi aplikasi. |
|
| Description |
string |
Deskripsi aplikasi. |
test aplikasi |
| UpdatedDate |
string |
Waktu ketika aplikasi diperbarui, dalam format ISO 8601 UTC. |
2021-09-07T10:17:46Z |
| ResourceGroupId |
string |
ID kelompok sumber daya. |
rg-acfmxsn4m***** |
| CreatedDate |
string |
Waktu ketika aplikasi dibuat, dalam format ISO 8601 UTC. |
2021-09-07T09:17:46Z |
| Tags |
object |
Tag. |
{"k1":"v1","k2":"v2"} |
| Name |
string |
Nama aplikasi. |
My-Application |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F1F00F41-D24C-5377-831B-C97F739CE1AB",
"Application": {
"Description": "test aplikasi",
"UpdatedDate": "2021-09-07T10:17:46Z",
"ResourceGroupId": "rg-acfmxsn4m*****",
"CreatedDate": "2021-09-07T09:17:46Z",
"Tags": {
"k1": "v1",
"k2": "v2"
},
"Name": "My-Application"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.