From 16ddc3414ae0269ecb8903f670496e45f68d6ef6 Mon Sep 17 00:00:00 2001 From: Koushik Das Date: Fri, 14 Mar 2014 11:04:42 +0530 Subject: [PATCH] CLOUDSTACK-6052: List VM enhancement to support querying with multiple VM IDs Annotated the 'ids' parameter with "since = 4.4" --- .../org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java index e5576e74cab..6c95a1215ed 100644 --- a/api/src/org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java @@ -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 ids; @Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "name of the virtual machine")