|
21 | 21 |
|
22 | 22 | import javax.naming.InsufficientResourcesException; |
23 | 23 |
|
| 24 | +import org.apache.cloudstack.api.BaseCmd.HTTPMethod; |
24 | 25 | import org.apache.cloudstack.api.command.admin.vm.AssignVMCmd; |
25 | 26 | import org.apache.cloudstack.api.command.admin.vm.RecoverVMCmd; |
26 | | -import org.apache.cloudstack.api.command.user.vm.*; |
| 27 | +import org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd; |
| 28 | +import org.apache.cloudstack.api.command.user.vm.DeployVMCmd; |
| 29 | +import org.apache.cloudstack.api.command.user.vm.DestroyVMCmd; |
| 30 | +import org.apache.cloudstack.api.command.user.vm.RebootVMCmd; |
| 31 | +import org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd; |
| 32 | +import org.apache.cloudstack.api.command.user.vm.ResetVMPasswordCmd; |
| 33 | +import org.apache.cloudstack.api.command.user.vm.ResetVMSSHKeyCmd; |
| 34 | +import org.apache.cloudstack.api.command.user.vm.RestoreVMCmd; |
| 35 | +import org.apache.cloudstack.api.command.user.vm.ScaleVMCmd; |
| 36 | +import org.apache.cloudstack.api.command.user.vm.StartVMCmd; |
| 37 | +import org.apache.cloudstack.api.command.user.vm.UpdateDefaultNicForVMCmd; |
| 38 | +import org.apache.cloudstack.api.command.user.vm.UpdateVMCmd; |
| 39 | +import org.apache.cloudstack.api.command.user.vm.UpgradeVMCmd; |
27 | 40 | import org.apache.cloudstack.api.command.user.vmgroup.CreateVMGroupCmd; |
28 | 41 | import org.apache.cloudstack.api.command.user.vmgroup.DeleteVMGroupCmd; |
29 | 42 | import com.cloud.dc.DataCenter; |
@@ -185,8 +198,8 @@ UserVm startVirtualMachine(StartVMCmd cmd) throws StorageUnavailableException, E |
185 | 198 | */ |
186 | 199 | UserVm createBasicSecurityGroupVirtualMachine(DataCenter zone, ServiceOffering serviceOffering, VirtualMachineTemplate template, List<Long> securityGroupIdList, Account owner, String hostName, |
187 | 200 | String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor, |
188 | | - String userData, String sshKeyPair, Map<Long, IpAddresses> requestedIps, IpAddresses defaultIp, |
189 | | - String keyboard, List<Long> affinityGroupIdList) |
| 201 | + HTTPMethod httpmethod, String userData, String sshKeyPair, Map<Long, IpAddresses> requestedIps, |
| 202 | + IpAddresses defaultIp, String keyboard, List<Long> affinityGroupIdList) |
190 | 203 | throws InsufficientCapacityException, ConcurrentOperationException, ResourceUnavailableException, StorageUnavailableException, ResourceAllocationException; |
191 | 204 |
|
192 | 205 | /** |
@@ -257,8 +270,8 @@ UserVm createBasicSecurityGroupVirtualMachine(DataCenter zone, ServiceOffering s |
257 | 270 | * @throws InsufficientResourcesException |
258 | 271 | */ |
259 | 272 | UserVm createAdvancedSecurityGroupVirtualMachine(DataCenter zone, ServiceOffering serviceOffering, VirtualMachineTemplate template, List<Long> networkIdList, List<Long> securityGroupIdList, |
260 | | - Account owner, String hostName, String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor, String userData, String sshKeyPair, Map<Long, IpAddresses> requestedIps, |
261 | | - IpAddresses defaultIps, String keyboard, List<Long> affinityGroupIdList) |
| 273 | + Account owner, String hostName, String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor, HTTPMethod httpmethod, String userData, String sshKeyPair, |
| 274 | + Map<Long, IpAddresses> requestedIps, IpAddresses defaultIps, String keyboard, List<Long> affinityGroupIdList) |
262 | 275 | throws InsufficientCapacityException, ConcurrentOperationException, ResourceUnavailableException, StorageUnavailableException, ResourceAllocationException; |
263 | 276 |
|
264 | 277 | /** |
@@ -327,8 +340,8 @@ UserVm createAdvancedSecurityGroupVirtualMachine(DataCenter zone, ServiceOfferin |
327 | 340 | */ |
328 | 341 | UserVm createAdvancedVirtualMachine(DataCenter zone, ServiceOffering serviceOffering, VirtualMachineTemplate template, List<Long> networkIdList, Account owner, String hostName, |
329 | 342 | String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor, |
330 | | - String userData, String sshKeyPair, Map<Long, IpAddresses> requestedIps, IpAddresses defaultIps, |
331 | | - String keyboard, List<Long> affinityGroupIdList) |
| 343 | + HTTPMethod httpmethod, String userData, String sshKeyPair, Map<Long, IpAddresses> requestedIps, |
| 344 | + IpAddresses defaultIps, String keyboard, List<Long> affinityGroupIdList) |
332 | 345 | throws InsufficientCapacityException, ConcurrentOperationException, ResourceUnavailableException, StorageUnavailableException, ResourceAllocationException; |
333 | 346 |
|
334 | 347 | /** |
|
0 commit comments