Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

how to get object created by addDVPortgroup_Task

$
0
0

Hi,

 

I am trying to get the object created (dvportgroup object) by the addDVPortgroup_Task.

 

dvPortgroupCreationTask = dvSwitch.addDVPortgroup_Task(specArray);

 

Is there anyway of getting the port group object without searching the switch for the name of the new port group.

Is there any parameter of the this task that contains the object or the moref of the object.

 

The reason I am trying to do it this way is I have over 200 portgroups and growing and this operation happens several times a day. So the less time spent searching for port groups the better.

 

Thanks.

 

Sean


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>