Package com.morpheusdata.model
Class Workload
Represents a workload running in morpheus. This is also known internally to morpheus as a Container object but due
to the expansion of where this model is used (the context), it has been renamed in the public api as a Workload
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Account
protected String
protected String
protected String
protected Long
protected CloudPool
protected String
protected String
protected String
protected String
protected String
protected String
protected Boolean
protected String
protected String
protected Long
protected Date
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Double
protected Double
protected String
protected Boolean
protected Instance
protected String
protected String
protected String
protected String
protected Long
protected String
protected String
protected Date
protected Boolean
protected Long
protected Long
protected Long
protected Long
protected String
protected Network
protected ServicePlan
protected String
protected Boolean
protected Long
protected String
protected String
protected String
protected Double
protected Double
protected Double
protected String
protected ComputeServer
protected String
protected String
protected String
protected String
protected Boolean
protected Workload.Status
protected String
protected NetworkSubnet
protected String
protected Float
protected Long
protected Long
protected String
protected String
protected String
protected Boolean
protected WorkloadType
protected WorkloadTypeSet
Fields inherited from class com.morpheusdata.model.projection.WorkloadIdentityProjection
externalId, serverId
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetIacId()
getName()
getPlan()
getUuid()
void
setAccount
(Account account) void
void
setCategory
(String category) void
setChangeManagementExtId
(String changeManagementExtId) void
setChangeManagementServiceId
(Long changeManagementServiceId) void
setCloudPool
(CloudPool cloudPool) void
setComputeZonePool
(CloudPool computeZonePool) void
setConfigGroup
(String configGroup) void
setConfigId
(String configId) void
setConfigMap
(Map<String, Object> map) void
setConfigRole
(String configRole) void
setConfigs
(String configs) void
setConfigSettings
(String configSettings) void
setConfigTags
(String configTags) void
setContainerCreated
(Boolean containerCreated) void
setContainerVersion
(String containerVersion) void
setControlId
(String controlId) void
setCoresPerSocket
(Long coresPerSocket) void
setDateCreated
(Date dateCreated) void
setDeploymentId
(String deploymentId) void
setDisplayName
(String displayName) void
setDomainName
(String domainName) void
setEnvironmentPrefix
(String environmentPrefix) void
setErrorMessage
(String errorMessage) void
setExternalIp
(String externalIp) void
setHostname
(String hostname) void
setHourlyCost
(Double hourlyCost) void
setHourlyPrice
(Double hourlyPrice) void
void
setInService
(Boolean inService) void
setInstance
(Instance instance) void
setInternalId
(String internalId) void
setInternalIp
(String internalIp) void
setInternalName
(String internalName) void
setInventoryExternalRef
(String inventoryExternalRef) void
setInventoryServiceId
(Long inventoryServiceId) void
setItemSource
(String itemSource) void
setLastStats
(String lastStats) void
setLastUpdated
(Date lastUpdated) void
setManaged
(Boolean managed) void
setMaxCores
(Long maxCores) void
void
setMaxMemory
(Long maxMemory) void
setMaxStorage
(Long maxStorage) void
setMonitorId
(String monitorId) void
setNetwork
(Network network) void
setPlan
(ServicePlan plan) void
setPlanCategory
(String planCategory) void
setPrivateNetworking
(Boolean privateNetworking) void
setProvisionTime
(Long provisionTime) void
setRawData
(String rawData) void
setRepositoryImage
(String repositoryImage) void
setResourceLevel
(String resourceLevel) void
setRunningCost
(Double runningCost) void
setRunningMultiplier
(Double runningMultiplier) void
setRunningPrice
(Double runningPrice) void
setRuntimeInfo
(String runtimeInfo) void
setServer
(ComputeServer server) void
setServiceId
(String serviceId) void
setServiceUrls
(String serviceUrls) void
void
setSpecType
(String specType) void
setStatsEnabled
(Boolean statsEnabled) void
setStatus
(Workload.Status status) void
setStatusMessage
(String statusMessage) void
setSubnet
(NetworkSubnet subnet) void
setUniqueId
(String uniqueId) void
setUsedCpu
(Float usedCpu) void
setUsedMemory
(Long usedMemory) void
setUsedStorage
(Long usedStorage) void
setUserData
(String userData) void
setUserStatus
(String userStatus) void
void
setVolumeCreated
(Boolean volumeCreated) void
setWorkloadType
(WorkloadType workloadType) void
setWorkloadTypeSet
(WorkloadTypeSet workloadTypeSet) Methods inherited from class com.morpheusdata.model.projection.WorkloadIdentityProjection
getExternalId, getServerId, setExternalId, setServerId
Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigProperty, setId
-
Field Details
-
account
-
uuid
-
privateNetworking
-
userData
-
internalName
-
displayName
-
category
-
apiKey
-
dateCreated
-
lastUpdated
-
statsEnabled
-
status
-
statusMessage
-
errorMessage
-
userStatus
-
environmentPrefix
-
lastStats
-
configs
-
rawData
-
runtimeInfo
-
containerVersion
-
repositoryImage
-
planCategory
-
hostname
-
domainName
-
volumeCreated
-
containerCreated
-
maxStorage
-
maxMemory
-
maxCores
-
coresPerSocket
-
maxCpu
-
usedStorage
-
usedMemory
-
usedCpu
-
provisionTime
-
configGroup
-
configId
-
configRole
-
configSettings
-
configTags
-
inventoryExternalRef
-
inventoryServiceId
-
changeManagementExtId
-
changeManagementServiceId
-
internalIp
-
externalIp
-
internalId
-
uniqueId
-
controlId
-
monitorId
-
serviceId
-
deploymentId
-
iacId
-
specType
-
specId
-
resourceLevel
-
hourlyPrice
-
hourlyCost
-
runningMultiplier
-
runningPrice
-
runningCost
-
serviceUrls
-
inService
-
itemSource
-
managed
-
server
-
plan
-
computeZonePool
-
instance
-
network
-
workloadType
-
workloadTypeSet
-
subnet
-
-
Constructor Details
-
Workload
public Workload()
-
-
Method Details
-
getUuid
-
setUuid
-
getServer
-
setServer
-
getPlan
-
setPlan
-
getCloudPool
-
setCloudPool
-
getPrivateNetworking
-
setPrivateNetworking
-
getUserData
-
setUserData
-
getAccount
-
setAccount
-
getInstance
-
setInstance
-
getInternalName
-
setInternalName
-
getDisplayName
-
setDisplayName
-
getCategory
-
setCategory
-
getApiKey
-
setApiKey
-
getDateCreated
-
setDateCreated
-
getLastUpdated
-
setLastUpdated
-
getStatsEnabled
-
setStatsEnabled
-
getStatus
-
setStatus
-
getStatusMessage
-
setStatusMessage
-
getErrorMessage
-
setErrorMessage
-
getUserStatus
-
setUserStatus
-
getEnvironmentPrefix
-
setEnvironmentPrefix
-
getLastStats
-
setLastStats
-
getConfigs
-
setConfigs
-
getConfigMap
- Overrides:
getConfigMap
in classMorpheusModel
-
setConfigMap
public void setConfigMap(Map<String, Object> map) throws com.fasterxml.jackson.core.JsonProcessingException- Overrides:
setConfigMap
in classMorpheusModel
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getRawData
-
setRawData
-
getRuntimeInfo
-
setRuntimeInfo
-
getContainerVersion
-
setContainerVersion
-
getRepositoryImage
-
setRepositoryImage
-
getPlanCategory
-
setPlanCategory
-
getHostname
-
setHostname
-
getDomainName
-
setDomainName
-
getVolumeCreated
-
setVolumeCreated
-
getContainerCreated
-
setContainerCreated
-
getMaxStorage
-
setMaxStorage
-
getMaxMemory
-
setMaxMemory
-
getMaxCores
-
setMaxCores
-
getCoresPerSocket
-
setCoresPerSocket
-
getMaxCpu
-
setMaxCpu
-
getUsedStorage
-
setUsedStorage
-
getUsedMemory
-
setUsedMemory
-
getUsedCpu
-
setUsedCpu
-
getProvisionTime
-
setProvisionTime
-
getNetwork
-
setNetwork
-
getWorkloadType
-
setWorkloadType
-
getWorkloadTypeSet
-
setWorkloadTypeSet
-
getConfigGroup
-
setConfigGroup
-
getConfigId
-
setConfigId
-
getConfigRole
-
setConfigRole
-
getConfigSettings
-
setConfigSettings
-
getConfigTags
-
setConfigTags
-
getInventoryExternalRef
-
setInventoryExternalRef
-
getInventoryServiceId
-
setInventoryServiceId
-
getChangeManagementExtId
-
setChangeManagementExtId
-
getChangeManagementServiceId
-
setChangeManagementServiceId
-
getInternalIp
-
setInternalIp
-
getExternalIp
-
setExternalIp
-
getInternalId
-
setInternalId
-
getUniqueId
-
setUniqueId
-
getControlId
-
setControlId
-
getMonitorId
-
setMonitorId
-
getServiceId
-
setServiceId
-
getDeploymentId
-
setDeploymentId
-
getIacId
-
setIacId
-
getSpecType
-
setSpecType
-
getSpecId
-
setSpecId
-
getResourceLevel
-
setResourceLevel
-
getHourlyPrice
-
setHourlyPrice
-
getHourlyCost
-
setHourlyCost
-
getRunningMultiplier
-
setRunningMultiplier
-
getRunningPrice
-
setRunningPrice
-
getRunningCost
-
setRunningCost
-
getServiceUrls
-
setServiceUrls
-
getInService
-
setInService
-
getItemSource
-
setItemSource
-
getManaged
-
setManaged
-
getSubnet
-
setSubnet
-
getName
-
getComputeZonePool
-
setComputeZonePool
-