Remove a node from a backend pool using the adminState property ?

XavierM 51 Reputation points
2023-01-03T21:51:51.133+00:00

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 !

Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
416 questions
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 24,231 Reputation points Microsoft Employee
    2023-01-04T22:39:01.353+00:00

    @XavierM ,

    Thank you for your patience here I got a response back from the team. Currently the functionality LoadBalancerBackendAddressAdminState is in private preview which explains the unusual behavior observed by you. Currently we do not have an ETA to share on when this functionality will be Globally Available. I do understand the REST API doc does not provide information regarding the private preview; I will work with the team internally to add a note regarding this to the documentation.

    Please let me know if you have any questions. Thank you!


0 additional answers

Sort by: Most helpful