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 @@ -70,7 +70,7 @@ public static boolean runSample(AzureResourceManager azureResourceManager) {
70
70
.withAdminUsername (userName )
71
71
.withAdminPassword (password )
72
72
.withUnmanagedDisks ()
73
- .withSize (VirtualMachineSizeTypes .STANDARD_D3_V2 )
73
+ .withSize (VirtualMachineSizeTypes .fromString ( "Standard_D2a_v4" ) )
74
74
.create ();
75
75
76
76
Date t2 = new Date ();
@@ -204,7 +204,7 @@ public static boolean runSample(AzureResourceManager azureResourceManager) {
204
204
.withRootUsername (userName )
205
205
.withRootPassword (password )
206
206
.withUnmanagedDisks ()
207
- .withSize (VirtualMachineSizeTypes .STANDARD_D3_V2 )
207
+ .withSize (VirtualMachineSizeTypes .fromString ( "Standard_D2a_v4" ) )
208
208
.create ();
209
209
210
210
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