Anda dapat memanggil operasi MoveResourceGroup untuk memindahkan instans Cloud Enterprise Network (CEN) atau paket bandwidth ke grup sumber daya yang berbeda.
Deskripsi operasi
Secara default, instans Cloud Enterprise Network (CEN) dan paket bandwidth termasuk dalam grup sumber daya default. Anda dapat memanggil operasi MoveResourceGroup untuk memindahkan instans CEN atau paket bandwidth ke grup sumber daya yang berbeda.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:MoveResourceGroup |
update |
*CenBandwidthPackage
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Klien menghasilkan nilai ini. Pastikan nilainya unik di antara permintaan yang berbeda. Token dapat berisi maksimum 64 karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId permintaan sebagai ClientToken. RequestId dari setiap permintaan API mungkin berbeda. |
123e456**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| NewResourceGroupId |
string |
Yes |
ID grup sumber daya baru. |
rg-aekzqqurtfg**** |
| ResourceType |
string |
Yes |
Jenis sumber daya. Nilai yang valid:
|
cen |
| ResourceId |
string |
Yes |
ID sumber daya. |
cen-nye53d7p3hzyu4**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
1D169236-7C76-57CF-B6C8-B4CACE0BA1BB |
Contoh
Respons sukses
JSONformat
{
"RequestId": "1D169236-7C76-57CF-B6C8-B4CACE0BA1BB"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
| 403 | Forbidden.ResourceGroup | The operation cannot be performed on the specified ResourceGroup. | The operation cannot be performed on the specified ResourceGroup. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.