Package com.morpheusdata.model
Class NetworkProxy
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.NetworkProxy
- All Implemented Interfaces:
Serializable
Proxies can be associated with networks for assignment during provisioning or for use when interacting with various
public cloud APIS (called provisioning proxies). They can be set on the
Network or in some cases the Cloud- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Accountprotected StringThe displayable name given to the proxy configuration being referencedprotected StringUsed for specifying a list of hosts that should not be proxied.protected Accountprotected StringSome proxies have to be authenticated via KERBEROS and therefore need to reference the windows Domain.protected StringThe Host IP of the proxy server being utilizedprotected StringPassword used to authenticate with the proxy server, if applicableprotected IntegerThe configured proxy port, this is typically related to SOCKS compliant Proxiesprotected StringUsername used to authenticate with the proxy server, if applicableprotected StringUsed for authenticating with Windows specific Proxy servers.protected StringFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the displayable name given to the proxy configuration being referenced.Gets the list of hosts that should not be proxied.getOwner()Gets the proxy domain used for proxy authentication typically with KERBEROS or Windows Domain related Proxy Servers.Fetches the Host IP of the proxy server being utilized.Gets the Password used to authenticate with the proxy server, if applicableGets the configured proxy port, this is typically related to SOCKS compliant Proxies.Gets the Username used to authenticate with the proxy server, if applicableGets the proxy workstation used for proxy authentication.voidsetAccount(Account account) voidSets the displayable name given to the proxy configuration being referenced.voidsetNoProxy(String noProxy) Sets the list of hosts that should not be proxied.voidvoidsetProxyDomain(String proxyDomain) Sets the proxy domain used for proxy authentication typically with KERBEROS or Windows Domain related Proxy Servers.voidsetProxyHost(String proxyHost) Sets the Host IP of the proxy server being utilized.voidsetProxyPassword(String proxyPassword) Sets the Password used to authenticate with the proxy server, if applicablevoidsetProxyPort(Integer proxyPort) Sets the configured proxy port, this is typically related to SOCKS compliant Proxies.voidsetProxyUser(String proxyUser) Sets the Username used to authenticate with the proxy server, if applicablevoidsetProxyWorkstation(String proxyWorkstation) Sets the proxy workstation used for proxy authentication.voidsetVisibility(String visibility) 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
-
name
The displayable name given to the proxy configuration being referenced -
proxyHost
The Host IP of the proxy server being utilized -
proxyPort
The configured proxy port, this is typically related to SOCKS compliant Proxies -
proxyUser
Username used to authenticate with the proxy server, if applicable -
proxyPassword
Password used to authenticate with the proxy server, if applicable -
proxyDomain
Some proxies have to be authenticated via KERBEROS and therefore need to reference the windows Domain. This field is optional and allows that to be specified -
noProxy
Used for specifying a list of hosts that should not be proxied. -
proxyWorkstation
Used for authenticating with Windows specific Proxy servers. (optional) -
visibility
-
owner
-
account
-
-
Constructor Details
-
NetworkProxy
public NetworkProxy()
-
-
Method Details
-
getName
Gets the displayable name given to the proxy configuration being referenced.- Returns:
- the display name for the current proxy record
-
setName
Sets the displayable name given to the proxy configuration being referenced.- Parameters:
name- the display name for the current proxy record
-
getProxyHost
Fetches the Host IP of the proxy server being utilized.- Returns:
- IP Address or host resolvable dns of proxy server
-
setProxyHost
Sets the Host IP of the proxy server being utilized.- Parameters:
proxyHost- proxy host
-
getProxyPort
Gets the configured proxy port, this is typically related to SOCKS compliant Proxies.- Returns:
- the port address of the proxy server being utilized
-
setProxyPort
Sets the configured proxy port, this is typically related to SOCKS compliant Proxies.- Parameters:
proxyPort- numerical tcp/ip Port of the proxy service
-
getProxyUser
Gets the Username used to authenticate with the proxy server, if applicable- Returns:
- proxyUser String of the username used for authentication
-
setProxyUser
Sets the Username used to authenticate with the proxy server, if applicable- Parameters:
proxyUser- String of the username used for authentication
-
getProxyPassword
Gets the Password used to authenticate with the proxy server, if applicable- Returns:
- proxyPassword the password that is used for password authentication with the proxy
-
setProxyPassword
Sets the Password used to authenticate with the proxy server, if applicable- Parameters:
proxyPassword- the password that is used for password authentication with the proxy
-
getProxyDomain
Gets the proxy domain used for proxy authentication typically with KERBEROS or Windows Domain related Proxy Servers. This prompt is entirely optional and specific to a small subset of proxy servers- Returns:
- the domain we wish to authenticate against for authorization to use this proxy server
-
setProxyDomain
Sets the proxy domain used for proxy authentication typically with KERBEROS or Windows Domain related Proxy Servers. This prompt is entirely optional and specific to a small subset of proxy servers- Parameters:
proxyDomain- the domain we wish to authenticate against for authorization to use this proxy server
-
getNoProxy
Gets the list of hosts that should not be proxied.- Returns:
- the list of hosts that should not be proxied
-
setNoProxy
Sets the list of hosts that should not be proxied.- Parameters:
noProxy- the list of hosts that should not be proxied
-
getProxyWorkstation
Gets the proxy workstation used for proxy authentication. Also related to windows based proxy server authentication.- Returns:
- the workstation property used for some types of windows proxy authentication schemes
-
setProxyWorkstation
Sets the proxy workstation used for proxy authentication. Also related to windows based proxy server authentication.- Parameters:
proxyWorkstation- the workstation property used for some types of windows proxy authentication schemes
-
getVisibility
-
setVisibility
-
getOwner
-
setOwner
-
getAccount
-
setAccount
-