Package com.morpheusdata.request
Class ResizeRequest
- java.lang.Object
-
- com.morpheusdata.request.ResizeRequest
-
public class ResizeRequest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.util.Map>
controllersAdd
StorageControllers that should be addedjava.util.List<StorageController>
controllersDelete
StorageControllers that should be deletedjava.util.List<UpdateModel<StorageController>>
controllersUpdate
StorageControllers that should be updatedjava.lang.Long
coresPerSocket
The desired cores per socketjava.util.List<java.util.Map>
interfacesAdd
ComputeServerInterfaces that should be addedjava.util.List<ComputeServerInterface>
interfacesDelete
ComputeServerInterfaces that should be deletedjava.util.List<UpdateModel<ComputeServerInterface>>
interfacesUpdate
ComputeServerInterfaces that should be updatedjava.lang.Long
maxCores
The desired max coresjava.lang.Long
maxMemory
The desired maxMemory in bytesjava.lang.Long
maxStorage
The desired max storage.ServicePlan
plan
The desired ServicePlanjava.util.List<java.util.Map>
volumesAdd
StorageVolumes that should be addedjava.util.List<StorageVolume>
volumesDelete
StorageVolumes that should be deletedjava.util.List<UpdateModel<StorageVolume>>
volumesUpdate
StorageVolumes that should be updated
-
Constructor Summary
Constructors Constructor Description ResizeRequest()
ResizeRequest(ServicePlan plan, java.lang.Long maxMemory, java.lang.Long maxCores, java.lang.Long maxStorage, java.lang.Long coresPerSocket, java.util.List<StorageVolume> volumesDelete, java.util.List<java.util.Map> volumesAdd, java.util.List<UpdateModel<StorageVolume>> volumesUpdate, java.util.List<StorageController> controllersDelete, java.util.List<java.util.Map> controllersAdd, java.util.List<UpdateModel<StorageController>> controllersUpdate, java.util.List<ComputeServerInterface> interfacesDelete, java.util.List<java.util.Map> interfacesAdd, java.util.List<UpdateModel<ComputeServerInterface>> interfacesUpdate)
-
-
-
Field Detail
-
plan
public ServicePlan plan
The desired ServicePlan
-
maxMemory
public java.lang.Long maxMemory
The desired maxMemory in bytes
-
maxCores
public java.lang.Long maxCores
The desired max cores
-
coresPerSocket
public java.lang.Long coresPerSocket
The desired cores per socket
-
maxStorage
public java.lang.Long maxStorage
The desired max storage.
-
volumesDelete
public java.util.List<StorageVolume> volumesDelete
StorageVolumes that should be deleted
-
volumesAdd
public java.util.List<java.util.Map> volumesAdd
StorageVolumes that should be added
-
volumesUpdate
public java.util.List<UpdateModel<StorageVolume>> volumesUpdate
StorageVolumes that should be updated
-
controllersDelete
public java.util.List<StorageController> controllersDelete
StorageControllers that should be deleted
-
controllersAdd
public java.util.List<java.util.Map> controllersAdd
StorageControllers that should be added
-
controllersUpdate
public java.util.List<UpdateModel<StorageController>> controllersUpdate
StorageControllers that should be updated
-
interfacesDelete
public java.util.List<ComputeServerInterface> interfacesDelete
ComputeServerInterfaces that should be deleted
-
interfacesAdd
public java.util.List<java.util.Map> interfacesAdd
ComputeServerInterfaces that should be added
-
interfacesUpdate
public java.util.List<UpdateModel<ComputeServerInterface>> interfacesUpdate
ComputeServerInterfaces that should be updated
-
-
Constructor Detail
-
ResizeRequest
public ResizeRequest()
-
ResizeRequest
public ResizeRequest(ServicePlan plan, java.lang.Long maxMemory, java.lang.Long maxCores, java.lang.Long maxStorage, java.lang.Long coresPerSocket, java.util.List<StorageVolume> volumesDelete, java.util.List<java.util.Map> volumesAdd, java.util.List<UpdateModel<StorageVolume>> volumesUpdate, java.util.List<StorageController> controllersDelete, java.util.List<java.util.Map> controllersAdd, java.util.List<UpdateModel<StorageController>> controllersUpdate, java.util.List<ComputeServerInterface> interfacesDelete, java.util.List<java.util.Map> interfacesAdd, java.util.List<UpdateModel<ComputeServerInterface>> interfacesUpdate)
-
-