Querying the List of Supported DevServer Scaling Specifications and Capacity Calculation
Function
This API is used to query the specifications supported by DevServer supernode scaling and calculate the capacity.
Debugging
You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
URI
GET /v1/{project_id}/dev-servers/hyperinstance/{id}/scale-evaluations
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
id |
Yes |
String |
Definition: ID of the DevServer supernode. Constraints: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ Range: N/A Default Value: N/A |
|
project_id |
Yes |
String |
Definition: Project ID. For details, see Obtaining a Project ID and Name. Constraints: The value can contain 1 to 64 characters. Letters, digits, and hyphens (-) are allowed. Range: N/A Default Value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
evaluations |
Array of ServerScaleEvaluation objects |
Flavor capacity retention. |
Example Requests
GET https://{endpoint}/v1/{project_id}/dev-servers/hyperinstance/{id}/live-scale-up
Example Responses
Status code: 200
Accepted
{
"evaluations" : [ {
"is_sold_out" : false,
"flavor" : "physical.xx.8765",
"resource_flavor" : "modelarts.bm.abc.arm.ei.d"
} ]
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Accepted |
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