Memindahkan instans Database Apsara for MongoDB ke kelompok sumber daya tertentu.
Deskripsi operasi
Resource Management allows you to build an organizational structure for resources based on your business requirements. You can use resource directories, folders, accounts, and resource groups to hierarchically organize and manage resources. For more information, see What is Resource Management?
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyResourceGroup |
update |
*dbinstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID Wilayah instans. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID Wilayah. |
cn-hangzhou |
| DBInstanceId |
string |
Yes |
ID instans. |
dds-bp1366caac83**** |
| ResourceGroupId |
string |
Yes |
ID kelompok sumber daya. Untuk informasi selengkapnya, lihat View basic information of a resource group. |
rg-acfmyiu4ekp**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
5DD0DEC3-24A1-5268-8E0B-5B264CA1**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "5DD0DEC3-24A1-5268-8E0B-5B264CA1****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceGroupId.InValid | The Specified ResourceGroupId is not valid. | |
| 404 | InvalidDbInstanceId.NotFound | Specified instance does not exist. | |
| 404 | InvalidStatus.NotFound | Instance status is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.