Trying to understand the compute basics examples is one of the better
ways to get started with jclouds.

There are two different Azure providers in jclouds:

* The "azurecompute" one uses the old Azure API.
* The "azurecompute-arm" uses the new ARM API.

You'll need to add the "org.apache.jclouds.labs/azurecompute" or
"org.apache.jclouds.labs/azurecompute-arm" dependencies to your
project in order to use them.

In the README for the azurecompute-arm provider you will find the
instructions to create an Application in your subscription for
jclouds:
https://github.com/jclouds/jclouds-labs/tree/master/azurecompute-arm

You might also find the following talks useful:
https://speakerdeck.com/nacx/rule-the-cloud-with-apache-jclouds
http://feathercast.apache.org/apachecon-na-2016-rule-the-cloud-with-apache-jclouds-ignasi-barrera/
(audio recording for the talk)
https://github.com/nacx/acna2016-demo (simple source code for the demo)

https://speakerdeck.com/nacx/introduction-to-apache-jclouds-apachecon-eu-2014


HTH!

I.

On 23 December 2016 at 20:20, Andrew Phillips <aphill...@qrmedia.com> wrote:
> Hi Teo
>
> The jclouds-examples repo [1] may help - I don't think it has an
> Azure-specific example at present, but the general "compute-basics" app
> should hopefully give a better idea of how the end-to-end flow might look
> like:
>
> https://github.com/jclouds/jclouds-examples/blob/master/compute-basics/src/main/java/org/jclouds/examples/compute/basics/MainApp.java
>
> It uses the jclouds' compute abstraction, but should also work with the
> Azure providers.
>
> Of course, suggestions and/or PRs for ways we can improve the initial "how
> does this all fit together?" documentation are also much appreciated -
> definitely things we can do there.
>
> Regards
>
> ap
>
> [1] https://github.com/jclouds/jclouds-examples/

Reply via email to