use of com.microsoft.azure.management.network.implementation.BackendAddressPoolInner in project photon-model by vmware.
the class AzureLoadBalancerService method buildBackendPools.
/**
* Build Azure backend pool model
* We create one backend pool and add all VMs to that pool
*
* @param context Azure load balancer context
* @return List of backend pools
*/
private List<BackendAddressPoolInner> buildBackendPools(AzureLoadBalancerContext context) {
BackendAddressPoolInner backendAddressPoolInner = new BackendAddressPoolInner();
backendAddressPoolInner.withName(String.format("%s-backend-pool", context.loadBalancerStateExpanded.name));
return Lists.newArrayList(backendAddressPoolInner);
}
Aggregations