You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 855c907
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -48,26 +49,26 @@ public class AddMemberToInstanceBootGroupCmd extends BaseCmd implements UserCmd
48
49
InstanceBootGroupServiceinstanceBootGroupService;
49
50
50
51
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = InstanceBootGroupResponse.class, required = true, description = "The ID of the instance boot group")
51
-
privateStringid;
52
+
privateLongid;
52
53
53
54
@Parameter(name = ApiConstants.VIRTUAL_MACHINE_ID, type = CommandType.UUID, entityType = UserVmResponse.class, description = "The ID of the VM to add (exclusive with instancegroupid)")
54
-
privateStringvirtualMachineId;
55
+
privateLongvirtualMachineId;
55
56
56
-
@Parameter(name = ApiConstants.GROUP_ID, type = CommandType.UUID, entityType = InstanceGroupResponse.class, description = "The ID of the instance group to add (exclusive with virtualmachineid)")
57
-
privateStringinstanceGroupId;
57
+
@Parameter(name = ApiConstants.INSTANCE_GROUP_ID, type = CommandType.UUID, entityType = InstanceGroupResponse.class, description = "The ID of the instance group to add (exclusive with virtualmachineid)")
58
+
privateLonginstanceGroupId;
58
59
59
60
@Parameter(name = ApiConstants.BOOT_ORDER, type = CommandType.INTEGER, required = true, description = "The boot order value for this member (0 or greater; non-contiguous values are allowed)")
60
61
privateintorder;
61
62
62
-
publicStringgetId() {
63
+
publicLonggetId() {
63
64
returnid;
64
65
}
65
66
66
-
publicStringgetVirtualMachineId() {
67
+
publicLonggetVirtualMachineId() {
67
68
returnvirtualMachineId;
68
69
}
69
70
70
-
publicStringgetInstanceGroupId() {
71
+
publicLonggetInstanceGroupId() {
71
72
returninstanceGroupId;
72
73
}
73
74
@@ -80,6 +81,16 @@ public long getEntityOwnerId() {
@@ -46,9 +47,9 @@ public class DeleteInstanceBootGroupCmd extends BaseCmd implements UserCmd {
46
47
InstanceBootGroupServiceinstanceBootGroupService;
47
48
48
49
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = InstanceBootGroupResponse.class, required = true, description = "The ID of the instance boot group")
49
-
privateStringid;
50
+
privateLongid;
50
51
51
-
publicStringgetId() {
52
+
publicLonggetId() {
52
53
returnid;
53
54
}
54
55
@@ -57,6 +58,16 @@ public long getEntityOwnerId() {
Copy file name to clipboardExpand all lines: api/src/main/java/org/apache/cloudstack/api/command/user/bootgroup/ListInstanceBootGroupMembersCmd.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,13 +47,13 @@ public class ListInstanceBootGroupMembersCmd extends BaseListCmd implements User
47
47
@Inject
48
48
InstanceBootGroupServiceinstanceBootGroupService;
49
49
50
-
@Parameter(name = ApiConstants.BOOT_GROUP_ID, type = CommandType.STRING, required = true, entityType = InstanceBootGroupResponse.class, description = "The ID of the instance boot group")
51
-
privateStringbootGroupId;
50
+
@Parameter(name = ApiConstants.BOOT_GROUP_ID, type = CommandType.UUID, required = true, entityType = InstanceBootGroupResponse.class, description = "The ID of the instance boot group")
51
+
privateLongbootGroupId;
52
52
53
53
@Parameter(name = ApiConstants.MEMBER_TYPE, type = CommandType.STRING, description = "Filter by member type: VirtualMachine or InstanceGroup")
Copy file name to clipboardExpand all lines: api/src/main/java/org/apache/cloudstack/api/command/user/bootgroup/ListInstanceBootGroupsCmd.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -48,19 +48,19 @@ public class ListInstanceBootGroupsCmd extends BaseListProjectAndAccountResource
48
48
@Inject
49
49
InstanceBootGroupServiceinstanceBootGroupService;
50
50
51
-
@Parameter(name = ApiConstants.ID, type = CommandType.STRING, entityType = InstanceBootGroupResponse.class, description = "List instance boot groups by ID")
52
-
privateStringid;
51
+
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = InstanceBootGroupResponse.class, description = "List instance boot groups by ID")
52
+
privateLongid;
53
53
54
54
@Parameter(name = ApiConstants.KEYWORD, type = CommandType.STRING, description = "List instance boot groups by name keyword")
55
55
privateStringkeyword;
56
56
57
57
@Parameter(name = ApiConstants.VIRTUAL_MACHINE_ID, type = CommandType.UUID, entityType = UserVmResponse.class, description = "List boot groups that contain this VM")
58
58
privateLongvirtualMachineId;
59
59
60
-
@Parameter(name = ApiConstants.GROUP_ID, type = CommandType.UUID, entityType = InstanceGroupResponse.class, description = "List boot groups that contain this instance group")
60
+
@Parameter(name = ApiConstants.INSTANCE_GROUP_ID, type = CommandType.UUID, entityType = InstanceGroupResponse.class, description = "List boot groups that contain this instance group")
@@ -46,9 +47,9 @@ public class RemoveInstanceBootGroupMemberCmd extends BaseCmd implements UserCmd
46
47
InstanceBootGroupServiceinstanceBootGroupService;
47
48
48
49
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = InstanceBootGroupMemberResponse.class, required = true, description = "The UUID of the boot group member entry to remove")
49
-
privateStringid;
50
+
privateLongid;
50
51
51
-
publicStringgetId() {
52
+
publicLonggetId() {
52
53
returnid;
53
54
}
54
55
@@ -57,6 +58,16 @@ public long getEntityOwnerId() {
0 commit comments