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 @@ -114,7 +114,7 @@ public static boolean runSample(AzureResourceManager azureResourceManager) {
114
114
.withLatestLinuxImage ("Canonical" , "UbuntuServer" , "14.04.4-LTS" )
115
115
.withRootUsername (firstLinuxUserName )
116
116
.withRootPassword (firstLinuxUserPassword )
117
- .withSize (VirtualMachineSizeTypes .STANDARD_D3_V2 )
117
+ .withSize (VirtualMachineSizeTypes .fromString ( "Standard_D2a_v4" ) )
118
118
.create ();
119
119
120
120
System .out .println ("Created a Linux VM with" + linuxVM .id ());
@@ -212,7 +212,7 @@ public static boolean runSample(AzureResourceManager azureResourceManager) {
212
212
.withPopularWindowsImage (KnownWindowsVirtualMachineImage .WINDOWS_SERVER_2012_R2_DATACENTER )
213
213
.withAdminUsername (firstWindowsUserName )
214
214
.withAdminPassword (firstWindowsUserPassword )
215
- .withSize (VirtualMachineSizeTypes .STANDARD_D3_V2 )
215
+ .withSize (VirtualMachineSizeTypes .fromString ( "Standard_D2a_v4" ) )
216
216
.defineNewExtension (windowsCustomScriptExtensionName )
217
217
.withPublisher (windowsCustomScriptExtensionPublisherName )
218
218
.withType (windowsCustomScriptExtensionTypeName )
You can’t perform that action at this time.
0 commit comments