All Products
Search
Document Center

ENS:DescribeCloudDiskAvailableResourceInfo

Last Updated:Mar 12, 2024

Queries the available resources in a region.

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
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

0AE4F26E-7527-569F-A987-E3CF269A3C11
SupportResourcesobject []

The specifications of resources that you can purchase.

EnsRegionIdstring

The ID of the edge node.

cn-beijing-cmcc
EnsRegionNamestring

The name of the task node.

DiskMinSizelong

The minimum size of the disk size. Unit: GiB.

20
DiskMaxSizelong

The maximum size of the disk. Unit: GiB.

80
CanBuyCountlong

The number of disks that you can purchase.

2
Categorystring

The type of the disk.

  • cloud_efficiency: ultra disk.
  • cloud_ssd: all-flash disk.
  • local_hdd: local HDD.
  • local_ssd: local SSD.
cloud_ssd
DefaultDiskSizelong

The default size of the disk. Unit: GiB.

20

Examples

Sample success responses

JSONformat

{
  "RequestId": "0AE4F26E-7527-569F-A987-E3CF269A3C11",
  "SupportResources": {
    "SupportResource": [
      {
        "EnsRegionId": "cn-beijing-cmcc",
        "EnsRegionName": "",
        "DiskMinSize": 20,
        "DiskMaxSize": 80,
        "CanBuyCount": 2,
        "Category": "cloud_ssd",
        "DefaultDiskSize": 20
      }
    ]
  }
}

Error codes

HTTP status codeError codeError message
400Missing%sYou must specify the parameter %s.
400Invalid%sThe specified parameter %s is invalid.
400NoPermissionPermission denied.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.

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

Change history

Change timeSummary of changesOperation
2021-10-28Add Operationsee changesets