All Products
Search
Document Center

Cloud Enterprise Network:DescribeChildInstanceRegions

Last Updated:Oct 22, 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

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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
Regionsarray<object>

A list of regions.

Regionobject
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 changedView Change Details
2023-09-08The Error code has changed. The request parameters of the API has changedView Change Details