Package com.morpheusdata.model
Class SecurityGroupLocation
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.SecurityGroupLocationIdentityProjection
com.morpheusdata.model.SecurityGroupLocation
Represents a SecurityGroup for a specific location (usually a Cloud as referenced by the
refId and refType). Typical Cloud sync logic will compare the Cloud's security group information
with the Morpheus SecurityGroupLocations as obtained when refId == cloud.id and refType == 'ComputeZone'.
If a match is not found, a new SecurityGroup and SecurityGroupLocation is, typically, created.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Network
protected NetworkServer
protected Integer
protected String
protected String
protected Long
protected String
protected String
protected String
protected String
protected String
protected NetworkSecurityServer
protected SecurityGroupLocation.Status
protected Long
protected String
protected String
protected String
protected CloudPool
Fields inherited from class com.morpheusdata.model.projection.SecurityGroupLocationIdentityProjection
category, externalId, name, securityGroup
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getIacId()
getRefId()
void
void
setDefaultLocation
(Boolean defaultLocation) void
setDescription
(String description) void
setExternalType
(String externalType) void
setGroupLayer
(String groupLayer) void
setGroupName
(String groupName) void
setGroupRegion
(String groupRegion) void
setGroupSource
(String groupSource) void
void
setInternalId
(String internalId) void
setNetwork
(Network network) void
setNetworkServer
(NetworkServer networkServer) void
setPriority
(Integer priority) void
setProviderId
(String providerId) void
setRawData
(String rawData) void
void
setRefType
(String refType) void
setRegionCode
(String regionCode) void
setRuleHash
(String ruleHash) void
setScopeId
(String scopeId) void
setScopeModel
(String scopeModel) void
setSecurityServer
(NetworkSecurityServer securityServer) void
void
setSubRefId
(Long subRefId) void
setSubRefType
(String subRefType) void
setUniqueId
(String uniqueId) void
setVisibility
(String visibility) void
setZonePool
(CloudPool zonePool) Methods inherited from class com.morpheusdata.model.projection.SecurityGroupLocationIdentityProjection
getCategory, getExternalId, getName, getSecurityGroup, setCategory, setExternalId, setName, setSecurityGroup
Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
code
-
groupName
-
groupRegion
-
groupSource
-
description
-
externalType
-
ruleHash
-
visibility
-
status
-
defaultLocation
-
securityServer
-
zonePool
-
networkServer
-
network
-
internalId
-
refType
-
refId
-
subRefType
-
subRefId
-
iacId
-
uniqueId
-
providerId
-
scopeId
-
scopeModel
-
rawData
-
priority
-
groupLayer
-
regionCode
-
-
Constructor Details
-
SecurityGroupLocation
public SecurityGroupLocation()
-
-
Method Details
-
getCode
-
setCode
-
getGroupName
-
setGroupName
-
getGroupRegion
-
setGroupRegion
-
getGroupSource
-
setGroupSource
-
getDescription
-
setDescription
-
getExternalType
-
setExternalType
-
getRuleHash
-
setRuleHash
-
getVisibility
-
setVisibility
-
getStatus
-
setStatus
-
getDefaultLocation
-
setDefaultLocation
-
getSecurityServer
-
setSecurityServer
-
getZonePool
-
setZonePool
-
getNetworkServer
-
setNetworkServer
-
getNetwork
-
setNetwork
-
getInternalId
-
setInternalId
-
getRefType
-
setRefType
-
getRefId
- Overrides:
getRefId
in classSecurityGroupLocationIdentityProjection
-
setRefId
- Overrides:
setRefId
in classSecurityGroupLocationIdentityProjection
-
getSubRefType
-
setSubRefType
-
getSubRefId
-
setSubRefId
-
getIacId
-
setIacId
-
getUniqueId
-
setUniqueId
-
getProviderId
-
setProviderId
-
getScopeId
-
setScopeId
-
getScopeModel
-
setScopeModel
-
getRawData
-
setRawData
-
getPriority
-
setPriority
-
getGroupLayer
-
setGroupLayer
-
getRegionCode
-
setRegionCode
-