Memindahkan resource ke kelompok sumber daya tertentu.
Deskripsi operasi
In this example, a stack deployed in the China (Hangzhou) region is moved to a specific resource group. The ID of the stack is 4e8611cb-251e-42b7-b9cb-3496362c**** and the ID of the resource group is rg-acfm3peow3k****.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ros:MoveResourceGroup |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
Tipe Sumber daya. Nilai valid:
|
stack |
| ResourceId |
string |
Yes |
ID Sumber daya. |
4e8611cb-251e-42b7-b9cb-3496362c**** |
| NewResourceGroupId |
string |
Yes |
ID kelompok sumber daya tujuan pemindahan resource. Untuk informasi selengkapnya tentang kelompok sumber daya, lihat bagian "Kelompok Sumber Daya" di topik Apa itu manajemen sumber daya?. |
rg-acfm3peow3k**** |
| RegionId |
string |
Yes |
ID wilayah Sumber daya. |
cn-hangzhou |
Untuk informasi selengkapnya tentang parameter permintaan umum, lihat Parameter umum.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
F84A05B3-7275-4C8B-8AEE-9088C639C271 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F84A05B3-7275-4C8B-8AEE-9088C639C271"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.