All Products
Search
Document Center

ENS:DescribeEnsRegionIdResource

Last Updated:Mar 12, 2024

Queries node resources.

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
StartTimestringYes

The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

2020-06-16T06:33:15Z
EndTimestringYes

The end time of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

2020-06-16T06:33:15
OrderByParamsstringNo

The order in which the resources to return are sorted. Valid values:

  • InstanceCount: desc
  • Area: asc
  • InternetBandwidth: asc
InstanceCount: desc
PageNumberintegerNo

The page number. Pages start from page 1. Default value: 1.

1
PageSizestringNo

The number of entries per page. Maximum value: 100. Default value: 10.

10
IspstringNo

The Internet service provider (ISP). Valid values:

  • cmcc: China Mobile
  • telecom: China Telecom
  • unicom: China Unicom
  • multiCarrier: multi-line ISP
cmcc

Response parameters

ParameterTypeDescriptionExample
object
EnsRegionIdResourcesobject []

The returned data. For more information, see EnsRegionIdResources in sample JSON responses.

Areastring

The region. Set the value to West.

West
AreaCodestring

The code of the region.

300100
BizDatestring

The date when the transaction was processed.

2019-10-30
EnsRegionIdstring

The ID of the node.

cn-hangzhou-telecom
EnsRegionIdNamestring

The name of the node.

InstanceCountinteger

The number of instances.

10
InternetBandwidthlong

The public bandwidth of the instance. Unit: Bits/s.

100
Ispstring

The ISP. Valid values:

  • cmcc: China Mobile
  • unicom: China Unicom
  • telecom: China Telecom
  • multiCarrier: multi-line ISP
cmcc
VCpuinteger

The number of vCPUs.

10
PageNumberinteger

The page number.

1
PageSizeinteger

The number of entries per page.

10
RequestIdstring

The request ID.

476600B1-C9E2-4245-A26F-DC7EA8071425
TotalCountinteger

The total number of queried nodes.

58

Examples

Sample success responses

JSONformat

{
  "EnsRegionIdResources": {
    "EnsRegionIdResource": [
      {
        "Area": "West",
        "AreaCode": "300100",
        "BizDate": "2019-10-30",
        "EnsRegionId": "cn-hangzhou-telecom",
        "EnsRegionIdName": "",
        "InstanceCount": 10,
        "InternetBandwidth": 100,
        "Isp": "cmcc",
        "VCpu": 10
      }
    ]
  },
  "PageNumber": 1,
  "PageSize": 10,
  "RequestId": "476600B1-C9E2-4245-A26F-DC7EA8071425",
  "TotalCount": 58
}

Error codes

HTTP status codeError codeError messageDescription
400NoPermissionPermission denied.-
400InvalidParameter.%sThe specified field %s invalid. Please check it again.-
400InsufficientEipCapacityInsufficient EIP inventory under the specified territory.-
400CallInterfaceCall Interface Happen Error.An error occurred when you call the operation.

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

Change history

Change timeSummary of changesOperation
2023-12-26The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change