mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3428
UCS:API: We need listUCSManager API to lists all UCS managers registered with CloudStack fix entityType in api command
This commit is contained in:
parent
24fc147ee8
commit
56fad86920
@ -36,6 +36,7 @@ import org.apache.cloudstack.api.Parameter;
|
||||
import org.apache.cloudstack.api.ServerApiException;
|
||||
import org.apache.cloudstack.api.response.ListResponse;
|
||||
import org.apache.cloudstack.api.response.UcsManagerResponse;
|
||||
import org.apache.cloudstack.api.response.ZoneResponse;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import com.cloud.exception.ConcurrentOperationException;
|
||||
@ -50,7 +51,7 @@ import com.cloud.user.Account;
|
||||
public class ListUcsManagerCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListUcsManagerCmd.class);
|
||||
|
||||
@Parameter(name=ApiConstants.ZONE_ID, type=CommandType.LONG, description="the zone id", required=true)
|
||||
@Parameter(name=ApiConstants.ZONE_ID, type=CommandType.UUID, description="the zone id", entityType=ZoneResponse.class, required=true)
|
||||
private Long zoneId;
|
||||
|
||||
@Inject
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user