API Reference
Overview
Flexus X Instance (FlexusX) is a next-generation flexible cloud server service designed for SMEs and developers. It provides application-defined cloud servers with intelligent awareness of service workloads. It is a good choice for medium and low workloads, such as e-commerce livestreaming, enterprise website setup, development and testing environments, game servers, and audio and video services.
FlexusX uses the same set of APIs as Elastic Cloud Server (ECS). You can directly use ECS APIs to manage FlexusX. For details about ECS APIs, see API Overview.
Instance Flavor Naming
When using APIs, you need to understand the flavor naming rule of FlexusX.
Figure 1 shows the flavor naming rule of FlexusX instances, including the flavor type, number of vCPUs, and memory size.
- Flavor type: x1 or x1e
- x1 indicates the default flavor type of FlexusX.
- x1e indicates the flavor type after performance mode is enabled for FlexusX.
- Number of vCPUs: For example, 2u indicates 2 vCPUs.
- Memory: For example, 2g indicates that the memory size is 2 GiB.
- The number of vCPUs and memory size vary depending on whether performance mode is enabled. For details, see Instance Specifications.
- The vCPUs and memory size of a FlexusX instance vary slightly in different regions. For details, see the flavors displayed on the console. Before using APIs, query the vCPUs and memory size on the console to prevent API calling failures.
General APIs
The following describes general APIs. For more details, see API Overview in the ECS API document.
Operation |
API |
Description |
---|---|---|
Creating a FlexusX instance |
|
|
Changing the FlexusX instance flavor to the performance mode flavor |
Enable performance mode (changing the default flavor of a FlexusX instance to the performance mode flavor) with flavorRef set to x1e.?u.?g in the request. |
|
Disabling performance mode |
Disable performance mode for a FlexusX instance with flavorRef set to x1.?u.?g in the request. |
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