All Products
Search
Document Center

Cloud Enterprise Network:DescribeChildInstanceRegions

Last Updated:Mar 01, 2024

Queries the regions in which you can attach network instances to Cloud Enterprise Network (CEN) instances.

Operation description

The regions that support CEN vary based on the network instance type. To query the regions where you can attach a specified type of network instance to CEN, set the ProductType parameter. If you do not set the ProductType parameter, the system queries all regions in which you can attach network instances to CEN, regardless of the network instance type.

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
ProductTypestringNo

The type of the network instance. Valid values:

  • VPC: virtual private cloud (VPC)
  • VBR: virtual border router (VBR)
  • CCN: Cloud Connect Network (CCN) instance
VPC
AcceptLanguagestringNo

The language of the response. Valid values: zh-CN (Chinese, which is the default language), en-US (English), and ja (Japanese).

zh-CN

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

D5CEED59-36AA-47CC-9D81-16F71C46BD80
Regionsobject []

A list of regions.

LocalNamestring

The name of the region.

China (Hangzhou)
RegionIdstring

The ID of the region.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "D5CEED59-36AA-47CC-9D81-16F71C46BD80",
  "Regions": {
    "Region": [
      {
        "LocalName": "China (Hangzhou)\n",
        "RegionId": "cn-hangzhou"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400MissingParameter.OwnerIdOrOwnerAccountThe input parameter OwnerAccount or OwnerId that is mandatory for processing this request is not suppliedThe error message returned because the OwnerId or OwnerAccount parameter is not set.
400InvalidParameterInvalid parameter.The error message returned because the parameter is set to an invalid value.
400UnauthorizedThe AccessKeyId is unauthorized.The error message returned because you do not have the permissions to perform this operation.

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

Change history

Change timeSummary of changesOperation
2024-02-20API Description Update. The Error code has changedsee changesets
Change itemChange content
API DescriptionAPI Description Update.
Error CodesThe Error code has changed.
    delete Error Codes: 400
2023-09-08The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: AcceptLanguage