Querying Hyper Cluster Instance Details
Function
This API is used to obtain the details of a specified hyper cluster instance. It is used when you need to know the configuration and status of a supernode network for management and monitoring. Before using this API, ensure that you have logged in to the system, have the permission to query hyper cluster details, and the specified supernode network exists. After the query, the API returns details about the specified supernode network, including the ID, name, and subnet information. If you do not have the required permission to perform the operation, the specified supernode network does not exist, or the ID is invalid, the API returns an error message.
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.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.
URI
GET /v1/{project_id}/dev-servers/hyper-clusters/{id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
id |
Yes |
String |
Description: Hyper cluster ID. Constraints: Mandatory. Range: 1 to 64 characters. Default Value: N/A |
|
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 |
Request Parameters
None
Response Parameters
Status code: 200
|
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/{id}
Example Responses
Status code: 200
OK
{
"id" : "74437437-6810-43b8-ba20-8f8e5bc034da",
"name" : "test-hps--1107",
"network_info" : [ {
"hyper_cluster_subnet_id" : "47be1c96-b00c-4cc9-83cb-089893a632b6",
"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