Modify the group of resource.
debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
NewResourceGroupId | string | Yes | The ID of the new resource group. You can log on to the Resource Management console to view resource group IDs. | rg-aekzjcnrv3vvqhq |
ResourceType | string | Yes | The type of the resource. Valid values:
| loadbalancer |
ResourceId | string | Yes | The ID of the bastion host for which you want to change the resource group. Note
You can call the DescribeInstances operation to query the ID of the bastion host.
| nlb-nrnrxwd15en27r**** |
RegionId | string | Yes | The region ID of the NLB instance. You can call the DescribeRegions operation to obtain the region ID. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"Success": true,
"HttpStatusCode": 200,
"Data": {
"ResourceId": "nlb-nrnrxwd15en27r****"
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | IllegalParam.%s | The param of %s is illegal. |
403 | Forbidden.%s | Authentication is failed for %s. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2023-09-26 | The error codes of the API operation change. | see changesets | ||||||||
| ||||||||||
2023-09-05 | The error codes of the API operation change. | see changesets | ||||||||
| ||||||||||
2023-08-22 | The error codes of the API operation change. | see changesets | ||||||||
|