Skip to content

Commit 85e9d63

Browse files
David Grizzantichipchilders
authored andcommitted
CLOUDSTACK-94: API command, listIsos documentation clarity
Updated API documentation for listIsos command. Descriptions for id and isofilter descriptions clarified: - Updated isofilter description with all options and verbiage taken from VirtualMachineTemplate class - Updated id description Signed-off-by: Chip Childers <chip.childers@gmail.com>
1 parent e173aa1 commit 85e9d63

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

‎api/src/org/apache/cloudstack/api/command/user/iso/ListIsosCmd.java‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class ListIsosCmd extends BaseListTaggedResourcesCmd {
5252
private String hypervisor;
5353

5454
@Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = TemplateResponse.class,
55-
description="list all isos by id")
55+
description="list ISO by id")
5656
private Long id;
5757

5858
@Parameter(name=ApiConstants.IS_PUBLIC, type=CommandType.BOOLEAN, description="true if the ISO is publicly available to all users, false otherwise.")
@@ -61,11 +61,14 @@ public class ListIsosCmd extends BaseListTaggedResourcesCmd {
6161
@Parameter(name=ApiConstants.IS_READY, type=CommandType.BOOLEAN, description="true if this ISO is ready to be deployed")
6262
private Boolean ready;
6363

64-
@Parameter(name=ApiConstants.ISO_FILTER, type=CommandType.STRING, description="possible values are \"featured\", \"self\", \"self-executable\",\"executable\", and \"community\". " +
65-
"* featured-ISOs that are featured and are publicself-ISOs that have been registered/created by the owner. " +
66-
"* selfexecutable-ISOs that have been registered/created by the owner that can be used to deploy a new VM. " +
67-
"* executable-all ISOs that can be used to deploy a new VM " +
68-
"* community-ISOs that are public.")
64+
@Parameter(name=ApiConstants.ISO_FILTER, type=CommandType.STRING, description="possible values are \"featured\", \"self\", \"selfexecutable\",\"sharedexecutable\",\"executable\", and \"community\". " +
65+
"* featured : templates that have been marked as featured and public. " +
66+
"* self : templates that have been registered or created by the calling user. " +
67+
"* selfexecutable : same as self, but only returns templates that can be used to deploy a new VM. " +
68+
"* sharedexecutable : templates ready to be deployed that have been granted to the calling user by another user. " +
69+
"* executable : templates that are owned by the calling user, or public templates, that can be used to deploy a VM. " +
70+
"* community : templates that have been marked as public but not featured. " +
71+
"* all : all templates (only usable by admins).")
6972
private String isoFilter = TemplateFilter.selfexecutable.toString();
7073

7174
@Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="list all isos by name")

0 commit comments

Comments
 (0)