mirror of https://github.com/apache/cloudstack.git
Enhance Documentation for changeServiceForVirtualMachine and scaleVirtualMachine (#5101)
This commit is contained in:
parent
e962f0f271
commit
1c36ea9b4f
|
|
@ -25,6 +25,6 @@ import org.apache.cloudstack.api.response.SuccessResponse;
|
|||
import com.cloud.vm.VirtualMachine;
|
||||
|
||||
|
||||
@APICommand(name = "scaleVirtualMachine", description = "Scales the virtual machine to a new service offering.", responseObject = SuccessResponse.class, responseView = ResponseView.Full, entityType = {VirtualMachine.class},
|
||||
@APICommand(name = "scaleVirtualMachine", description = "Scales the virtual machine to a new service offering. This command also takes into account the Volume and it may resize the root disk size according to the service offering.", responseObject = SuccessResponse.class, responseView = ResponseView.Full, entityType = {VirtualMachine.class},
|
||||
requestHasSensitiveInfo = false, responseHasSensitiveInfo = false)
|
||||
public class ScaleVMCmdByAdmin extends ScaleVMCmd implements AdminCmd {}
|
||||
public class ScaleVMCmdByAdmin extends ScaleVMCmd implements AdminCmd {}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import com.cloud.vm.VirtualMachine;
|
|||
|
||||
@APICommand(name = "changeServiceForVirtualMachine", responseObject=UserVmResponse.class, description="Changes the service offering for a virtual machine. " +
|
||||
"The virtual machine must be in a \"Stopped\" state for " +
|
||||
"this command to take effect.", responseView = ResponseView.Full, entityType = {VirtualMachine.class},
|
||||
"this command to take effect. Note that it only changes the VM's compute offering and it does not update the root volume offering. "
|
||||
+ "If the Service Offering has a root disk size the volume will be resized only if using API command 'scaleVirtualMachine'.", responseView = ResponseView.Full, entityType = {VirtualMachine.class},
|
||||
requestHasSensitiveInfo = false, responseHasSensitiveInfo = true)
|
||||
public class UpgradeVMCmdByAdmin extends UpgradeVMCmd implements AdminCmd {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue