mirror of https://github.com/apache/cloudstack.git
Bug 10405: Added since version to new APIs added for acton
Reviewed-By: Nitin
This commit is contained in:
parent
f88ddbe86e
commit
6717218d1d
|
|
@ -34,7 +34,7 @@ import com.cloud.exception.InvalidParameterValueException;
|
|||
import com.cloud.projects.Project;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Activates a project", responseObject=ProjectResponse.class)
|
||||
@Implementation(description="Activates a project", responseObject=ProjectResponse.class, since="3.0.0")
|
||||
public class ActivateProjectCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ActivateProjectCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import com.cloud.exception.InvalidParameterValueException;
|
|||
import com.cloud.projects.Project;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Adds acoount to a project", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Adds acoount to a project", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class AddAccountToProjectCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(AddAccountToProjectCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ import com.cloud.network.PhysicalNetworkServiceProvider;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Adds a network serviceProvider to a physical network", responseObject=ProviderResponse.class)
|
||||
@Implementation(description="Adds a network serviceProvider to a physical network", responseObject=ProviderResponse.class, since="3.0.0")
|
||||
public class AddNetworkServiceProviderCmd extends BaseAsyncCreateCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(AddNetworkServiceProviderCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import com.cloud.exception.DiscoveryException;
|
|||
import com.cloud.storage.Swift;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description = "Adds Swift.", responseObject = HostResponse.class)
|
||||
@Implementation(description = "Adds Swift.", responseObject = HostResponse.class, since="3.0.0")
|
||||
public class AddSwiftCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(AddSwiftCmd.class.getName());
|
||||
private static final String s_name = "addswiftresponse";
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import com.cloud.network.PhysicalNetworkTrafficType;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Adds traffic type to a physical network", responseObject=TrafficTypeResponse.class)
|
||||
@Implementation(description="Adds traffic type to a physical network", responseObject=TrafficTypeResponse.class, since="3.0.0")
|
||||
public class AddTrafficTypeCmd extends BaseAsyncCreateCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(AddTrafficTypeCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ import com.cloud.exception.InvalidParameterValueException;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.uservm.UserVm;
|
||||
|
||||
@Implementation(description="Move a user VM to another user under same domain.", responseObject=UserVmResponse.class)
|
||||
@Implementation(description="Move a user VM to another user under same domain.", responseObject=UserVmResponse.class, since="3.0.0")
|
||||
public class AssignVMCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(AssignVMCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ import com.cloud.network.security.SecurityRule;
|
|||
import com.cloud.user.UserContext;
|
||||
import com.cloud.utils.StringUtils;
|
||||
|
||||
@Implementation(responseObject = SecurityGroupRuleResponse.class, description = "Authorizes a particular egress rule for this security group")
|
||||
@Implementation(responseObject = SecurityGroupRuleResponse.class, description = "Authorizes a particular egress rule for this security group", since="3.0.0")
|
||||
@SuppressWarnings("rawtypes")
|
||||
public class AuthorizeSecurityGroupEgressCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(AuthorizeSecurityGroupIngressCmd.class.getName());
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ import com.cloud.user.Account;
|
|||
import com.cloud.user.UserContext;
|
||||
|
||||
|
||||
@Implementation(description = "Creates a Load Balancer stickiness policy ", responseObject = LBStickinessResponse.class)
|
||||
@Implementation(description = "Creates a Load Balancer stickiness policy ", responseObject = LBStickinessResponse.class, since="3.0.0")
|
||||
@SuppressWarnings("rawtypes")
|
||||
public class CreateLBStickinessPolicyCmd extends BaseAsyncCreateCmd {
|
||||
public static final Logger s_logger = Logger
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ import com.cloud.offering.NetworkOffering;
|
|||
import com.cloud.offering.NetworkOffering.Availability;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Creates a network offering.", responseObject=NetworkOfferingResponse.class)
|
||||
@Implementation(description="Creates a network offering.", responseObject=NetworkOfferingResponse.class, since="3.0.0")
|
||||
public class CreateNetworkOfferingCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(CreateNetworkOfferingCmd.class.getName());
|
||||
private static final String _name = "createnetworkofferingresponse";
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ import com.cloud.network.PhysicalNetwork;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Creates a physical network", responseObject=PhysicalNetworkResponse.class)
|
||||
@Implementation(description="Creates a physical network", responseObject=PhysicalNetworkResponse.class, since="3.0.0")
|
||||
public class CreatePhysicalNetworkCmd extends BaseAsyncCreateCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(CreatePhysicalNetworkCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import com.cloud.projects.Project;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Creates a project", responseObject=ProjectResponse.class)
|
||||
@Implementation(description="Creates a project", responseObject=ProjectResponse.class, since="3.0.0")
|
||||
public class CreateProjectCmd extends BaseAsyncCreateCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(CreateProjectCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import com.cloud.exception.ResourceAllocationException;
|
|||
import com.cloud.exception.ResourceUnavailableException;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Creates a Storage network IP range.", responseObject=StorageNetworkIpRangeResponse.class)
|
||||
@Implementation(description="Creates a Storage network IP range.", responseObject=StorageNetworkIpRangeResponse.class, since="3.0.0")
|
||||
public class CreateStorageNetworkIpRangeCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(CreateStorageNetworkIpRangeCmd.class);
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import com.cloud.exception.InvalidParameterValueException;
|
|||
import com.cloud.projects.Project;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Deletes account from the project", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Deletes account from the project", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class DeleteAccountFromProjectCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteProjectCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import com.cloud.network.rules.LoadBalancer;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description = "Deletes a LB stickiness policy.", responseObject = SuccessResponse.class)
|
||||
@Implementation(description = "Deletes a LB stickiness policy.", responseObject = SuccessResponse.class, since="3.0.0")
|
||||
public class DeleteLBStickinessPolicyCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteLBStickinessPolicyCmd.class.getName());
|
||||
private static final String s_name = "deleteLBstickinessrruleresponse";
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import com.cloud.api.ServerApiException;
|
|||
import com.cloud.api.response.SuccessResponse;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Deletes a network offering.", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Deletes a network offering.", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class DeleteNetworkOfferingCmd extends BaseCmd{
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteNetworkOfferingCmd.class.getName());
|
||||
private static final String s_name = "deletenetworkofferingresponse";
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import com.cloud.exception.ConcurrentOperationException;
|
|||
import com.cloud.exception.ResourceUnavailableException;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Deletes a Network Service Provider.", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Deletes a Network Service Provider.", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class DeleteNetworkServiceProviderCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteNetworkServiceProviderCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import com.cloud.event.EventTypes;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Deletes a Physical Network.", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Deletes a Physical Network.", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class DeletePhysicalNetworkCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeletePhysicalNetworkCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import com.cloud.exception.InvalidParameterValueException;
|
|||
import com.cloud.projects.Project;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Deletes a project", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Deletes a project", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class DeleteProjectCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteProjectCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import com.cloud.event.EventTypes;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Accepts or declines project invitation", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Accepts or declines project invitation", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class DeleteProjectInvitationCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteProjectInvitationCmd.class.getName());
|
||||
private static final String s_name = "deleteprojectinvitationresponse";
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import com.cloud.exception.ResourceAllocationException;
|
|||
import com.cloud.exception.ResourceUnavailableException;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Deletes a storage network IP Range.", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Deletes a storage network IP Range.", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class DeleteStorageNetworkIpRangeCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteStorageNetworkIpRangeCmd.class);
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import com.cloud.api.response.SuccessResponse;
|
|||
import com.cloud.event.EventTypes;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Deletes traffic type of a physical network", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Deletes traffic type of a physical network", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class DeleteTrafficTypeCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteTrafficTypeCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import com.cloud.exception.ResourceAllocationException;
|
|||
import com.cloud.exception.ResourceUnavailableException;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Configure the LDAP context for this site.", responseObject=LDAPConfigResponse.class)
|
||||
@Implementation(description="Configure the LDAP context for this site.", responseObject=LDAPConfigResponse.class, since="3.0.0")
|
||||
public class LDAPConfigCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(LDAPConfigCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import com.cloud.api.response.ListResponse;
|
|||
import com.cloud.hypervisor.Hypervisor.HypervisorType;
|
||||
import com.cloud.hypervisor.HypervisorCapabilities;
|
||||
|
||||
@Implementation(description="Lists all hypervisor capabilities.", responseObject=HypervisorCapabilitiesResponse.class)
|
||||
@Implementation(description="Lists all hypervisor capabilities.", responseObject=HypervisorCapabilitiesResponse.class, since="3.0.0")
|
||||
public class ListHypervisorCapabilitiesCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListHypervisorCapabilitiesCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import com.cloud.network.rules.StickinessPolicy;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description = "Lists LBStickiness policies.", responseObject = LBStickinessResponse.class)
|
||||
@Implementation(description = "Lists LBStickiness policies.", responseObject = LBStickinessResponse.class, since="3.0.0")
|
||||
public class ListLBStickinessPoliciesCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger
|
||||
.getLogger(ListLBStickinessPoliciesCmd.class.getName());
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import com.cloud.network.PhysicalNetworkServiceProvider;
|
|||
import com.cloud.user.Account;
|
||||
|
||||
|
||||
@Implementation(description="Lists network serviceproviders for a given physical network.", responseObject=ProviderResponse.class)
|
||||
@Implementation(description="Lists network serviceproviders for a given physical network.", responseObject=ProviderResponse.class, since="3.0.0")
|
||||
public class ListNetworkServiceProvidersCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListNetworkServiceProvidersCmd.class.getName());
|
||||
private static final String _name = "listnetworkserviceprovidersresponse";
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import com.cloud.api.response.PhysicalNetworkResponse;
|
|||
import com.cloud.network.PhysicalNetwork;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Lists physical networks", responseObject=PhysicalNetworkResponse.class)
|
||||
@Implementation(description="Lists physical networks", responseObject=PhysicalNetworkResponse.class, since="3.0.0")
|
||||
public class ListPhysicalNetworksCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListPhysicalNetworksCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import com.cloud.api.response.ProjectResponse;
|
|||
import com.cloud.projects.ProjectAccount;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Lists project's accounts", responseObject=ProjectResponse.class)
|
||||
@Implementation(description="Lists project's accounts", responseObject=ProjectResponse.class, since="3.0.0")
|
||||
public class ListProjectAccountsCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListProjectAccountsCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import com.cloud.api.response.ListResponse;
|
|||
import com.cloud.api.response.ProjectInvitationResponse;
|
||||
import com.cloud.projects.ProjectInvitation;
|
||||
|
||||
@Implementation(description="Lists projects and provides detailed information for listed projects", responseObject=ProjectInvitationResponse.class)
|
||||
@Implementation(description="Lists projects and provides detailed information for listed projects", responseObject=ProjectInvitationResponse.class, since="3.0.0")
|
||||
public class ListProjectInvitationsCmd extends BaseListAccountResourcesCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListProjectInvitationsCmd.class.getName());
|
||||
private static final String s_name = "listprojectinvitationsresponse";
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import com.cloud.api.response.ListResponse;
|
|||
import com.cloud.api.response.ProjectResponse;
|
||||
import com.cloud.projects.Project;
|
||||
|
||||
@Implementation(description="Lists projects and provides detailed information for listed projects", responseObject=ProjectResponse.class)
|
||||
@Implementation(description="Lists projects and provides detailed information for listed projects", responseObject=ProjectResponse.class, since="3.0.0")
|
||||
public class ListProjectsCmd extends BaseListAccountResourcesCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListProjectsCmd.class.getName());
|
||||
private static final String s_name = "listprojectsresponse";
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import com.cloud.network.Network.Service;
|
|||
import com.cloud.user.Account;
|
||||
|
||||
|
||||
@Implementation(description="Lists all network services provided by CloudStack or for the given Provider.", responseObject=ServiceResponse.class)
|
||||
@Implementation(description="Lists all network services provided by CloudStack or for the given Provider.", responseObject=ServiceResponse.class, since="3.0.0")
|
||||
public class ListSupportedNetworkServicesCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListSupportedNetworkServicesCmd.class.getName());
|
||||
private static final String _name = "listsupportednetworkservicesresponse";
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import com.cloud.api.response.SwiftResponse;
|
|||
import com.cloud.storage.Swift;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description = "List Swift.", responseObject = HostResponse.class)
|
||||
@Implementation(description = "List Swift.", responseObject = HostResponse.class, since="3.0.0")
|
||||
public class ListSwiftsCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListSwiftsCmd.class.getName());
|
||||
private static final String s_name = "listswiftsresponse";
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import com.cloud.network.Networks.TrafficType;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.utils.Pair;
|
||||
|
||||
@Implementation(description="Lists implementors of implementor of a network traffic type or implementors of all network traffic types", responseObject=TrafficTypeImplementorResponse.class)
|
||||
@Implementation(description="Lists implementors of implementor of a network traffic type or implementors of all network traffic types", responseObject=TrafficTypeImplementorResponse.class, since="3.0.0")
|
||||
public class ListTrafficTypeImplementorsCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListTrafficTypeImplementorsCmd.class);
|
||||
private static final String _name = "listtraffictypeimplementorsresponse";
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import com.cloud.network.PhysicalNetworkTrafficType;
|
|||
import com.cloud.user.Account;
|
||||
|
||||
|
||||
@Implementation(description="Lists traffic types of a given physical network.", responseObject=ProviderResponse.class)
|
||||
@Implementation(description="Lists traffic types of a given physical network.", responseObject=ProviderResponse.class, since="3.0.0")
|
||||
public class ListTrafficTypesCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListTrafficTypesCmd.class.getName());
|
||||
private static final String _name = "listtraffictypesresponse";
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import com.cloud.storage.Volume;
|
|||
import com.cloud.user.Account;
|
||||
|
||||
|
||||
@Implementation(description="Migrate volume", responseObject=VolumeResponse.class)
|
||||
@Implementation(description="Migrate volume", responseObject=VolumeResponse.class, since="3.0.0")
|
||||
public class MigrateVolumeCmd extends BaseAsyncCmd {
|
||||
private static final String s_name = "migratevolumeresponse";
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import com.cloud.user.Account;
|
|||
import com.cloud.user.UserContext;
|
||||
import com.cloud.uservm.UserVm;
|
||||
|
||||
@Implementation(description="Restore a VM to original template or specific snapshot", responseObject=UserVmResponse.class)
|
||||
@Implementation(description="Restore a VM to original template or specific snapshot", responseObject=UserVmResponse.class, since="3.0.0")
|
||||
public class RestoreVMCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(RestoreVMCmd.class);
|
||||
private static final String s_name = "restorevmresponse";
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import com.cloud.event.EventTypes;
|
|||
import com.cloud.network.security.SecurityGroup;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(responseObject = SuccessResponse.class, description = "Deletes a particular egress rule from this security group")
|
||||
@Implementation(responseObject = SuccessResponse.class, description = "Deletes a particular egress rule from this security group", since="3.0.0")
|
||||
public class RevokeSecurityGroupEgressCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(RevokeSecurityGroupEgressCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import com.cloud.exception.ResourceUnavailableException;
|
|||
import com.cloud.projects.Project;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Suspends a project", responseObject=ProjectResponse.class)
|
||||
@Implementation(description="Suspends a project", responseObject=ProjectResponse.class, since="3.0.0")
|
||||
public class SuspendProjectCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(SuspendProjectCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ import com.cloud.hypervisor.HypervisorCapabilities;
|
|||
import com.cloud.user.Account;
|
||||
|
||||
|
||||
@Implementation(description="Updates a hypervisor capabilities.", responseObject=ServiceOfferingResponse.class)
|
||||
@Implementation(description="Updates a hypervisor capabilities.", responseObject=ServiceOfferingResponse.class, since="3.0.0")
|
||||
public class UpdateHypervisorCapabilitiesCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(UpdateHypervisorCapabilitiesCmd.class.getName());
|
||||
private static final String s_name = "updatehypervisorcapabilitiesresponse";
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import com.cloud.event.EventTypes;
|
|||
import com.cloud.network.PhysicalNetworkServiceProvider;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Updates a network serviceProvider of a physical network", responseObject=ProviderResponse.class)
|
||||
@Implementation(description="Updates a network serviceProvider of a physical network", responseObject=ProviderResponse.class, since="3.0.0")
|
||||
public class UpdateNetworkServiceProviderCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(UpdateNetworkServiceProviderCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import com.cloud.event.EventTypes;
|
|||
import com.cloud.network.PhysicalNetwork;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Updates a physical network", responseObject=PhysicalNetworkResponse.class)
|
||||
@Implementation(description="Updates a physical network", responseObject=PhysicalNetworkResponse.class, since="3.0.0")
|
||||
public class UpdatePhysicalNetworkCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(UpdatePhysicalNetworkCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import com.cloud.exception.ResourceAllocationException;
|
|||
import com.cloud.projects.Project;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Updates a project", responseObject=ProjectResponse.class)
|
||||
@Implementation(description="Updates a project", responseObject=ProjectResponse.class, since="3.0.0")
|
||||
public class UpdateProjectCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(UpdateProjectCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import com.cloud.event.EventTypes;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.user.UserContext;
|
||||
|
||||
@Implementation(description="Accepts or declines project invitation", responseObject=SuccessResponse.class)
|
||||
@Implementation(description="Accepts or declines project invitation", responseObject=SuccessResponse.class, since="3.0.0")
|
||||
public class UpdateProjectInvitationCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(UpdateProjectInvitationCmd.class.getName());
|
||||
private static final String s_name = "updateprojectinvitationresponse";
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import com.cloud.exception.ResourceAllocationException;
|
|||
import com.cloud.exception.ResourceUnavailableException;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Update a Storage network IP range, only allowed when no IPs in this range have been allocated.", responseObject=UpdateStorageNetworkIpRangeCmd.class)
|
||||
@Implementation(description="Update a Storage network IP range, only allowed when no IPs in this range have been allocated.", responseObject=UpdateStorageNetworkIpRangeCmd.class, since="3.0.0")
|
||||
public class UpdateStorageNetworkIpRangeCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(UpdateStorageNetworkIpRangeCmd.class);
|
||||
private static final String s_name = "updatestoragenetworkiprangeresponse";
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import com.cloud.api.response.StoragePoolResponse;
|
|||
import com.cloud.storage.StoragePool;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Updates a storage pool.", responseObject=StoragePoolResponse.class)
|
||||
@Implementation(description="Updates a storage pool.", responseObject=StoragePoolResponse.class, since="3.0.0")
|
||||
public class UpdateStoragePoolCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(UpdateStoragePoolCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import com.cloud.event.EventTypes;
|
|||
import com.cloud.network.PhysicalNetworkTrafficType;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="Updates traffic type of a physical network", responseObject=TrafficTypeResponse.class)
|
||||
@Implementation(description="Updates traffic type of a physical network", responseObject=TrafficTypeResponse.class, since="3.0.0")
|
||||
public class UpdateTrafficTypeCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(UpdateTrafficTypeCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import com.cloud.exception.ResourceAllocationException;
|
|||
import com.cloud.exception.ResourceUnavailableException;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@Implementation(description="List a storage network IP range.", responseObject=StorageNetworkIpRangeResponse.class)
|
||||
@Implementation(description="List a storage network IP range.", responseObject=StorageNetworkIpRangeResponse.class, since="3.0.0")
|
||||
public class listStorageNetworkIpRangeCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(listStorageNetworkIpRangeCmd.class);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue