All Products
Search
Document Center

Bastionhost:StartInstance

Last Updated:Apr 09, 2026

Starts a specified Bastionhost instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.