All Products
Search
Document Center

ENS:DescribeEnsRegionIdResource

Last Updated:Jul 26, 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

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ens:DescribeEnsRegionIdResource
  • All Resources
    *
    none
none

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

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

object
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 changedView Change Details