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.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.
URI
GET /v2/kafka/products/cores
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
instance_id |
Yes |
String |
Instance ID. |
|
product_id |
Yes |
String |
Product ID. |
|
broker_num |
Yes |
String |
Definition Broker quantity. Constraints N/A Range
Default Value N/A |
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