I want to get public IP address name from Load balancer Frontend IP configuration .
Below is my code but its giving me Frontend IP configuration name but i want attached public ip address name .
In attached image i marked public name .
IAzure _azureClient = await GetAzureClient(requestObject);
var azureLoadBalancersInfo = await _azureClient.LoadBalancers.GetByIdAsync(id);
if (azureLoadBalancersInfo != null)
{
var azureFrontends = azureLoadBalancersInfo.Frontends.Values;
foreach (var azureFrontend in azureFrontends)
{
azureFrontEndList.Add(azureFrontend.Name);
}
}![47986-lbpublicip.png][1]