1. Interface Description
Interface request domain name: cbs.api3.convergecloud.com.
This API (InquiryPriceResizeDisk) is used to query the price for cloud disk scaling.
- Only scaling price query of prepaid cloud disks is supported.
Default interface request rate limit: 20 times per second.
Interface update time: 2024-07-16 07:43:52.
The interface only verifies the signature but does not authenticate.
2. Input Parameters
The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.
| Parameter name | Required | Allow NULL | Type | Description |
|---|---|---|---|---|
| Action | Yes | No | String | Public parameter, The value of this interface: InquiryPriceResizeDisk |
| Version | Yes | No | String | Public parameter, The value of this interface: 2017-03-12 |
| Region | No | No | String | Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface |
| DiskId | Yes | No | String | Cloud disk ID. It can be queried through the DescribeDisks API. Example: disk-dw0bbzws |
| DiskSize | Yes | No | Uint64 | Size after cloud disk scaling, in GB. It cannot be smaller than the current cloud disk size. Value range: Common cloud disk: 10 GB to 4000 GB; high performance cloud disk: 50 GB to 4000 GB; SSD cloud disk: 100 GB to 4000 GB. The step is 10 GB. Example: 200 |
| ProjectId | No | No | Uint64 | Cloud disk's project ID. If this parameter is input, it is only used for authentication. Example: 1002189 |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| DiskPrice | Price | It describes the price for scaling cloud disks. Example:View |
| RequestId | String | Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem. |
4. Error Code
The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.
| Error Code | Description |
|---|---|
| InvalidParameterValue | Invalid parameter value. The format of the parameter value is incorrect or the parameter value is not supported. |
| MissingParameter | Missing parameter. The request does not include the mandatory parameter. |
| InvalidDisk.NotPortable | Non-elastic cloud disks are not supported. |
| InvalidInstanceId.NotFound | The input InstanceId does not exist. |
| InvalidDisk.Expire | The cloud disk has expired. |