Resource Center/Network Service/Network Service Operations/Port Forwarding Operations
GETPort Forwarding OperationsSince 0.6SynchronousAuth Required
GetPortForwardingAttachableVmNics
GetPortForwardingAttachableVmNics
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Query Parameters
Request Inputs
Path Parameters
ruleUuidStringRequiredThe UUID of the port forwarding rule.
Query Parameters
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
GET/zstack/v1/port-forwarding/{ruleUuid}/vm-instances/candidate-nics
/zstack/v1/port-forwarding/{ruleUuid}/vm-instances/candidate-nics
Request Example
curl -X GET 'http://{host}/zstack/v1/port-forwarding/{ruleUuid}/vm-instances/candidate-nics?systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "uuid": "2eb90e57e12f400ba8349742840eb9f9", "vmInstanceUuid": "efa24e175ba34c1196f9818ea6f56e5f", "l3NetworkUuid": "39e4eeeb2b1e4bb885922cb5c6585277", "ip": "192.168.0.123", "mac": "fa:ef:34:5c:6c:00", "netmask": "255.255.255.0", "gateway": "192.168.0.1", "internalName": "eth0", "deviceId": 0.0 } ] }Change History
This API has no change history records yet.
