_propDict)) { return $this->_propDict["defaultHealthyThreshold"]; } else { return null; } } /** * Sets the defaultHealthyThreshold * The threshold for being healthy based on default health status metrics: CPU usage healthy < 50%, Memory usage healthy < 50%, Disk space healthy > 5GB, Latency healthy < 10ms, health metrics can be customized. Read-only. * * @param int $val The defaultHealthyThreshold * * @return MicrosoftTunnelHealthThreshold */ public function setDefaultHealthyThreshold($val) { $this->_propDict["defaultHealthyThreshold"] = intval($val); return $this; } /** * Gets the defaultUnhealthyThreshold * The threshold for being unhealthy based on default health status metrics: CPU usage unhealthy > 75%, Memory usage unhealthy > 75%, Disk space < 3GB, Latency unhealthy > 20ms, health metrics can be customized. Read-only. * * @return int|null The defaultUnhealthyThreshold */ public function getDefaultUnhealthyThreshold() { if (array_key_exists("defaultUnhealthyThreshold", $this->_propDict)) { return $this->_propDict["defaultUnhealthyThreshold"]; } else { return null; } } /** * Sets the defaultUnhealthyThreshold * The threshold for being unhealthy based on default health status metrics: CPU usage unhealthy > 75%, Memory usage unhealthy > 75%, Disk space < 3GB, Latency unhealthy > 20ms, health metrics can be customized. Read-only. * * @param int $val The defaultUnhealthyThreshold * * @return MicrosoftTunnelHealthThreshold */ public function setDefaultUnhealthyThreshold($val) { $this->_propDict["defaultUnhealthyThreshold"] = intval($val); return $this; } /** * Gets the healthyThreshold * The threshold for being healthy based on default health status metrics: CPU usage healthy < 50%, Memory usage healthy < 50%, Disk space healthy > 5GB, Latency healthy < 10ms, health metrics can be customized. * * @return int|null The healthyThreshold */ public function getHealthyThreshold() { if (array_key_exists("healthyThreshold", $this->_propDict)) { return $this->_propDict["healthyThreshold"]; } else { return null; } } /** * Sets the healthyThreshold * The threshold for being healthy based on default health status metrics: CPU usage healthy < 50%, Memory usage healthy < 50%, Disk space healthy > 5GB, Latency healthy < 10ms, health metrics can be customized. * * @param int $val The healthyThreshold * * @return MicrosoftTunnelHealthThreshold */ public function setHealthyThreshold($val) { $this->_propDict["healthyThreshold"] = intval($val); return $this; } /** * Gets the unhealthyThreshold * The threshold for being unhealthy based on default health status metrics: CPU usage unhealthy > 75%, Memory usage unhealthy > 75%, Disk space < 3GB, Latency Unhealthy > 20ms, health metrics can be customized. * * @return int|null The unhealthyThreshold */ public function getUnhealthyThreshold() { if (array_key_exists("unhealthyThreshold", $this->_propDict)) { return $this->_propDict["unhealthyThreshold"]; } else { return null; } } /** * Sets the unhealthyThreshold * The threshold for being unhealthy based on default health status metrics: CPU usage unhealthy > 75%, Memory usage unhealthy > 75%, Disk space < 3GB, Latency Unhealthy > 20ms, health metrics can be customized. * * @param int $val The unhealthyThreshold * * @return MicrosoftTunnelHealthThreshold */ public function setUnhealthyThreshold($val) { $this->_propDict["unhealthyThreshold"] = intval($val); return $this; } }