package org.zstack.header.vm;

import org.zstack.header.message.APIParam;
import org.zstack.header.message.APISyncCallMessage;

/**
 * Created by xing5 on 2016/5/14.
 */
public class APIGetVmStartingCandidateClustersHostsMsg extends APISyncCallMessage implements VmInstanceMessage {
    @APIParam(resourceType = VmInstanceVO.class, checkAccount = true, operationTarget = true)
    private String uuid;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Override
    public String getVmInstanceUuid() {
        return uuid;
    }
}

@@ -26,16 +26,59 @@
 .vm;%0D%0A%0D%0A
+import org.zstack.header.identity.Action;%0D%0A
 import o
@@ -214,16 +214,72 @@
 .%0D%0A */%0D%0A
+@Action(category = VmInstanceConstant.ACTION_CATEGORY)%0D%0A
 public c

allow normal user to use APIGetVmStartingCandidateClustersHostsMsg