Added PortMappings to VmAgentInfo so that VmAgent can send vmStartupScript ports to ControlPlane in its heartbeats.
PortMapping is the same class that SessionHostInfo uses to start its ports--it has an external port, an internal port, the user-specified name, and the protocol (tcp/udp).
I named the field "PortMappings", which is also the same name that SessionHostInfo uses. It should be fine since they are nested at different levels. A VmAgent heartbeat will look like this (with all the other fields removed):
Added PortMappings to VmAgentInfo so that VmAgent can send vmStartupScript ports to ControlPlane in its heartbeats.
PortMapping
is the same class that SessionHostInfo uses to start its ports--it has an external port, an internal port, the user-specified name, and the protocol (tcp/udp).I named the field "PortMappings", which is also the same name that SessionHostInfo uses. It should be fine since they are nested at different levels. A VmAgent heartbeat will look like this (with all the other fields removed):