Querying Available Specifications of an MRS Cluster Version
Function
This API is used to query available specifications of an MRS cluster version.
URI
GET /v2/{project_id}/metadata/version/{version_name}/available-flavor
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Explanation Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. Constraints N/A Value range The value must consist of 1 to 64 characters. Only letters and digits are allowed. Default value N/A |
version_name |
Yes |
String |
Explanation Cluster version, for example, MRS 3.3.1. If the request client does not support automatic escape, escape the space to %20, for example, MRS %203.3.1. Constraints N/A Value range The value can contain 1 to 64 characters. Default value N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
version_name |
String |
Explanation Version name. Value range N/A |
available_flavors |
Array of AzFlavors objects |
Explanation Flavors supported by different AZs. For details, see Table 3. |
Parameter |
Type |
Description |
---|---|---|
az_code |
String |
Explanation AZ code. Value range N/A |
az_name |
String |
Explanation AZ name Value range N/A |
master |
Array of Flavor objects |
Explanation Specifications supported by the master node. For details, see Table 4. |
core |
Array of Flavor objects |
Explanation Specifications supported by the core node. For details, see Table 4. |
task |
Array of Flavor objects |
Explanation Specifications supported by the task node. For details, see Table 4. |
Example Request
Obtain details about MRS 3.3.1-LTS metadata.
/v2/f77c10d14a544393a24e5f0bf53202b6/metadata/version/MRS%203.3.1-LTS/available-flavor
Example Response
Status code: 200
Available specifications of the current version
{ "version_name" : "MRS 3.3.1-LTS", "available_flavors" : [ { "az_code" : "az1.cn-fcs-xxx", "az_name" : "AZ 1", "master" : [ { "flavor_name" : "Si3.4xlarge.4" }, { "flavor_name" : "m3.8xlarge.8" }, { "flavor_name" : "c6.xlarge.4" }, { "flavor_name" : "m6.xlarge.8" } ], "core" : [ { "flavor_name" : "Si3.4xlarge.4" }, { "flavor_name" : "m3.8xlarge.8" }, { "flavor_name" : "c6.xlarge.4" }, { "flavor_name" : "m6.xlarge.8" } ], "task" : [ { "flavor_name" : "Si3.4xlarge.4" }, { "flavor_name" : "m3.8xlarge.8" }, { "flavor_name" : "c6.xlarge.4" }, { "flavor_name" : "m6.xlarge.8" } ] }, { "az_code" : "az1.cn-fcs-xxx", "az_name" : "AZ 2", "master" : [ { "flavor_name" : "Si3.4xlarge.4" }, { "flavor_name" : "m3.8xlarge.8" }, { "flavor_name" : "c6.xlarge.4" }, { "flavor_name" : "m6.xlarge.8" } ], "core" : [ { "flavor_name" : "Si3.4xlarge.4" }, { "flavor_name" : "m3.8xlarge.8" }, { "flavor_name" : "c6.xlarge.4" }, { "flavor_name" : "m6.xlarge.8" } ], "task" : [ { "flavor_name" : "Si3.4xlarge.4" }, { "flavor_name" : "m3.8xlarge.8" }, { "flavor_name" : "c6.xlarge.4" }, { "flavor_name" : "m6.xlarge.8" } ] }, { "az_code" : "az1.cn-fcs-xxx", "az_name" : "AZ 3", "master" : [ { "flavor_name" : "Si3.4xlarge.4" }, { "flavor_name" : "m3.8xlarge.8" }, { "flavor_name" : "c6.xlarge.4" }, { "flavor_name" : "m6.xlarge.8" } ], "core" : [ { "flavor_name" : "Si3.4xlarge.4" }, { "flavor_name" : "m3.8xlarge.8" }, { "flavor_name" : "c6.xlarge.4" }, { "flavor_name" : "m6.xlarge.8" } ], "task" : [ { "flavor_name" : "Si3.4xlarge.4" }, { "flavor_name" : "m3.8xlarge.8" }, { "flavor_name" : "c6.xlarge.4" }, { "flavor_name" : "m6.xlarge.8" } ] } ] }
Status Codes
For details, see Status Codes.
Error Codes
For details, 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