vsphere-automation-sdk-rest
vsphere-automation-sdk-rest copied to clipboard
unable to create vm with distributed switches
creating a vm with nics needs provide backing info:
"backing" : { "distributed_port" : "string", "type" : "STANDARD_PORTGROUP", "network" : "obj-103" },
with a default switch works fine:
"backing" : { "type" : "STANDARD_PORTGROUP", "network" : "obj-103" },
but not when you have a distributed switch:
"backing" : { "distributed_port" : "string", "type" : "DISTRIBUTED_PORTGROUP", "network" : "obj-103" },
with rest api i am unable to find out the value (id) for distributed_port.
I'll take a look into this and see what I can find out.
thanks, if you need additonal info let me know.
do you have an update?