Generating API Parameters on the Console
If you input incorrect API parameters when creating a cluster or node using an API, the API call will fail. To avoid this, you can generate API parameters on the console. The console will automatically generate the correct parameters based on your configuration.
Generating API Parameters for Creating a Cluster
- Log in to the CCE console.
- On the Clusters page, click Buy Cluster in the upper right corner.
- Configure cluster parameters as required. For details, see Buying a CCE Standard/Turbo Cluster.
- After the configuration is complete, view the API data generated based on the configuration on the Confirm Configuration page. You can download or copy the API data.
Figure 1 Generating API parameters to create a cluster
- Use the generated API data as the body to call the API for creating a cluster. For details, see Creating a Cluster.
Generating API Parameters for Creating a Node Pool or Node
- Log in to the CCE console.
- Log in to the CCE console, choose Clusters, and click the name of the target cluster to access the cluster console.
- In the navigation pane, choose Nodes.
- To create a node pool, configure the parameters by referring to Creating a Node Pool.
- To create a node, configure the parameters by referring to Creating a Node.
- After the configuration is complete, view the API data generated based on the configuration on the Confirm page. You can download or copy the API data.
Figure 2 Generating API parameters to create a node pool or node
- Use the generated API data as the body to call the API for creating a node pool or node. For details, see Creating a Node Pool or Creating a Node.
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