Skip to content

Commit 4a9a7bf

Browse files
committed
Release azure-resourcemanager 2.1.0
1 parent ce6ee06 commit 4a9a7bf

File tree

3 files changed

+1092
-1030
lines changed

3 files changed

+1092
-1030
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
<dependency>
5555
<groupId>com.azure.resourcemanager</groupId>
5656
<artifactId>azure-resourcemanager</artifactId>
57-
<version>2.0.0</version>
57+
<version>2.1.0</version>
5858
</dependency>
5959
<dependency>
6060
<groupId>com.azure</groupId>
6161
<artifactId>azure-identity</artifactId>
62-
<version>1.1.3</version>
62+
<version>1.2.0</version>
6363
</dependency>
6464
<dependency>
6565
<groupId>commons-net</groupId>

src/main/java/com/azure/resourcemanager/compute/samples/ManageVirtualMachineWithUnmanagedDisks.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static boolean runSample(AzureResourceManager azureResourceManager) {
7070
.withAdminUsername(userName)
7171
.withAdminPassword(password)
7272
.withUnmanagedDisks()
73-
.withSize(VirtualMachineSizeTypes.STANDARD_D3_V2)
73+
.withSize(VirtualMachineSizeTypes.fromString("Standard_D2a_v4"))
7474
.create();
7575

7676
Date t2 = new Date();
@@ -204,7 +204,7 @@ public static boolean runSample(AzureResourceManager azureResourceManager) {
204204
.withRootUsername(userName)
205205
.withRootPassword(password)
206206
.withUnmanagedDisks()
207-
.withSize(VirtualMachineSizeTypes.STANDARD_D3_V2)
207+
.withSize(VirtualMachineSizeTypes.fromString("Standard_D2a_v4"))
208208
.create();
209209

210210
System.out.println("Created a Linux VM (in the same virtual network): " + linuxVM.id());

0 commit comments

Comments
 (0)