Panggil operasi ChangeDeployGroup untuk mengubah kelompok Instance ECS dalam aplikasi yang dideploy di kluster ECS.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageApplication |
none |
*Application
|
None | None |
Sintaks permintaan
POST /pop/v5/changeorder/co_change_group HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. |
3616cdca-4f92-********** |
| EccInfo |
string |
Yes |
ID Elastic Compute Container (ECC) dari Instance ECS yang kelompoknya ingin Anda ubah. Panggil operasi ListApplicationEcc untuk menanyakan ID ECC suatu aplikasi. Untuk informasi selengkapnya, lihat ListApplicationEcc. Catatan
Anda hanya dapat mengubah kelompok untuk satu Instance ECS dalam satu waktu. |
0cf49a6c-95a8-4aa8****** |
| GroupName |
string |
Yes |
Nama kelompok aplikasi, seperti `group_a` dan `group_b`. GroupName untuk kelompok default adalah |
test |
| ForceStatus |
boolean |
No |
Menentukan apakah perubahan harus dipaksakan ketika versi paket penyebaran ECC berbeda dengan versi paket penyebaran kelompok aplikasi. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
Kode status HTTP. |
200 |
| ChangeOrderId |
string |
ID alur perubahan. |
435f-regfr4******************** |
| Message |
string |
Pesan yang dikembalikan. |
success |
| RequestId |
string |
ID permintaan. |
F9E4-FDS4-**************** |
Contoh
Respons sukses
JSONformat
{
"Code": 200,
"ChangeOrderId": "435f-regfr4********************",
"Message": "success",
"RequestId": "F9E4-FDS4-****************"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.