Docs
api
Cloud Memory(UMem)
DescribeUMemcachePrice

Get umemcache group price - DescribeUMemcachePrice

Overview

Get umemcache group price information

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUMemcachePrice.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ZonestringAvailability Zone. See Availability Zone ListYes
ProjectIdstringProject 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
SizeintCapacity size, unit: GB Value range [1-32]Yes
ChargeTypestringBilling mode, Year, Month, Dynamic, Default: Dynamic Default: Get the prices of all billing modes.No
QuantityintThe duration of purchasing umemcache, the default value is 1.No
TypestringSpace Type: single (no hot backup), double (hot backup) (default: double)No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DataSetarray[UMemcachePriceSet]Price List, see UMemcachePriceSetNo

Data Model

UMemcachePriceSet

Field NameTypeDescription InformationRequired
ChargeTypestringBilling Mode, Yearly, Monthly, DynamicNo
PriceintTotal PriceNo
ListPriceintProduct List PriceNo
OriginalPriceintOriginal PriceNo

Example

Request Example

https://api.dezai.com/?Action=DescribeUMemcachePrice
&Region=cn-bj2
&Zone=cn-bj2-04
&Size=1
&ProjectId=NKVlvLHl
&Type=uPFaYIFP

Response 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
}