GetURocketMQServicePrice - GetURocketMQServicePrice
Overview
Get URocketMQ prices
Definition
Public Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Action | string | Corresponding API command name, the current API is GetURocketMQServicePrice. | 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 Region and Availability Zone List | Yes |
| ProjectId | string | Project ID. Please refer to GetProjectList API | Yes |
| Storage | int | Storage size, unit: G, only supports multiples of 100 | Yes |
| TPS | int | Specification, the number of data entries produced and consumed per second. | Yes |
| ChargeType | string | Billing mode, enumeration: Dynamic: Hourly payment, Month: Monthly payment, Year: Yearly payment | Yes |
| Mode | string | Instance Network Type, unique value: PrivateNet | Yes |
| Edition | string | Version Category, Unique Value: Enterprise | Yes |
| Quantity | int | Purchase 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 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 |
| PriceSet | array[PriceSet] | Price Information | No |
Data Model
PriceSet
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| ChargeName | string | Payment Name | Yes |
| ChargeType | string | Billing Type. Yearly, Monthly, Dynamic | No |
| Price | float | Price, unit: Yuan, retain two valid digits after the decimal point | No |
| OriginalPrice | float | The original price before the limited-time discount (i.e., the unit price after the list price is multiplied by the business discount). | No |
| ListPrice | float | Product list price. | No |
Example
Request Example
https://api.sigcalcloud.com/?Action=GetURocketMQServicePrice
&Region=cn-zj
&ProjectId=EDrREhlt
&Count=2
&TopicCount=3
&Storeage=4
&TPS=8
&ChargeType=Year
&Quantity=5
&Mode=MFHZPoBl
&Edition=TJGYKNBpResponse Example
{
"Action": "GetURocketMQServicePriceResponse",
"Message": "jLNxdrBn",
"PriceSet": [
{
"ChargeType": "Year",
"ListPrice": 2.66692,
"OriginalPrice": 5.59429,
"Price": 7.32358
}
],
"RetCode": 0
}