Azure / Azure/azure-libraries-for-java

[BUG] Api versions is very old in java sdk 1.20.1

Open
#755 3 comments 0 reactions 0 assignees View on GitHub
ARM customer-reported Mgmt needs-more-info
Dominant language
Java
Stars
97
Forks
102
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
On creating the azure resources with java sdk 1.20.1 , i encounter the actual api versions with which the resource gets created are very old.

Say for example
Using the java sdk i created a resource group and dns zone. On checking the resources.azure.com i saw the api-version is very old.
For resource group it is: "api-version=2014-04-01"
For dns it is "api-version=2016-04-01"

ResourceGroup:
![Screenshot 2019-06-12 at 3 02 29 PM](https://user-images.githubusercontent.com/5957585/59340478-bc0f4580-8d23-11e9-92ca-a8ba98ba2590.png)

DNS:
![Screenshot 2019-06-12 at 3 08 42 PM](https://user-images.githubusercontent.com/5957585/59340695-190afb80-8d24-11e9-8cb2-36d102281674.png)

**To Reproduce**
Use the azure java sdk 1.20.1 and create the resources like resource groups and private dns zones. Go to resources.azure.com and You will be able to see the same.

**Expected behavior**
The api version should be the latest ones

**Setup (please complete the following information):**
- IDE : Inellij
- Version of the Library used: java sdk 1.20.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.