Querying vCPUs of a Kafka Flavor
Function
This API is used to query the number of vCPUs of a Kafka flavor.
Calling Method
For details, see Calling APIs.
URI
GET /v2/kafka/products/cores
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
instance_id |
Yes |
String |
Instance ID. |
product_id |
Yes |
String |
Product ID. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
core_num |
Integer |
Number of vCPUs. |
Example Requests
GET https://{endpoint}/v2/kafka/products/cores
Example Responses
Status code: 200
Successful
{ "core_num" : 100 }
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