Moves a Bastionhost instance to a specified resource group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:MoveResourceGroup |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceId |
string |
Yes |
The ID of the Bastionhost instance whose resource group you want to change. Note
Call the DescribeInstances operation to obtain the ID of the Bastionhost instance. |
bastionhost-cn-78v1gh**** |
| ResourceGroupId |
string |
Yes |
The ID of the destination resource group. Note
Call the DescribeInstances operation to obtain the resource group ID of the Bastionhost instance. |
rg-aekznp3oyo**** |
| ResourceType |
string |
Yes |
The resource type. Set the value to INSTANCE, which indicates that the resource is a Bastionhost instance. |
INSTANCE |
| RegionId |
string |
Yes |
The region ID of the Bastionhost instance. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. This is a unique identifier generated by Alibaba Cloud for the request. Use this ID to troubleshoot issues. |
1DEEC28D-27B1-4358-B6DC-E1285AE655C5 |
Examples
Success response
JSON format
{
"RequestId": "1DEEC28D-27B1-4358-B6DC-E1285AE655C5"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.