Hello !
I'm searching for a way to remove temporary a VM/Node from an Azure Load Balancer backend pool, for deployment purposes mostly. My searches lead me to the adminState
property defined on the loadBalancerBackendAddress
object. According to the docs this could do what I need:
A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.
From what I understand, I could set the value of this property to Down
for a specific node to remove it from the pool, and later set it back to None
to put it back.
I have found references to this property in the documentation of the Azure REST API and the Azure template reference, but have not achieved to use it yet.
Even if I managed to get 200 responses from the REST API or successful deployments, it doesn't change regarding the availability of the node in the pool, the traffic is always sent and I can't get the VM out of the pool...
As anyone already used this property for this purpose ? I'm wondering if it's intended for that or if I have misunderstood something... I can provide some more details if needed.
Many thanks !