Mengubah kelompok sumber daya resource tertentu.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paiworkspace:ChangeResourceGroup |
update |
*Workspace
|
None | None |
Sintaks permintaan
PUT /resourcegroups/action/changeresourcegroup HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Badan permintaan. |
|
| ResourceId |
string |
No |
The resource ID. This ID is the same as the workspace ID. For more information about how to obtain a workspace ID, see ListWorkspaces. |
12**56 |
| NewResourceGroupId |
string |
No |
The ID of the new resource group. For more information about how to obtain a resource group ID, see View the basic information of a resource group. |
rg-df********534dy |
| ResourceType |
string |
No |
The type of the resource. You must set this parameter to workspace. |
workspace |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned object. |
||
| requestId |
string |
The request ID. |
6****27E-****-5144-A002-89C****8660F |
Contoh
Respons sukses
JSONformat
{
"requestId": "6****27E-****-5144-A002-89C****8660F"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.