All Products
Search
Document Center

Bastionhost:ModifyInstanceAttribute

Last Updated:Apr 18, 2024

Modifies the information about the specified bastion host.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the bastion host.

Note You can call the DescribeInstances operation to query the ID of the bastion host.
bastionhost-cn-78v1gh****
DescriptionstringNo

The description of the bastion host.

Note The description can contain only letters, digits, underscores (_), and hyphens (-). The description can be up to 30 characters in length.
Bastionhost demo
RegionIdstringNo

The region ID of the bastion host.

Note For more information about the mapping between region IDs and region names, see Regions and zones.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

E07158EA-D1A3-4BAA-84DA-2FE230D03884

Examples

Sample success responses

JSONformat

{
  "RequestId": "E07158EA-D1A3-4BAA-84DA-2FE230D03884"
}

Error codes

For a list of error codes, visit the Service error codes.