Obtaining the Hyper Cluster Details List
Function
This API is used to obtain the hyper cluster details list.
Constraints
No constraints.
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/hyper-clusters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Definition: User project ID. Constraints: Mandatory. Range: The value can contain 1 to 64 characters. Letters, digits, and hyphens (-) are allowed. Default Value: N/A |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
type |
No |
String |
Definition: Hyper cluster type. Constraints: Optional. Range
Default Value: HPS |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
hyper_clusters |
Array of HyperCluster objects |
Definition: Hyper cluster list. |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Definition: ID of the hyper cluster. Range: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ |
|
name |
String |
Definition: Name of the hyper cluster. Range: ^[-_.a-zA-Z0-9]{1,64}$ |
|
network_info |
Array of network_info objects |
Network information. |
Example Requests
GET https://{endpoint}/v1/{project_id}/dev-servers/hyper-clusters
Example Responses
Status code: 200
OK
{
"hyper_clusters" : [ {
"id" : "e05f463f-b8d0-4377-bb48-a72c67432590",
"name" : "kat3ned-8-752t.80xlarge.8.matrix-6e35",
"network_info" : [ {
"hyper_cluster_subnet_id" : "a7f3607c-4d7d-4bd0-b922-5a8f1e3a4f48",
"is_default" : true
} ]
}, {
"id" : "c9292bec-40eb-4cac-94ea-d7ce0b7941a5",
"name" : "test-kat3ne-8.48xlarge.8.800t.matrix",
"network_info" : [ {
"hyper_cluster_subnet_id" : "730a875a-2f98-4d4f-b93e-11ae072173d7",
"is_default" : true
} ]
} ]
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
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