docs
api
Cloud Memory(UMem)
DescribeUMemUpgradePrice

Get Upgrade Price - DescribeUMemUpgradePrice

Overview

Get UMem upgrade price information

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUMemUpgradePrice.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 ListNo
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
SizeintPurchase UMem size, unit: GBYes
TypestringSpace Type: single (no hot backup), double (hot backup) (default: double)Yes
SpaceIdstringSpaceId of the space that needs to be upgradedYes
HighPerformancestringIs it performance-enhanced? The default is false, or not filled in, true is performance-enhanced.No
IsSplitstringIf it is a split button to query the price, fill in true, otherwise fill in false, the default is false.No
BlockIds.NstringPerform capacity adjustment for the shard ID (not required for performance-enhanced type)No
BlockSize.NintThe target capacity of the shard undergoing capacity adjustment, in GB units (Performance Enhanced type does not need to be entered)No
ProxyIdstringProxy IDNo
NewCPUintNumber of CPU cores after proxy upgradeNo
ReplicaSizeintAdd Read-Write Separation Node Capacity SizeNo

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
PriceintPriceNo
OriginalPriceintOriginal PriceNo

Example

Request Example

https://api.surfercloud.com/?Action=DescribeUMemUpgradePrice
&Region=OYdDMZXj
&Zone=eOtEEIHT
&ProjectId=xaZfeoNa
&Size=6
&Type=bmNycqFN
&SpaceId=AmSgNavR
&HighPerformance=gPcaNcLQ
&IsSplit=AjafPGzg
&BlockIds.n=WJNZdGqo
&BlockSize.n=4
&ProxyId=SPUoFZMN
&NewCPU=1
&NewSize=9

Response Example

{
  "Action": "DescribeUMemUpgradePriceResponse",
  "OriginalPrice": 9,
  "Price": 9,
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved