Hi there.
That is not supported, you only can use IP from the UI.
But maybe you can try pushing this using an API call. Even the parameter in the API is IP address:
<loadBalancer>
<pool>
<type>slb</type>
<poolId>pool-1</poolId>
<name>pool-http</name>
<description>pool-http</description>
<algorithm>round-robin</algorithm>
<transparent>true</transparent>
<monitorId>monitor-1</monitorId>
<member>
<memberId>member-1</memberId>
<ipAddress>192.168.101.201</ipAddress>
<weight>1</weight>
<port>80</port>
<maxConn>100</maxConn>
<minConn>10</minConn>
<condition>enabled</condition>
<name>m1</name>
</member>
<member>
<memberId>member-2</memberId>
<ipAddress>192.168.101.202</ipAddress>
<weight>1</weight>
<port>80</port>
<maxConn>100</maxConn>
<minConn>10</minConn>
<condition>enabled</condition>
<name>m2</name>
</member>
</pool>
Get your config with this:
GET /api/4.0/edges/{edgeId}/loadbalancer/config/pools
Update using this with the relacement for DNS (Make sure that your edge has DNS configured)
POST /api/4.0/edges/{edgeId}/loadbalancer/config/pools
In case this works, that I;m not sure about (cannot test it myself atm) this is not supported.
Let me know how it goes if you do this 😃
Cheers
N
-------------------------------------------------------------------
Triple VCIX (CMA-NV-DCV) | vExpert | MCSE | CCNA