Get umemcache group price - DescribeUMemcachePrice
Overview
Get umemcache group price information
Definition
Public Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Action | string | Corresponding API command name, the current API is DescribeUMemcachePrice. | 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 |
| Zone | string | Availability Zone. See Availability Zone List | Yes |
| ProjectId | string | Project ID. If not filled in, the default project is used, and the sub-account must be filled in. Please refer to the GetProjectList interface. | No |
| Size | int | Capacity size, unit: GB Value range [1-32] | Yes |
| ChargeType | string | Billing mode, Year, Month, Dynamic, Default: Dynamic Default: Get the prices of all billing modes. | No |
| Quantity | int | The duration of purchasing umemcache, the default value is 1. | No |
| Type | string | Space Type: single (no hot backup), double (hot backup) (default: double) | 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 |
| DataSet | array[UMemcachePriceSet] | Price List, see UMemcachePriceSet | No |
Data Model
UMemcachePriceSet
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| ChargeType | string | Billing Mode, Yearly, Monthly, Dynamic | No |
| Price | int | Total Price | No |
| ListPrice | int | Product List Price | No |
| OriginalPrice | int | Original Price | No |
Example
Request Example
https://api.surfercloud.com/?Action=DescribeUMemcachePrice
&Region=cn-bj2
&Zone=cn-bj2-04
&Size=1
&ProjectId=NKVlvLHl
&Type=uPFaYIFPResponse Example
{
"Action": "DescribeUMemcachePriceResponse",
"DataSet": [
{
"ChargeType": "Year",
"ListPrice": 54000,
"OriginalPrice": 54000,
"Price": 54000
},
{
"ChargeType": "Month",
"ListPrice": 5400,
"OriginalPrice": 5400,
"Price": 5400
},
{
"ChargeType": "Dynamic",
"ListPrice": 11,
"OriginalPrice": 11,
"Price": 11
}
],
"RetCode": 0
}