CLOUDSTACK-6052: List VM enhancement to support querying with multiple VM IDs

Annotated the 'ids' parameter with "since = 4.4"
This commit is contained in:
Koushik Das 2014-03-14 11:04:42 +05:30
parent 4399e245f4
commit 16ddc3414a

View File

@ -68,8 +68,7 @@ public class ListVMsCmd extends BaseListTaggedResourcesCmd {
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = UserVmResponse.class, description = "the ID of the virtual machine")
private Long id;
@Parameter(name=ApiConstants.IDS, type=CommandType.LIST, collectionType=CommandType.UUID, entityType=UserVmResponse.class,
description="the IDs of the virtual machines, mutually exclusive with id")
@Parameter(name=ApiConstants.IDS, type=CommandType.LIST, collectionType=CommandType.UUID, entityType=UserVmResponse.class, description="the IDs of the virtual machines, mutually exclusive with id", since = "4.4")
private List<Long> ids;
@Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "name of the virtual machine")