There's no "execute" command to do this... When you click on this action, FortiOS edit your load balance and set the 'status' to 'active' or 'disable':
config firewall vip edit "vip_LoadBalance-Test" config realservers edit 2 set status disable end end
like you suggest in your previously answer, could you write Garceful Start\Stop Load Balance CLI command for this kind of configuration? (my config shown below):
edit "NLB-TEST_HTTPS"set uuid 01vvv30c-311d-51e5-f8ad-53270fa88375set comment "Test NLB (443)"set type server-load-balanceset extip 1.2.1.1set extintf "port1"set server-type httpsset http-ip-header enableset monitor "LB_HealthCheck_Port_443_Monitor" "LB_HealthCheck_Ping"set persistence http-cookieset extport 443 config realservers edit 1 set ip 192.168.0.70 set port 443 next edit 2 set ip 192.168.0.71 set port 443 next endset ssl-mode fullset ssl-certificate "WILDCARD"next