Modifies the information about the specified bastion host.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the bastion host. Note
You can call the DescribeInstances operation to query the ID of the bastion host.
| bastionhost-cn-78v1gh**** |
Description | string | No | 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 |
RegionId | string | No | 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
Examples
Sample success responses
JSON
format
{
"RequestId": "E07158EA-D1A3-4BAA-84DA-2FE230D03884"
}
Error codes
For a list of error codes, visit the Service error codes.