Starts a specified Bastionhost instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the Bastionhost instance to start. Note
You can call the DescribeInstances operation to get the ID of the Bastionhost instance. |
bastionhost-cn-78v1gh**** |
| VswitchId |
string |
No |
The ID of the vSwitch to which the Bastionhost instance is attached. |
vsw-bp1xfwzzfti0kjbf**** |
| RegionId |
string |
No |
The region ID of the Bastionhost instance. |
cn-hangzhou |
| SecurityGroupIds |
array |
Yes |
The IDs of the security groups to associate with the Bastionhost instance. |
sg-bp1aiupc4yjqgmm**** |
|
string |
No |
The ID of a security group to associate with the Bastionhost instance. |
sg-bp1aiupc4yjqgmm**** |
|
| ClientSecurityGroupIds |
array |
No |
The IDs of the security groups to which the client's IP address belongs. |
|
|
string |
No |
A security group ID to which the client's IP address belongs. |
||
| SlaveVswitchId |
string |
No |
The vSwitch ID of the slave Bastionhost instance. This parameter is used for high availability. |
|
| EnablePortalPrivateAccess |
boolean |
No |
Specifies whether to enable private access to the Bastionhost portal. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| InstanceId |
string |
The ID of the Bastionhost instance that was started. |
bastionhost-cn-78v1gh**** |
| RequestId |
string |
The ID of the request, which is used to locate and troubleshoot issues. |
0F85AE0A-6A87-48F3-A0C7-90B998788A36 |
Examples
Success response
JSON format
{
"InstanceId": "bastionhost-cn-78v1gh****",
"RequestId": "0F85AE0A-6A87-48F3-A0C7-90B998788A36"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.