Query Quota Payment Price - GetUFileQuotaPrice
Overview
Query the price to be paid according to the purchase quota of US3.
💡 Note: If StorageVolume > 0, it must be ensured that StorageVolume is a multiple of 100.
Definition
Public Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Action | string | Corresponding API command name, the current API is GetUFileQuotaPrice. | Yes |
| PublicKey | string | The user’s public key can be obtained from Console  | Yes |
| Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Region | string | Region. See List of Regions and Availability Zones | Yes |
| StorageVolume | int | Storage capacity, unit: GBDay, range: [0, 30 000 000], step: 100GBDay | No |
| DownloadTraffic | int | Download traffic, unit: GB, range: [0, 60 000], step: 1GB | No |
| RequestCount | int | Request times, unit: 10,000 times, range: [0, 1,000,000], step: 10,000 times | No |
Response Field
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
| Action | string | Operation command name. | Yes |
| Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
| Price | float | Price pending payment, unit: cents | No |
Example
Request Example
https://api.ucloud-global.com/uhost/?Action=GetUFileQuotaPrice
&Region=cn-bj2
&StorageVolume=200
&DownloadTraffic=5
&RequestCount=2Response Example
{
"Action": "GetUFileQuotaPriceResponse",
"Price": 346,
"RetCode": 0
}