All Products
Search
Document Center

Bastionhost:StartInstance

Last Updated:Mar 27, 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 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.