According to the source code on github, the connect action adds loadBalancerBackendAddressPools porperty (The reference to LoadBalancerBackendAddressPool resource). It is actually set by calling Network Interfaces-Create Or Update rest api.
if (action == "Connect") {
taskinternal._writeLine(tl.loc("ConnectingVMtoLB", loadBalancerName));
var lb = await nlbUtility.getLoadBalancer(SPN, endpointUrl, loadBalancerName, resourceGroupName);
nicLbBackendPoolConfig = lb.properties.backendAddressPools;
}
else {
taskinternal._writeLine(tl.loc("DisconnectingVMfromLB", loadBalancerName));
}
nicVm.properties.ipConfigurations[0].properties['loadBalancerBackendAddressPools'] = nicLbBackendPoolConfig;
var setNIStatus = await nlbUtility.setNetworkInterface(SPN, endpointUrl, nicVm, resourceGroupName);