Skip to Content
RMQ Message Queue(URocketMQ)GetURocketMQServicePrice

GetURocketMQServicePrice - GetURocketMQServicePrice

Overview

Get URocketMQ prices

Definition

Public Parameters

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

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See Region and Availability Zone List Yes
ProjectIdstringProject ID. Please refer to GetProjectList API Yes
StorageintStorage size, unit: G, only supports multiples of 100Yes
TPSintSpecification, the number of data entries produced and consumed per second.Yes
ChargeTypestringBilling mode, enumeration: Dynamic: Hourly payment, Month: Monthly payment, Year: Yearly paymentYes
ModestringInstance Network Type, unique value: PrivateNetYes
EditionstringVersion Category, Unique Value: EnterpriseYes
QuantityintPurchase duration. Default: 1. This parameter is not required when purchasing Hourly (Dynamic). For Monthly payment, this parameter should be set to 0, representing purchase until the end of the month.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
PriceSetarray[PriceSet]Price InformationNo

Data Model

PriceSet

Field NameTypeDescription InformationRequired
ChargeNamestringPayment NameYes
ChargeTypestringBilling Type. Yearly, Monthly, DynamicNo
PricefloatPrice, unit: Yuan, retain two valid digits after the decimal pointNo
OriginalPricefloatThe original price before the limited-time discount (i.e., the unit price after the list price is multiplied by the business discount).No
ListPricefloatProduct list price.No

Example

Request Example

https://api.surfercloud.com/?Action=GetURocketMQServicePrice &Region=cn-zj &ProjectId=EDrREhlt &Count=2 &TopicCount=3 &Storeage=4 &TPS=8 &ChargeType=Year &Quantity=5 &Mode=MFHZPoBl &Edition=TJGYKNBp

Response Example

{ "Action": "GetURocketMQServicePriceResponse", "Message": "jLNxdrBn", "PriceSet": [ { "ChargeType": "Year", "ListPrice": 2.66692, "OriginalPrice": 5.59429, "Price": 7.32358 } ], "RetCode": 0 }