VMware Cloud Community
healye
Contributor
Contributor

How to access vSphere API method CreateVvolDatastore

I am attempting to access vSphere API method CreateVvolDatastore in list of Managed Object "HostDatastoreSystem" methods.

New CreateVvolDatastore method should be available in HostDatastoreSystem since vSphere API 6.0:

http://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvim.host.Datastor...

However method CreateVvolDatastore not showing up as an option. Note latest vijava pom.xml dependency entry is version 5.1:

              <dependency>

                     <groupId>com.vmware</groupId>

                     <artifactId>vijava</artifactId>

                     <version>5.1</version>

           </dependency>



Can anyone please advise how to successfully find / interface with vSphere 6.0 API class HostDatastoreSystem, method CreateVvolDatastore() ?

Is there any vijava SDK jar available containing this new method?


Thanks,

Elaine

Tags (2)
0 Kudos
1 Reply
kebr
Contributor
Contributor

There's no vijava for vsphere 6 in maven, long story short the APIs are baked in to the releases and the versions correspond to vsphere versions. I'd suggest using yavijava (Maven Repository: com.toastcoders » yavijava) as vijava seems to be dead at this point (at least when it comes to maven releases).

0 Kudos