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 bastion host to start. Note
You can call the DescribeInstances operation to query the ID of the bastion host. |
bastionhost-cn-78v1gh**** |
| VswitchId |
string |
No |
The ID of the vSwitch to which the bastion host is bound. |
vsw-bp1xfwzzfti0kjbf**** |
| RegionId |
string |
No |
The region ID of the bastion host. |
cn-hangzhou |
| SecurityGroupIds |
array |
Yes |
The IDs of the security groups to which the bastion host is bound. |
sg-bp1aiupc4yjqgmm**** |
|
string |
No |
The ID of the security group to which the bastion host is bound. |
sg-bp1aiupc4yjqgmm**** |
|
| ClientSecurityGroupIds |
array |
No |
The IDs of the security groups for the endpoint that is used to access the bastion host over a private network. |
|
|
string |
No |
The ID of the security group for the endpoint that is used to access the bastion host over a private network. |
sg-uf65hnzqj9ww1x**** |
|
| SlaveVswitchId |
string |
No |
The ID of the secondary vSwitch to which the bastion host is bound. |
vsw-9dpspfku7gita**** |
| EnablePortalPrivateAccess |
boolean |
No |
Specifies whether to enable the O&M portal of the bastion host to be accessed over a private network. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| InstanceId |
string |
The ID of the bastion host that is enabled. |
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.