ChangeResourceGroup
Transfers a resource to another resource group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
milvus:ChangeResourceGroup |
update |
*Instance
|
None | None |
Request syntax
POST /webapi/resourceGroup/change HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NewResourceGroupId |
string |
Yes |
The ID of the destination resource group. |
rg-acfnsjj5tgai4wi |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| ResourceType |
string |
No |
The resource type. |
instance |
| ResourceId |
string |
No |
The resource ID. |
c-xxx |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-123xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
ABCD-1234-5678-EFGH |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrCode |
string |
The error code. |
Instance.NotFound |
| ErrMessage |
string |
The error message. |
Failed to find instance c-123xxx |
| Data |
boolean |
The returned data. |
true |
| AccessDeniedDetail |
string |
AccessDeniedDetail |
None |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "ABCD-1234-5678-EFGH",
"Success": true,
"ErrCode": "Instance.NotFound",
"ErrMessage": "Failed to find instance c-123xxx",
"Data": true,
"AccessDeniedDetail": "None"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.