mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Added version for APIs changed in 3.0.1
Reviewed-By: Nitin
This commit is contained in:
parent
5602f3b550
commit
026641f48c
@ -36,7 +36,7 @@ import com.cloud.exception.ResourceAllocationException;
|
||||
import com.cloud.exception.ResourceUnavailableException;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Remove the LDAP context for this site.", responseObject=LDAPConfigResponse.class, since="3.0.0")
|
||||
@Implementation(description="Remove the LDAP context for this site.", responseObject=LDAPConfigResponse.class, since="3.0.1")
|
||||
public class LDAPRemoveCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(LDAPRemoveCmd.class.getName());
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ public class ListGuestOsCategoriesCmd extends BaseListCmd {
|
||||
@Parameter(name=ApiConstants.ID, type=CommandType.LONG, description="list Os category by id")
|
||||
private Long id;
|
||||
|
||||
@Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="list os category by name")
|
||||
@Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="list os category by name", since="3.0.1")
|
||||
private String name;
|
||||
|
||||
|
||||
|
||||
@ -50,7 +50,7 @@ public class ListGuestOsCmd extends BaseListCmd {
|
||||
@Parameter(name=ApiConstants.OS_CATEGORY_ID, type=CommandType.LONG, description="list by Os Category id")
|
||||
private Long osCategoryId;
|
||||
|
||||
@Parameter(name=ApiConstants.DESCRIPTION, type=CommandType.STRING, description="list os by description")
|
||||
@Parameter(name=ApiConstants.DESCRIPTION, type=CommandType.STRING, description="list os by description", since="3.0.1")
|
||||
private String description;
|
||||
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@ public class ListSystemVMsCmd extends BaseListCmd {
|
||||
private Long zoneId;
|
||||
|
||||
@IdentityMapper(entityTableName="storage_pool")
|
||||
@Parameter(name=ApiConstants.STORAGE_ID, type=CommandType.LONG, description="the storage ID where vm's volumes belong to")
|
||||
@Parameter(name=ApiConstants.STORAGE_ID, type=CommandType.LONG, description="the storage ID where vm's volumes belong to", since="3.0.1")
|
||||
private Long storageId;
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
||||
@ -55,7 +55,7 @@ public class StartVMCmd extends BaseAsyncCmd {
|
||||
private Long id;
|
||||
|
||||
@IdentityMapper(entityTableName="host")
|
||||
@Parameter(name=ApiConstants.HOST_ID, type=CommandType.LONG, description="destination Host ID to deploy the VM to - parameter available for root admin only")
|
||||
@Parameter(name=ApiConstants.HOST_ID, type=CommandType.LONG, description="destination Host ID to deploy the VM to - parameter available for root admin only", since="3.0.1")
|
||||
private Long hostId;
|
||||
|
||||
// ///////////////////////////////////////////////////
|
||||
|
||||
@ -98,22 +98,22 @@ public class AccountResponse extends BaseResponse {
|
||||
@SerializedName("vmrunning") @Param(description="the total number of virtual machines running for this account")
|
||||
private Integer vmRunning;
|
||||
|
||||
@SerializedName("projectlimit") @Param(description="the total number of projects the account can own")
|
||||
@SerializedName("projectlimit") @Param(description="the total number of projects the account can own", since="3.0.1")
|
||||
private String projectLimit;
|
||||
|
||||
@SerializedName("projecttotal") @Param(description="the total number of projects being administrated by this account")
|
||||
@SerializedName("projecttotal") @Param(description="the total number of projects being administrated by this account", since="3.0.1")
|
||||
private Long projectTotal;
|
||||
|
||||
@SerializedName("projectavailable") @Param(description="the total number of projects available for administration by this account")
|
||||
@SerializedName("projectavailable") @Param(description="the total number of projects available for administration by this account", since="3.0.1")
|
||||
private String projectAvailable;
|
||||
|
||||
@SerializedName("networklimit") @Param(description="the total number of networks the account can own")
|
||||
@SerializedName("networklimit") @Param(description="the total number of networks the account can own", since="3.0.1")
|
||||
private String networkLimit;
|
||||
|
||||
@SerializedName("networktotal") @Param(description="the total number of networks owned by account")
|
||||
@SerializedName("networktotal") @Param(description="the total number of networks owned by account", since="3.0.1")
|
||||
private Long networkTotal;
|
||||
|
||||
@SerializedName("networkavailable") @Param(description="the total number of networks available to be created for this account")
|
||||
@SerializedName("networkavailable") @Param(description="the total number of networks available to be created for this account", since="3.0.1")
|
||||
private String networkAvailable;
|
||||
|
||||
|
||||
|
||||
@ -153,7 +153,7 @@ public class UserVmResponse extends BaseResponse implements ControlledEntityResp
|
||||
@SerializedName(ApiConstants.PUBLIC_IP) @Param(description="public IP address id associated with vm via Static nat rule")
|
||||
private String publicIp;
|
||||
|
||||
@SerializedName(ApiConstants.INSTANCE_NAME) @Param(description="instance name of the user vm; this parameter is returned to the ROOT admin only")
|
||||
@SerializedName(ApiConstants.INSTANCE_NAME) @Param(description="instance name of the user vm; this parameter is returned to the ROOT admin only", since="3.0.1")
|
||||
private String instanceName;
|
||||
|
||||
public void setHypervisor(String hypervisor) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user