Quantcast
Channel: VMware Communities : Discussion List - VMware vCloud SDK for Java
Viewing all articles
Browse latest Browse all 144

Creating routed org network with org admin crendentials

$
0
0

Hi,

 

Questions 1: Is it possible to create 'routed org network' with 'org admin' credentials using vCloud SDK 5.1 API ??

                    (I am able to create routed org network using provider level/ System credentials)

 

 

To use "createOrgVdcNetwork()" method , there are two ways

 

1. AdminOrgVdcNetwork orgVdcNet = adminVdc.createOrgVdcNetwork(OrgVdcNetworkParams); (which works fine with provider level credentials )

 

2. ObjectFactory obj = new ObjectFactory();       
   JAXBElement<OrgVdcNetworkType> jaxb = obj.createOrgVdcNetwork(OrgVdcNetworkParams);

 

Question 2 : Any method in whichJAXBElement<OrgVdcNetworkType> can be set / Any other approach.

 

For refrence sample code attached.

 

Regards,


Viewing all articles
Browse latest Browse all 144

Trending Articles



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