http://stackoverflow.com/questions/23044060/how-access-native-provider-api-with-jclouds-1-7

Ah, OK. Access to the underlying API in jclouds 1.6 [1] and above is done either by "unwrapping" [2] the context, or by skipping the creation of a context (if you are not using any of the portable functionality) and going straight from the ContextBuilder to the API class using the builder's "buildApi" method.

The CreateVolumeAndAttach example [3] demonstrates both approaches.

Hope that helps!

ap

[1] http://jclouds.apache.org/releasenotes/1.6/
[2] http://javadocs.jclouds.cloudbees.net/org/jclouds/View.html#unwrap(com.google.common.reflect.TypeToken) [3] https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/cloudblockstorage/CreateVolumeAndAttach.java

Reply via email to