Skip to content

Commit ad21e86

Browse files
kiranchavalaKiran Chavala
andauthored
addAnnotation: added the various entity type supported by the api call (#7478)
This PR adds documentation to the addAnnotation api call https://cloudstack.apache.org/api/apidocs-4.18/apis/addAnnotation.html Co-authored-by: Kiran Chavala <kiranchavala@Kirans-MacBook-Air.local>
1 parent 8604cb5 commit ad21e86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/main/java/org/apache/cloudstack/api/command/admin/annotation/AddAnnotationCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class AddAnnotationCmd extends BaseCmd {
4141
@Parameter(name = ApiConstants.ANNOTATION, type = CommandType.STRING, description = "the annotation text")
4242
private String annotation;
4343

44-
@Parameter(name = ApiConstants.ENTITY_TYPE, type = CommandType.STRING, description = "the entity type (only HOST is allowed atm)")
44+
@Parameter(name = ApiConstants.ENTITY_TYPE, type = CommandType.STRING, description = "The following entity types are allowed VM, VOLUME, SNAPSHOT, VM_SNAPSHOT, INSTANCE_GROUP, SSH_KEYPAIR, USER_DATA, NETWORK, VPC, PUBLIC_IP_ADDRESS, VPN_CUSTOMER_GATEWAY, TEMPLATE, ISO, KUBERNETES_CLUSTER, SERVICE_OFFERING, DISK_OFFERING, NETWORK_OFFERING, ZONE, POD, CLUSTER, HOST, DOMAIN, PRIMARY_STORAGE, SECONDARY_STORAGE, VR, SYSTEM_VM, AUTOSCALE_VM_GROUP, MANAGEMENT_SERVER")
4545
private String entityType;
4646

4747
@Parameter(name = ApiConstants.ENTITY_ID, type = CommandType.STRING, description = "the id of the entity to annotate")

0 commit comments

Comments
 (0)