> +import org.jclouds.rest.annotations.MapBinder;
> +import org.jclouds.rest.annotations.PayloadParam;
> +import org.jclouds.rest.annotations.PATCH;
> +import org.jclouds.rest.annotations.ResponseParser;
> +
> +
> +import org.jclouds.rest.binders.BindToJsonPayload;
> +
> +/**
> + * The Azure Resource Manager API includes operations for managing resource 
> groups in your subscription.
> + *
> + * @see <a 
> href="https://msdn.microsoft.com/en-us/library/azure/dn790546.aspx";>docs</a>
> + */
> +@Path("/subscriptions/{subscriptionid}")
> +
> +@QueryParams(keys = "api-version", values = "2015-01-01")

@nacx Unfortunately we cannot use a single "apiVersion" for all the apis. In 
ARM, different APIs have different version date. For example: 
For 
[ResourceGroupApi](https://msdn.microsoft.com/en-us/library/azure/dn790529.aspx),
 the supported versions are 
'2016-02-01,2015-11-01,2015-01-01,2014-04-01-preview,2014-04-01,2014-01-01,2013-03-01,2014-02-26,2014-04'.

For 
[VirtualNetworkApi](https://msdn.microsoft.com/en-us/library/azure/dn790529.aspx),
 the supported api-versions are 
'2014-12-01-preview,2015-05-01-preview,2015-06-15,2016-03-30'.

Hence we have provided a version value for each API. What do you recommend as 
the best approach for this since they can all be different values?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/250/files/f7cc1b437f11378e105bba552e3cfee9d7491872#r57675448

Reply via email to