Querying the Specified Network of an ECS (Discarded)
Function
This API is used to query the specified network of an ECS.
This API has been discarded. Use the API described in Querying Details About an ECS.
Constraints
None
URI
GET /v2.1/{project_id}/servers/{server_id}/ips/{networkName}
Parameter |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
server_id |
Yes |
String |
Specifies the ECS ID. |
networkName |
Yes |
String |
Specifies the ECS network name. |
Request
None
Response
Table 3 describes the response parameters.
Parameter |
Type |
Description |
---|---|---|
Network address of the ECS |
List(Dict) |
Specifies the network where the ECS accesses. For details about the network, see Table 4. |
Example Request
Query the specified network of a specified ECS.
GET https://{endpoint}/v2.1/{project_id}/servers/{server_id}/ips/{networkName}
Example Response
{
"Network address of the ECS": [
{
"version": 4,
"addr": "10.0.0.4"
},
{
"version": 4,
"addr": "192.150.73.132"
}
]
}
Returned Values
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