All Products
Search
Document Center

Bastionhost:DescribeRegions

Last Updated:Apr 03, 2024

Queries available regions where you can create bastion hosts.

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
AcceptLanguagestringNo

The ID of the region.

zh-CN
RegionIdstringNo

The ID of request.

cn-shenzhen

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

Queries available regions where you can create bastion hosts.

B7281856-F27D-4ECE-B4F1-50511E550xxx
Regionsobject []

DescribeRegions

RegionEndpointstring
yundun-bastionhost.aliyuncs.com
LocalNamestring

Examples

Sample success responses

JSONformat

{
  "RequestId": "B7281856-F27D-4ECE-B4F1-50511E550xxx",
  "Regions": [
    {
      "RegionEndpoint": "yundun-bastionhost.aliyuncs.com",
      "LocalName": "",
      "RegionId": "cn-hangzhou"
    }
  ]
}

Error codes

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