...
Additionally, specify what entity the API Cmd operates on in entityType attribute of the @APICommand annotation.
Code Block |
---|
@APICommand(name = "deployVirtualMachine", description = "Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.", responseObject = UserVmResponse.class, responseView = ResponseView.Restricted, entityType = { VirtualMachine.class })
public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
...
} |
...