I've managed to create pools via Postman. You will need to a collection and under it the post request.
Then you need a file containing your configuration of the pools, under your user ~/Postman/files/ folder.
here is an example of a file:
[
{
"name": "pool1",
"loadBalancingMode": "least-connections-node",
"monitor": "/Common/tcp",
"members": [
{
"name": "8.8.8.8:10779"
} ,
{
"name": "1.1.1.1:80"
}
]
},
{
"name": "pool2",
"loadBalancingMode": "round-robin",
"monitor": "/Common/tcp",
"members": [
{
"name": "9.9.9.9:10779"
},
{
"name": "2.2.2.2:443"
}
]
}
]
You also need to put this under the Pre-request Script:
pm.variables.set(`requestBody`, JSON.stringify(pm.iterationData.toObject()))
Under the body, select raw and JSON type and put this:
Then you have to run the Collection and select the above file.
And that's it.
I've also created a collection for creating a VIP.