Mengubah kelompok Instans ECS dalam aplikasi yang diterapkan di Kluster ECS.
Coba sekarang
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.
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) Instans ECS yang kelompoknya ingin Anda ubah. Panggil operasi ListApplicationEcc untuk mengkueri ID ECC aplikasi. Untuk informasi selengkapnya, lihat ListApplicationEcc. Catatan
Anda hanya dapat mengubah kelompok untuk satu Instans ECS dalam satu pengatur waktu. |
0cf49a6c-95a8-4aa8****** |
| GroupName |
string |
Yes |
Nama kelompok aplikasi, seperti |
test |
| ForceStatus |
boolean |
No |
Apakah akan memaksa perubahan ketika versi Paket penyebaran ECC berbeda dari versi Paket penyebaran kelompok aplikasi. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code. |
200 |
| ChangeOrderId |
string |
The ID of the change flow. |
435f-regfr4******************** |
| Message |
string |
The returned message. |
success |
| RequestId |
string |
The request ID. |
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.