Querying vCPUs of a RocketMQ Flavor
Function
This API is used to query the number of cores of a RocketMQ flavor.
Calling Method
For details, see Calling APIs.
URI
GET /v2/rocketmq/products/cores
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
product_id |
Yes |
String |
Parameter description: Product ID. Constraints: N/A Value range: N/A Default value: N/A |
broker_num |
Yes |
String |
Parameter description: Number of brokers. Constraints: N/A Value range: N/A Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
core_num |
Integer |
Parameter description: Number of vCPUs. Value range: N/A |
Example Requests
GET https://{endpoint}/v2/rocketmq/products/cores?product_id=c6.8u16g.cluster&broker_num=1
Example Responses
Status code: 200
Successful
{ "core_num" : 135 }
Status Codes
Status Code |
Description |
---|---|
200 |
Successful |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot