Resource Center/Network Service/Network Service Operations/Port Forwarding Operations
GETPort Forwarding OperationsSince 0.6SynchronousAuth Required
QueryPortForwardingRule
QueryPortForwardingRule
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
This API requires no request parameters.
Responses
Endpoint
GET/zstack/v1/port-forwarding
/zstack/v1/port-forwarding
Request Example
curl -X GET 'http://{host}/zstack/v1/port-forwarding' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "uuid": "c5cf6d7df3164418b3fe5c7569eb1dea", "name": "TestAttachRule", "description": "test atatch rule", "vipIp": "192.168.0.187", "guestIp": "10.0.0.244", "vipUuid": "b5166a0c9adb4aaf8088022b5336209a", "vipPortStart": 33.0, "vipPortEnd": 33.0, "privatePortStart": 33.0, "privatePortEnd": 33.0, "vmNicUuid": "8aa417eb4537475b815b289240e0c0c2", "protocolType": "TCP", "state": "Enabled", "allowedCidr": "0.0.0.0/0", "createDate": "Jun 7, 2017 9:21:17 PM", "lastOpDate": "Jun 7, 2017 9:21:17 PM" } ] }Change History
This API has no change history records yet.
