File tree Expand file tree Collapse file tree 3 files changed +1092
-1030
lines changed
src/main/java/com/azure/resourcemanager Expand file tree Collapse file tree 3 files changed +1092
-1030
lines changed Original file line number Diff line number Diff line change 54
54
<dependency >
55
55
<groupId >com.azure.resourcemanager</groupId >
56
56
<artifactId >azure-resourcemanager</artifactId >
57
- <version >2.0 .0</version >
57
+ <version >2.1 .0</version >
58
58
</dependency >
59
59
<dependency >
60
60
<groupId >com.azure</groupId >
61
61
<artifactId >azure-identity</artifactId >
62
- <version >1.1.3 </version >
62
+ <version >1.2.0 </version >
63
63
</dependency >
64
64
<dependency >
65
65
<groupId >commons-net</groupId >
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public static boolean runSample(AzureResourceManager azureResourceManager) {
89
89
.withNewDataDisk (10 )
90
90
.withNewDataDisk (dataDiskCreatable )
91
91
.withExistingDataDisk (dataDisk )
92
- .withSize (VirtualMachineSizeTypes .STANDARD_D3_V2 )
92
+ .withSize (VirtualMachineSizeTypes .fromString ( "Standard_D2a_v4" ) )
93
93
.create ();
94
94
95
95
Date t2 = new Date ();
@@ -170,7 +170,7 @@ public static boolean runSample(AzureResourceManager azureResourceManager) {
170
170
.withPopularLinuxImage (KnownLinuxVirtualMachineImage .UBUNTU_SERVER_16_04_LTS )
171
171
.withRootUsername (userName )
172
172
.withRootPassword (password )
173
- .withSize (VirtualMachineSizeTypes .STANDARD_D3_V2 )
173
+ .withSize (VirtualMachineSizeTypes .fromString ( "Standard_D2a_v4" ) )
174
174
.create ();
175
175
176
176
System .out .println ("Created a Linux VM (in the same virtual network): " + linuxVM .id ());
You can’t perform that action at this time.
0 commit comments