docs
api
Cloud Memory(UMem)
DescribeUMemPrice

Get Price - DescribeUMemPrice

Overview

Get UMem Instance Price Information

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUMemPrice.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
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, sub-accounts must be filled in. Please refer to the GetProjectList interface.Yes
SizeintPurchase UMem size, unit: GB, range [1~1024]Yes
TypestringSpace Type: single (no hot backup), double (hot backup) (default: double)Yes
ChargeTypestringYear, Month, Dynamic. If not specified, all three billing methods will be obtained at once.No
QuantityintThe duration of purchasing UMem, the default value is 1.No
HighPerformancebooleanWhether the instance type is performance-enhanced. The default is false, or not filled in, true is performance-enhanced.No
BlockCntintUMem shard numberNo
ProxySizeintUMem Proxy CPU Core CountNo
UlbModestringUMem distributed proxy type, default is false, true is load balancing proxyNo
ClusterModestringDatabase type, RWMode is read-write separationNo

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[UMemPriceSet]Price Parameters see UMemPriceSetNo

Data Model

UMemPriceSet

Field NameTypeDescription InformationRequired
ChargeTypestringYearly, Monthly, Dynamic, TrialNo
PriceintCurrent PriceNo
OriginalPriceintOriginal PriceNo

Example

Request Example

https://api.surfercloud.com/?Action=DescribeUMemPrice
&Region=cn-bj2
&Zone=cn-bj2-04
&Size=3
&Type=single
&RegionFlag=false
&HighPerformance=true
&BlockCnt=4
&ProxySize=7
&UlbMode=DDlgHEnz
&ClusterMode=OkmSpOnn

Response Example

{
  "Action": "DescribeUMemPriceResponse",
  "DataSet": [
    {
      "ChargeType": "Year",
      "ListPrice": 120000,
      "OriginalPrice": 120000,
      "Price": 120000
    },
    {
      "ChargeType": "Month",
      "ListPrice": 12000,
      "OriginalPrice": 12000,
      "Price": 12000
    },
    {
      "ChargeType": "Dynamic",
      "ListPrice": 24,
      "OriginalPrice": 24,
      "Price": 24
    }
  ],
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved