fix listEndpoints method - get all VM and find the providerVirtualMachineIds for the vms with same public DNS address