Querying Details About a Network Device
Function
This API is used to query network devices
-
This API supports fine-grained permissions for enterprise projects. For details, see ies:edgeSite:getNetworkDevice.
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, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
ies:edgeSite:getNetworkDevice
Read
edgeSite *
g:EnterpriseProjectId
-
-
URI
GET /v2/{domain_id}/network-devices/{network_device_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
domain_id |
Yes |
String |
Account ID in the path. |
|
network_device_id |
Yes |
String |
Network device ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
network_device |
NetworkDevice object |
Network device details. |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Network device resource ID. |
|
domain_id |
String |
Account ID. |
|
edge_site_id |
String |
Site ID. |
|
name |
String |
Name. |
|
status |
String |
|
|
offering_id |
String |
Offering ID. |
|
spec |
NetworkDeviceSpec object |
Network device specifications. |
|
market_options |
MarketOptions object |
Billing |
|
product_info |
ProductInfo object |
Attribute information about the product to which the offering belongs. |
|
location |
LayoutLocation object |
Device location. |
|
created_at |
String |
Creation time. |
|
updated_at |
String |
Update time. |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Network device specification ID. |
|
name |
String |
Network device specification name. |
|
power |
Integer |
Device power (W). |
|
unit |
Integer |
Device height (U spaces). |
|
performance_type |
String |
Usage. |
|
Parameter |
Type |
Description |
|---|---|---|
|
charge_mode |
String |
Billing mode.
|
|
prepaid_options |
PrepaidOptions object |
Yearly/Monthly billing. |
|
strategies |
Array of Strategy objects |
The list of sales policies. |
|
Parameter |
Type |
Description |
|---|---|---|
|
order_id |
String |
Order ID |
|
product_id |
String |
Product ID |
|
pay_mode |
String |
Yearly/Monthly payment.
|
|
Parameter |
Type |
Description |
|---|---|---|
|
status |
String |
O&M status:
|
|
scene |
String |
Resource operations status:
POLICE: public security. ILLEGAL: violation scenario. VERIFY: The resource is frozen because the user fails to pass the real-name authentication. |
|
effect |
String |
Resource operations: DELETABLE: deletable UNDELETABLE: unable to delete |
Example Requests
Example request for querying details about a network device
GET https://{ies_endpoint}/v2/{domain_id}/network-devices/{network_device_id}
Example Responses
Status code: 200
successful operation
{
"network_device" : {
"id" : "00000000-0000-000-0000-000000000000",
"domain_id" : "00000000000000000000000000000000",
"edge_site_id" : "00000000-0000-000-0000-000000000000",
"name" : "network01",
"status" : "USING",
"offering_id" : "00000000-0000-000-0000-000000000000",
"spec" : {
"id" : "00000000-0000-000-0000-000000000000",
"name" : "network_device01",
"performance_type" : "normal",
"power" : 10,
"unit" : 3
},
"market_options" : {
"charge_mode" : "prepaid",
"prepaid_options" : {
"order_id" : "CS2507010000LFU8W",
"pay_mode" : "FULL"
}
},
"product_info" : {
"cloud_service_type" : "hws.service.type.ies",
"resource_type" : "hws.resource.type.iesserver",
"resource_spec_code" : "ies.cbu.testnetwork"
},
"created_at" : "2025-07-01T00:00:00.000000Z",
"updated_at" : "2025-07-01T01:00:00.000000Z"
}
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
successful operation |
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