CreateListener
最后更新于
最后更新于
POST /api/v2/bmc HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: CreateListener
<Common Request Params>
Request:
{
"loadBalancerId": "xxxx",
"name": "xxxx",
"portList": [80],
"clientToken": "xxxx",
"protocol": "TCP",
"backendProtocol": "TCP"
}
Response:
{
"requestId": "TEEFDCA5B-76FB-4E91-A18E-DF7F5D2CE41F",
"response": {
"requestId": "TEEFDCA5B-76FB-4E91-A18E-DF7F5D2CE41F",
"listenerId": "xxxx"
}
}