You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
HPC clusters
DescribeHpcInstancePosition - Queries network location of an HPC instance
Copy page
Download PDF
DescribeHpcInstancePosition - Queries network location of an HPC instance
Call the DescribeHpcInstancePosition operation to query the location of an HPC-optimized instance in the RDMA network.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters.​
Action string required Sample value: DescribeHpcInstancePosition​
The action that you want to perform. Value: DescribeHpcInstancePosition.​
​
Version string required Sample value: 2020-04-01​
The version of the API. Valid value: 2020-04-01.​
​
InstanceId string required Sample value: i-ybn5lkhxa*******​
The ID of the HPC-optimized instance.​
​
​
​
Response parameters​
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure.​
HpcInstancePositionInfos object[] Sample value: --​
The RDMA network location of the HPC-optimized instance that meets the condition.​
InstanceId string Sample value: i-ybn5lkhxa*******​
The ID of the HPC-optimized instance.​
​
RdmaMinipod string Sample value: 1c6d7fa******​
The hash value of the Minipod associated with the HPC-optimized instance.​
tip​
For the same Minipod, the hash value returned by RdmaMinipod varies based on the specified account ID.​
​
SwitchName string Sample value: febd30c******​
The hash value of the uplink switch.​
tip​
For the same switch, the hash value varies based on the specific value of AccountId.​
​
​
​
​
Sample request​
​
GET /?Action=DescribeHpcInstancePosition&InstanceId=i-ybn5lkhxa*******&Version=2020-04-01 HTTP/1.1​
Host: ecs.cn-beijing.volcengineapi.com ​
Region: cn-beijing​
Service: ecs​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "202206011341030102121020921F******",​
"Action": "DescribeHpcInstancePosition",​
"Version": "2020-04-01",​
"Service": "ecs",​
"Region": "cn-beijing"​
},​
"Result": {​
"HpcInstancePositionInfos":[​
{​
"InstanceId":"i-ybn5lkhxa*******",​
"SwitchName":"febd30c1e4******",​
"RdmaMinipod": "1c6d7fa******"​
}​
]​
}​
}​
​
Error codes​
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.​
​
Status code​
Error code​
Error message​
Description​
400​
MissingParameter.Instance​
The required parameter InstanceId is not supplied.​
The instance ID cannot be left empty.​
400​
InvalidInstanceStatus​
The status of the specified instance does not support this request.​
The current status of the instance does not support this operation.​
404​
InvalidInstance.NotFound​
The specified instance does not exist.​
The specified instance does not exist.​
​
​
Last updated: 2026.06.18 17:48:27