paraameterising the looad balancer for backend pool in the azure
We have load balancer
Need to Add an option called -updateLoadBalancer which can be used to add or remove servers from the load balancer backend pool
the command line
-updateLoadBalancer remove -serverType PPWeb - serverSet Primary
should add a step to the plan that would remove the primary servers from the pp web load balancer.
if that command line is run with the -apply command, then the plan would be executed and the servers would be removed from the load balancer.
the command line
-updateLoadBalancer add -serverType PayerpathWeb - serverSet Primary
should add a step to the plan that would add the primary servers to the pp web load balancer.
if that command line is run with the -apply command, then the plan would be executed and the servers would be added to the load balancer.
-updateLoadBalancer remove -serverType PPWeb - serverSet Primary
-updateLoadBalancer add -serverType PPWeb - serverSet Primary
load balancer details is dynamic, it can be from ppweb ,ppdb based on the parameters
Please suggest how we can achieve this. Thank you.